.services-single, .projects-single{
    margin-top: 93px;
    padding: 100px 0px;
} 

.services-single h1, .projects-single h1{
    font-size:52px;
}

.services-single .stats, .projects-single .stats{
    grid-template-columns: repeat(auto-fill, 350px);
}

.stats .stat{
    background: #05060da8;
}

.services-single h1 span, .projects-single h1 span{
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-single img, 
.competencies img,
.projects-single img{
    position: absolute;
    right: 0;
    top: 0;
    width: 100vw;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.services-single .upper-text,
.projects-single .upper-text{
    text-transform: uppercase;
    color: #8b73ff;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.services-single .lover-text,
.projects-single .lover-text{
    color: #a4a8c1;
    font-size: 18px;
    max-width: 500px;
    line-height: 1.4;
    margin-top: 10px;
}

.stats .stat {
    border: 1px solid #1a1052;
    display: flex;
    align-items: center;
    gap: 20px;
}

.circle{
    border-radius: 18px;
    min-width: 60px;
    width: 60px;
    padding: 0 !important;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0e0a34 !important;
}

.circle svg{
    fill: #a57dff;
}

.services-all {
    position: relative;
    padding: 120px 0;
    background: #03071c;
    overflow: hidden;
}

.services-all::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 0%,
            rgba(95, 45, 255, .25),
            transparent 50%);
    pointer-events: none;
}

.services-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.services-top h2{
    color: #fff;
    font-size: 56px;
    font-weight: 700;
}

.services-top p {
    max-width: 420px;
    color: rgba(255,255,255,.6);
    line-height: 1.7;
}

.services-grid, .competencies-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 24px;
}

.service-card, .competencies-card{
    position:relative;

    padding:30px;

    border-radius:20px;

    background:
        linear-gradient(
            180deg,
            rgba(10,15,55,.85) 0%,
            rgba(4,8,28,.95) 100%
        );

    border:1px solid rgba(99,102,241,.18);

    overflow:hidden;

    transition:.35s;
}

.service-card::before, .competencies-card::before{
    content:"";
    position:absolute;
    inset:0;

    background:
        radial-gradient(
            circle at top,
            rgba(110,70,255,.12),
            transparent 60%
        );

    pointer-events:none;
}

.service-card:hover, .competencies-card:hover{
    border-color:rgba(138,92,246,.45);

    box-shadow:
        0 0 40px rgba(91,66,255,.18);

    transform:translateY(-5px);
}

.service-icon, .competencies-icon{
    width:52px;
    height:52px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:16px;

    background:
        linear-gradient(
            135deg,
            rgba(106,70,255,.45) 0%,
            rgba(76,40,190,.25) 100%
        );

    border:1px solid rgba(140,110,255,.25);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        inset 0 -8px 20px rgba(0,0,0,.25),
        0 0 20px rgba(107,70,255,.20);

    position:relative;
}

.service-icon::after, .competencies-icon::after{
    content:"";
    position:absolute;
    inset:0;

    border-radius:inherit;

    background-image:
        radial-gradient(
            rgba(255,255,255,.05) 1px,
            transparent 1px
        );

    background-size:4px 4px;

    opacity:.3;
}

.service-icon svg, .competencies-icon svg{
    width:32px;
    height:32px;
    fill:#a57dff;
    /* stroke:#8f6bff; */
    stroke-width:2;

    filter:
        drop-shadow(0 0 4px rgba(143,107,255,.4));
}

.service-card h3, .competencies-card h3{
    color: #fff;
    font-size: 21px;
    margin-top: 16px;
    margin-bottom: 16px;
    font-family: 'Inter';
}

.service-card p, .competencies-card p{
    color: rgba(255,255,255,.65);
    line-height: 1.4;
    font-size: 15px;
}

.service-card span{
    display: block;
    position: absolute;
    right: 32px;
    bottom: 32px;

    color: #9d7cff;
    font-size: 24px;

    transition: .3s;
}

.service-card:hover span, .competencies-card:hover span{
    transform: translateX(8px);
}

.competencies{
    position:relative;
    padding:120px 0;
}

.competencies h2 {
    color: #fff;
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 30px;
}

.service-icon, .competencies-icon {
    width: 80px;
    height: 80px;
}

.competencies-card ul{
    margin-left: 20px;
}

.competencies-card li {
    color: rgba(255, 255, 255, .65);
    line-height: 1.4;
    font-size: 15px;
    margin-bottom: 10px;
}

.competencies-icon svg {
    width: 52px;
    height: 52px;
}

.icon-box {
    width: 85px;
    height: 85px;

    position: relative;

    border-radius: 18px;

    background: linear-gradient(
        180deg,
        rgba(18, 12, 55, .95),
        rgba(10, 8, 35, .95)
    );

    box-shadow:
        0 0 25px rgba(125, 65, 255, .35);
}

.icon-box::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;

    border: 1px solid rgba(120, 70, 255, .25);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.45),
        inset 1px 0 0 rgba(255,255,255,.25),
        inset 0 0 12px rgba(130,80,255,.35);
}

.icon-box::after {
    content: "";
    position: absolute;
    inset: -1px;

    border-radius: inherit;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.7),
            rgba(180,120,255,.5) 30%,
            transparent 70%
        );

    filter: blur(8px);
    opacity: .5;

    z-index: -1;
}

.competencies-bg {
    position: absolute;
    top: -8%;
    left: 0;

    width: 100%;
    height: 115%;

    object-fit: cover;

    will-change: transform;
    transform: translate3d(0, 0, 0) scale(1.08);

    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.competencies-card span{
    color: #9d7cff;
    font-weight: 700;
}

.contact{
    background: #05060D;
}

@media (max-width: 1300px) {
    .competencies-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 768px) {

    .services-top {
        flex-direction: column;
    }

    .services-top h2, .competencies h2{
        font-size: 42px;
        line-height: 1;
    }

    .services-grid, .competencies-grid {
        grid-template-columns: 1fr;
    }

    .services-single img, .competencies img {
        object-position: right;
    }
}

@media (max-width: 468px) {
    .services-single .stats{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 368px) {
    .stats strong {
        font-size: 31px;
    }
    .stats .stat {
        padding: 20px;
    }
}


