
/* RESET  */

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{

    scroll-behavior:smooth;

}

body{

    font-family:var(--font-body);
    font-size:var(--fs-base);
    font-weight:var(--fw-normal);
    line-height:1.7;

    color:var(--text);

    background:var(--dark);

    overflow-x:hidden;

    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;

}


/* ===========================================================
   SELECTION
=========================================================== */

::selection{

    background:var(--primary);
    color:var(--white);

}


/* ===========================================================
   SCROLLBAR
=========================================================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:var(--dark);

}

::-webkit-scrollbar-thumb{

    background:var(--dark-300);

    border-radius:100px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--primary);

}


/* ===========================================================
   IMAGES
=========================================================== */

img{
    max-width:100%;
    display:block;
}


/* ===========================================================
   LINKS
=========================================================== */

a{
    text-decoration:none;
    color:inherit;
    transition:var(--transition);
}


/* ===========================================================
   LISTS
=========================================================== */

ul,
ol{
    list-style:none;
}


/* ===========================================================
   BUTTONS
=========================================================== */

button{
    border:none;
    background:none;
    cursor:pointer;
    font-family:inherit;
}


/* ===========================================================
   INPUTS
=========================================================== */

input,
textarea,
select{
    font-family:inherit;
    outline:none;
}


/* ===========================================================
   HEADINGS
=========================================================== */

h1,
h2,
h3,
h4,
h5,
h6{

    font-family:var(--font-heading);
    color:var(--heading);
    font-weight:var(--fw-bold);
    line-height:1.2;
}


h1{
    font-size:var(--fs-5xl);
}

h2{
    font-size:var(--fs-4xl);
}

h3{
    font-size:var(--fs-3xl);
}

h4{
    font-size:var(--fs-2xl);
}

h5{
    font-size:var(--fs-xl);
}

h6{
    font-size:var(--fs-lg);
}


/* ===========================================================
   PARAGRAPH
=========================================================== */

p{
    margin-bottom:0;
}


/* ===========================================================
   SECTION
=========================================================== */

section{
    position:relative;
    padding:var(--section-space) 0;
    overflow: hidden;
}

.section-badge {
    /*display: inline-flex;
    padding: .35rem .9rem;
    border-radius:var(--radius-pill);
    background: #eff6ff;
    color: var(--primary);
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 1.2rem;*/

    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .7rem 1rem;
    border-radius: var(--radius-pill);
    background: #eff6ff;
    border: 1px solid var(--border-light);
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.section-header{
    max-width:760px;
    margin:0 auto 70px;
}

.section-title{
    font-size:clamp(2.3rem,4vw,3.5rem);
    font-weight:700;
    line-height:1.2;
    margin-bottom:1rem;
    color:#0f172a;
}

.section-title span{
    color:var(--primary);
}

.section-description{
    color:#64748b;
    font-size:1.05rem;
    line-height:1.8;
}

.section-padding{
    padding:var(--section-space) 0 50px;
}

.section-padding--xl {
    padding:var(--section-space-xl) 0 40px;
}

.section-padding--lg {
    padding:var(--section-space-lg) 0 30px;
}

.section-padding-sm {
    padding:var(--section-space-sm) 0 20px;
}

/* ===========================================================
   FOCUS
=========================================================== */

:focus-visible{
    outline:2px solid var(--primary);
    outline-offset:4px;
}


/* ===========================================================
   UTILITIES
=========================================================== */

.text-primary{
    color:var(--primary)!important;
}

.text-light{
    color:var(--text-light)!important;
}

.bg-dark{
    background:var(--dark);
}

.bg-card{
    background:var(--dark-200);
}

.rounded-xl{
    border-radius:var(--radius-xl);
}

.shadow-md{
    box-shadow:var(--shadow-md);
}

/* PIXELS  */
[data-pix3ls-transition] {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    display:grid;
    grid-template-columns:repeat(12, 1fr);
    grid-template-rows:repeat(8, 1fr);
    z-index:10;
    pointer-events:none;
}

[data-pix3ls-transition] > span {
    display:block;
    width:100%;
    height:100%;
    background:#F8FAFC;
    opacity:0;
    transform:scale(.2);
    transition:
        opacity .35s ease,
        transform .35s cubic-bezier(.22,1,.36,1);
}

[data-pix3ls-transition] > span.active {
    opacity:1;
    transform:scale(1);
}

[data-pix3ls-transition] > span.energy {
    box-shadow:
    0 0 12px rgba(23,92,221,.45);
}

/* Pixel overlay */
.testimonial-left > *:not([data-pix3ls-transition]),
.project-content > *:not([data-pix3ls-transition]) {
    position:relative;
    z-index:1;
}


/* ===========================================================
   RESPONSIVE
=========================================================== */

@media (max-width:991px){

    section{
        padding:var(--section-space-mobile) 0;
    }

    h1{
        font-size:3rem;
    }

    h2{
        font-size:2.3rem;
    }

}

@media (max-width:768px){

    h1{
        font-size:2.5rem;
    }

    h2{
        font-size:2rem;
    }

}