@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");

/*====================================================
RESET
====================================================*/

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

html{
    scroll-behavior:smooth;
    font-size:16px;
}

body{
    font-family:"Poppins",sans-serif;
    background:var(--light);
    color:var(--text);
    overflow-x:hidden;
    line-height:1.7;
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}

body.menu-open{
    overflow:hidden;
}

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

a{
    color:inherit;
    text-decoration:none;
}

ul{
    list-style:none;
}

button,
input,
textarea,
select{
    font:inherit;
}

button{
    border:none;
    background:none;
    cursor:pointer;
}

section{
    padding:100px 8%;
    position:relative;
}

::selection{
    background:var(--primary);
    color:#fff;
}

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

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#edf2f7;
}

::-webkit-scrollbar-thumb{
    background:linear-gradient(
        var(--primary),
        var(--primary-dark)
    );
    border-radius:50px;
}

::-webkit-scrollbar-thumb:hover{
    background:var(--primary-dark);
}

/*====================================================
ROOT VARIABLES
====================================================*/

:root{

    --primary:#f97316;
    --primary-dark:#ea580c;

    --secondary:#111827;

    --light:#f8fafc;

    --white:#ffffff;

    --text:#4b5563;

    --border:#e5e7eb;

    --success:#22c55e;

    --danger:#ef4444;

    --shadow:
        0 15px 35px rgba(0,0,0,.08);

    --shadow-hover:
        0 25px 50px rgba(0,0,0,.15);

    --radius:20px;

    --transition:.35s ease;
}

/*====================================================
CONTAINER
====================================================*/

.container{
    width:min(1280px,100%);
    margin:auto;
}

/*====================================================
HEADER
====================================================*/

#header{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 8%;

    z-index:1000;

    background:rgba(17,24,39,.55);

    backdrop-filter:blur(18px);

    border-bottom:1px solid rgba(255,255,255,.08);

    transition:var(--transition);

}

#header.sticky{

    padding:14px 8%;

    background:#111827;

    box-shadow:0 10px 30px rgba(0,0,0,.25);

}

/*====================================================
LOGO
====================================================*/

.logo a{

    display:flex;

    align-items:center;

    gap:15px;

}

.logo img{

    width:60px;

    height:60px;

    border-radius:50%;

    object-fit:cover;

    border:3px solid var(--primary);

    box-shadow:0 10px 25px rgba(249,115,22,.35);

}

.logo h2{

    color:#fff;

    font-size:30px;

    font-weight:700;

}

.logo span{

    color:var(--primary);

}

/*====================================================
DESKTOP NAVIGATION
====================================================*/

#navbar ul{

    display:flex;

    gap:38px;

    align-items:center;

}

#navbar ul li a{

    position:relative;

    color:#fff;

    font-weight:600;

    transition:var(--transition);

}

#navbar ul li a:hover,

#navbar ul li a.active{

    color:var(--primary);

}

#navbar ul li a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:3px;

    border-radius:50px;

    background:var(--primary);

    transition:var(--transition);

}

#navbar ul li a:hover::after,

#navbar ul li a.active::after{

    width:100%;

}

/*====================================================
    NAVIGATION BUTTON
====================================================*/

.nav-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:14px 30px;
    border-radius:50px;
    background:linear-gradient(
        135deg,
        var(--primary),
        #fb923c
    );
    color:#fff;
    font-weight:600;
    transition:var(--transition);
    box-shadow:0 12px 25px rgba(249,115,22,.30);
}

.nav-btn:hover{
    transform:translateY(-4px);
    box-shadow:0 20px 35px rgba(249,115,22,.40);
}

/*====================================================
    MOBILE MENU BUTTON
====================================================*/

#menu-btn{
    display:none;
    align-items:center;
    justify-content:center;
    width:50px;
    height:50px;
    border:none;
    border-radius:12px;
    background:rgba(255,255,255,.08);
    color:#fff;
    font-size:28px;
    cursor:pointer;
    transition:var(--transition);
    z-index:1200;
}

#menu-btn:hover{
    background:rgba(255,255,255,.15);
    color:var(--primary);
}

#menu-btn:focus-visible{
    outline:2px solid var(--primary);
    outline-offset:3px;
}

/*====================================================
    MOBILE MENU OVERLAY
====================================================*/

.menu-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);
    backdrop-filter:blur(3px);
    opacity:0;
    visibility:hidden;
    transition:.35s;
    z-index:1090;
}

.menu-overlay.active{
    opacity:1;
    visibility:visible;
}

/*====================================================
    MOBILE NAVIGATION
====================================================*/

@media(max-width:992px){

#menu-btn{
    display:flex;
}

.nav-btn{
    display:none;
}

#navbar{

    position:fixed;

    top:0;
    right:-100%;

    width:320px;
    max-width:85%;

    height:100vh;

    padding:110px 35px 40px;

    background:rgba(17,24,39,.98);

    backdrop-filter:blur(20px);

    transition:.4s ease;

    z-index:1100;

    overflow-y:auto;

}

#navbar.active{
    right:0;
}

#navbar ul{
    display:flex;
    flex-direction:column;
    gap:10px;
}

#navbar ul li{
    width:100%;
}

#navbar ul li a{

    display:flex;
    align-items:center;

    width:100%;

    padding:16px 20px;

    border-radius:14px;

    color:#fff;

    font-size:17px;

    font-weight:600;

    transition:var(--transition);

}

#navbar ul li a::after{
    display:none;
}

#navbar ul li a:hover,
#navbar ul li a.active{

    background:rgba(249,115,22,.12);

    color:var(--primary);

}

}

/*====================================================
    TABLET
====================================================*/

@media(max-width:768px){

section{
    padding:80px 5%;
}

#header{
    padding:16px 5%;
}

#header.sticky{
    padding:14px 5%;
}

.logo img{
    width:48px;
    height:48px;
}

.logo h2{
    font-size:24px;
}

}

/*====================================================
    MOBILE
====================================================*/

@media(max-width:576px){

section{
    padding:70px 5%;
}

#navbar{
    width:100%;
    max-width:100%;
}

.logo img{
    width:44px;
    height:44px;
}

.logo h2{
    font-size:22px;
}

}

/*====================================================
    GLOBAL ANIMATIONS
====================================================*/

.fade-up{
    animation:fadeUp .8s ease both;
}

.fade-down{
    animation:fadeDown .8s ease both;
}

@keyframes fadeUp{

from{
    opacity:0;
    transform:translateY(35px);
}

to{
    opacity:1;
    transform:translateY(0);
}

}

@keyframes fadeDown{

from{
    opacity:0;
    transform:translateY(-30px);
}

to{
    opacity:1;
    transform:translateY(0);
}

}

/*====================================================
    REVEAL ANIMATION
====================================================*/

.reveal{
    opacity:0;
    transform:translateY(40px);
    transition:
        opacity .7s ease,
        transform .7s ease;
}

.reveal.active{
    opacity:1;
    transform:translateY(0);
}

/*====================================================
    IMAGE FADE-IN
====================================================*/

img{
    opacity:0;
    transition:opacity .6s ease;
}

img.loaded{
    opacity:1;
}

/*====================================================
    UTILITY CLASSES
====================================================*/

.text-center{
    text-align:center;
}

.w-100{
    width:100%;
}

.hidden{
    display:none !important;
}

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

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