﻿html {
    scroll-behavior: smooth;
}

/* ==========================================
                SERVICES
========================================== */

.services {
    padding: 120px 0; /*there is breathing room above and below.*/
    background: #ffffff;
}


.icon {
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    color: var(--primary);
    background: #EFF6FF;
    border-radius: 18px;
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .icon {
    transform: rotate(-10deg) scale(1.1);
    background: var(--primary);
    color: white;
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
}

    .section-title span {
        color: #2563eb;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

    .section-title h2 {
        font-size: 42px;
        margin: 20px 0;
        color: #0f172a;
    }

    .section-title p {
        color: #64748b;
        line-height: 1.8;
    }

/*  section tittle is What I Build

Software Solutions For Every Business

Every business is unique...

Everything centered.

Maximum width.

Professional spacing.
*/

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 30px;
}

/*This is probably one of the most important CSS rules.□ □ □

□ □ □

instead of

□

□

□*/

/*.service-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    transition: .35s;
    border: 1px solid #e2e8f0;
}*/

.service-card {
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,.35);
    padding: 40px;
    border-radius: 20px;
    transition: .35s;
    border: 1px solid #e2e8f0;
}


    .service-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 5px;
        height: 100%;
        background: linear-gradient(180deg,#2563EB,#60A5FA);
        transform: scaleY(0);
        transform-origin: top;
        transition: .35s;
    }


    /* responsible form blue line input cards*/
    .service-card:hover::before {
        transform: scaleY(1);
    }

    .service-card:hover {
        transform: translateY(-12px);
        box-shadow: var(--shadow-large);
    }

.icon {
    font-size: 45px;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #0f172a;
}

.service-card p {
    color: #64748b;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 60px;
    margin-top: 60px;
}

    .hero-stats h2 {
        color: #2563eb;
        font-size: 40px;
    }

    .hero-stats span {
        color: #64748b;
    }


.section-divider {
    line-height: 0;
}

    .section-divider svg {
        display: block;
        width: 100%;
        height: 90px;
    }