/* ======================================================
RESET
====================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:#f6f8fc;
    overflow-x:hidden;
    color:#0f172a;
}

/* ======================================================
VARIABLES
====================================================== */

:root{

    --primary:#2563eb;
    --secondary:#7c3aed;

    --gradient:
    linear-gradient(
    135deg,
    #2563eb,
    #7c3aed
    );

}

/* ======================================================
GLOBAL
====================================================== */

a{
    text-decoration:none;
}

img{
    width:100%;
    display:block;
}

.container{
    width:100%;
    max-width:1724px;
    margin:auto;
    padding:0 40px;
}

/* ======================================================
HEADER
====================================================== */

header{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    z-index:9999;

    background:rgba(255,255,255,0.82);

    backdrop-filter:blur(18px);

    border-bottom:1px solid rgba(0,0,0,0.05);

}

.navbar{

    height:90px;

    display:flex;

    align-items:center;

    justify-content:space-between;

}

.logo{

    font-size:34px;

    font-weight:900;

    color:#0f172a;

}

.logo span{

    color:#2563eb;

}

.nav-links{

    display:flex;

    gap:35px;

}

.nav-links a{

    color:#0f172a;

    font-size:15px;

    font-weight:600;

    position:relative;

}

.nav-links a::after{

    content:'';

    position:absolute;

    left:0;
    bottom:-8px;

    width:0%;

    height:2px;

    background:#2563eb;

    transition:0.4s;

}

.nav-links a:hover::after{

    width:100%;

}

.contact-btn{

    padding:16px 30px;

    border-radius:16px;

    background:var(--gradient);

    color:#fff;

    font-weight:700;

    box-shadow:
    0 15px 40px rgba(37,99,235,0.35);

    transition:0.4s;

}

.contact-btn:hover{

    transform:translateY(-3px);

}














.header-right{
    display:flex;
    align-items:center;
    gap:15px;
}



.theme-toggle{
    width:48px;
    height:48px;
    border:none;
    border-radius:12px;
    cursor:pointer;
    background:var(--card);
    color:var(--text);
    border:1px solid var(--border);
    font-size:18px;
    transition:0.3s;
}

.theme-toggle:hover{
    transform:translateY(-2px);
}

.menu-btn{
    display:none;
    width:45px;
    height:45px;
    border:none;
    background:var(--card);
    border:1px solid var(--border);
    border-radius:10px;
    color:var(--text);
    font-size:20px;
    cursor:pointer;
}












/* =========================
FOOTER
========================= */

footer{
    background:var(--footer);
    border-top:1px solid var(--border);
    padding:80px 0 30px;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1.5fr;
    gap:50px;
    margin-bottom:50px;
}

.footer-logo{
    font-size:32px;
    font-weight:800;
    margin-bottom:20px;
    color:var(--text);
}

.footer-logo span{
    color:var(--primary);
}

.footer-about{
    color:var(--text-light);
    line-height:1.9;
    margin-bottom:25px;
}

.socials{
    display:flex;
    gap:15px;
}

.socials a{
    width:42px;
    height:42px;
    border-radius:50%;
    background:var(--card);
    border:1px solid var(--border);
    color:var(--primary);
    display:flex;
    align-items:center;
    justify-content:center;
}

.footer-links h3{
    margin-bottom:25px;
    color:var(--text);
}

.footer-links ul{
    list-style:none;
}

.footer-links li{
    margin-bottom:14px;
}

.footer-links a{
    color:var(--text-light);
}

.footer-bottom{
    padding-top:30px;
    border-top:1px solid var(--border);
    text-align:center;
    color:var(--text-light);
}

/* =========================
RESPONSIVE
========================= */

@media(max-width:1100px){

    .hero-wrapper{
        grid-template-columns:1fr;
    }

    .service-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .case-grid{
        grid-template-columns:1fr;
    }

    .why-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .footer-grid{
        grid-template-columns:1fr 1fr;
    }

}

@media(max-width:768px){

    .navbar{
        height:auto;
        padding:15px 0;
        flex-wrap:wrap;
    }

    .menu-btn{
        display:block;
    }

    .nav-links{
        width:100%;
        flex-direction:column;
        display:none;
        padding-top:20px;
    }

    .nav-links.active{
        display:flex;
    }

    .header-right{
        margin-left:auto;
    }

    .hero{
        padding-top:50px;
    }

    .hero h1{
        font-size:42px;
    }

    .section-title h2{
        font-size:38px;
    }

    .brand-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .service-grid{
        grid-template-columns:1fr;
    }

    .why-grid{
        grid-template-columns:1fr;
    }

    .cta-box{
        flex-direction:column;
        text-align:center;
    }

    .cta-left{
        flex-direction:column;
    }

    .footer-grid{
        grid-template-columns:1fr;
    }

}