*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    font-family: "Montserrat", sans-serif;
    height: 100%;
    width: 100%;
}

/* ============== Header ============ */
header {
    background: var(--primary);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    height: 80px;
    display: flex;
    padding: 5px 20px;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    width: 40%;
}
.logo{
    display: flex;
    padding: 0 10px 0 0;
}
.logo img {
    width: 50px;
    border-radius: 50%;
}
.brand h1 {
    font-size: 24px;
    font-weight: 500;
    margin: 0;
    color: var(--secondary);
}
.brand h4 {
    font-size: 15px;
    color: var(--light);
    margin: 0;
    font-weight: 100;
}


.navigation {
    width: 60%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.navigation nav {
    height: 50px;
    display: flex;
    justify-content: flex-end;
    padding: 5px 0px;
}
.navigation a {
    text-decoration: none;
    color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 85px;
    font-size: 14px;
    font-weight: 400;
    transition: all ease 0.6s;
}
.navigation a:hover {
    background: var(--secondary);
    color: var(--dark);
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
}

/* --== Mobile Menu Toggle ==-- */
.nav-container {
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: #ffffff39 solid 1px;
    visibility: hidden;
}
.menu-toggle {
    flex-direction: column;
    justify-content: space-around;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    border-radius: 2px;
    background-color: var(--light);
    transition: all 0.3s ease-in-out;
}

/* --- sources->assets/js/hf.js --- */
.mobile-menu-active .bar:nth-child(1) {
    position: absolute;
    width: 20px;
    rotate: -45deg;
    transition: all 0.3s ease-in-out;
}
.mobile-menu-active .bar:nth-child(2) {
    position: absolute;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}
.mobile-menu-active .bar:nth-child(3) {
    position: relative;
    width: 20px;
    rotate: 45deg;
    transition: all 0.3s ease-in-out;
}

/* ===== Scroll Active Header ===== */
.scroll-active header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    height: 70px;
    background: var(--dark);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all ease 0.5s;
}


/* ========---- Footer ----========= */
footer {
    background: #514f4fc5;
    padding: 10px;
}

footer a, footer p{
    text-decoration: none;
    color: var(--light);
    font-weight: 400;
    font-size: 14px;
}

.topfoot{
    padding: 20px 10px 10px 10px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 25px;
}

.footer-card{
    padding: 10px 10px 0px 10px;
}
.footer-card h4{
    font-size: 20px;
    font-weight: 500;
    color: var(--light);
}
.footer-card h2{
    font-size: 20px;
    font-weight: 500;
    color: var(--light);
    margin: 5px 0px 0px 0px;
}

.f-brand{
    padding-bottom: 10px;
}
.f-brand img{
    width: 50px;
    border-radius: 50%;
}

.links{
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px 0px;
}
.links a{
    display: flex;
    align-items: center;
    gap: 5px;
}
.links a i{
    font-size: 10px;
    transition: all ease 0.2s;
}
.links a:hover i{
    padding: 0 5px;
    rotate: 90deg;
}

.socials{
    display: flex;
    gap: 15px;
    padding: 10px;
}
.socials a {
    font-size: 25px;
    transition: all ease 0.3s;
}
.socials a:hover {
    color: var(--primary);
}

.downfoot{
    border-top: 1px solid #514f4f98;
    padding: 20px 0 10px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.created-by i{
    transition: all ease 0.4s;
}
.created-by:hover i{
    color: var(--danger);
    transform: scale(1.2);
    cursor: pointer;
}

.pop-contact{
    position: fixed;
    bottom: 200px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: var(--success);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all ease 0.4s;
}
.pop-contact i{
    font-size: 45px;
}
.pop-contact:hover{
    transform: scale(1.08);
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-image: linear-gradient(to bottom, var(--success), var(--dark));
}

.scroll-active .pop-contact{
    right: -50px;
    opacity: 0;
    transition: all ease-in-out 0.5s;
}

/*--== Created by Lokography ==--*/

/* --== Tab Design ==-- */
@media (max-width: 1024px) {
  header {
        position: relative;
    }

    .brand {
        width: 80%;
    }

    .logo img {
        width: 50px;
    }
    .brand h1 {
        font-size: 19px;
        font-weight: 500;
    }
    .brand h4 {
        font-size: 12px;
        font-weight: 200;
    }

    /* -- Mobile Menu -- */
    .nav-container{
        visibility: visible;
    }

    .navigation {
        width: 10%;
    }
    .navigation nav{
        position: absolute;
        width: 100%;
        left: 0;
        top: -50px;
        height: 0;
        opacity: 0;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        overflow: hidden;
        transition: all ease 0.8s;
    }
    .mobile-menu-active .navigation nav {
        background: var(--primary);
        position: fixed;
        width: 100%;
        height: 50vh;
        top: 80px;
        right: 0;
        opacity: 0.95;
        border-top: solid 1px #ffffff39;
        padding: 50px 0px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 999;
        transition: all ease 0.8s;
    }
    .mobile-menu-active header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 999;
    }
    .mobile-menu-active main{
        margin-top: 80px;
    }
    .navigation a {
        height: 30px;
    }
    .navigation a:hover {
        font-size: 15px;
    }

    .scroll-active .navigation nav {
        top: 70px;
    }

    /* --== Footer ==-- */
    .pop-contact{
        bottom: 100px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
    .pop-contact i{
        font-size: 40px;
    }
}

/* --== Mobile Design ==-- */
@media (max-width: 768px) {

    header {
        padding: 5px 10px;
        position: relative;
    }

    .brand {
        width: 85%;
    }
    .logo{
        padding: 0 5px 0 0;
    }
    .logo img {
        width: 50px;
    }
    .brand h1 {
        font-size: 18px;
        font-weight: 600;
    }
    .brand h4 {
        font-size: 11px;
        font-weight: 300;
    }


    /* Mobile Menu */
    .nav-container{
        visibility: visible;
    }

    .navigation {
        width: 10%;
    }

    .mobile-menu-active .navigation nav {
        height: 65vh;
        padding: 20px 0px;
    }

    .navigation a {
        height: 40px;
    }
    .navigation a:hover {
        font-size: 15px;
    }

    /* --== Scroll Active ==-- */
    .scroll-active .navigation nav {
        top: 70px;
        transition: all ease 0.5s;
    }
    .scroll-active main{
        margin-top: 70px;
    }

    /* --== Footer ==-- */

    footer a, footer p{
        font-size: 12px;
    }

    .topfoot{
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .footer-card h4{
        font-size: 16px;
        color: var(--light);
    }
    .footer-card h2{
        font-size: 16px;
        color: var(--secondary);
    }

    .links{
        gap: 8px;
    }
    .links a i{
        font-size: 8px;
    }
    .socials a {
        font-size: 20px;
    }

    .downfoot{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
    }
}

/* --- End of code --- */
