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

/* CSS Variables */
@import url("root.css");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: var(--background);
    overflow-x: hidden;
    color: var(--text);
    
}
/* =========================================
   NAVBAR HEADER
========================================= */

.site-header {

    position: fixed;

    top: 20px;
    left: 0;

    width: 100%;

    display: flex;

    justify-content: center;

    z-index: 1000;

    background: transparent;

    box-shadow: none;

    border: none;

}


/* =========================================
   NAVBAR
========================================= */

.site-header .navbar {

    width: min(1300px, 95%);

    height: 72px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 0 20px;

    background: rgba(255, 255, 255, 0.664);

    backdrop-filter: blur(18px);

    border-radius: 60px;

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

    box-shadow:
        0 20px 45px rgba(0,0,0,.25);

}


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

.site-header .logo-container {

    display: flex;

    align-items: center;

    gap: 12px;

    flex-shrink: 0;

}


.site-header .logo-container img {

    width: 52px;

    height: 52px;

    border-radius: 50%;

    background: #fff;

    padding: 6px;

    object-fit: contain;

}


.site-header .logo-container h2 {

    margin: 0;

    color: rgb(0, 59, 70);

    font-family: 'Poppins', sans-serif;

    font-size: 1.2rem;

    font-weight: 700;

    line-height: 1.2;

}


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

.site-header .nav-links {

    display: flex;

    align-items: center;

    gap: 8px;

    margin: 0;

    padding: 0;

    list-style: none;

}


.site-header .nav-links li {

    list-style: none;

    border-radius: 30px;

    transition: .3s ease;

}


.site-header .nav-links li a {

    position: relative;

    display: block;

    padding: 12px 18px;

    color: var(--text);

    font-family: 'Poppins', sans-serif;

    font-size: 14px;

    font-weight: 500;

    line-height: 1.4;

    text-decoration: none;

    transition: all .3s ease;

}


/* =========================================
   ACTIVE PAGE
========================================= */

.site-header .nav-links li.is-active {

    background: var(--primary);

    border-radius: 20px;

}


.site-header .nav-links li.is-active a {

    color: #fff;

}


/* =========================================
   HOVER
========================================= */

.site-header .nav-links li:hover {

    background: var(--primary);

    border-radius: 20px;

    transform: translateY(-2px);

}


.site-header .nav-links li:hover a {

    color: white;

}


/* =========================================
   UNDERLINE
========================================= */

.site-header .nav-links a::after {

    content: '';

    position: absolute;

    width: 0;

    height: 2px;

    left: 50%;

    bottom: 5px;

    background: var(--background);

    transition: .3s;

}


.site-header .nav-links li:hover a::after,
.site-header .nav-links li.is-active a::after {

    width: 60%;

    left: 20%;

}


/* =========================================
   DONATE BUTTON
========================================= */

.site-header .nav-links li:last-child {

    margin-left: 10px;

}


.site-header .nav-links li:last-child a {

    background: var(--accent-light);

    color: var(--text);

    border-radius: 25px;

    padding: 12px 24px;

    font-weight: 600;

}


.site-header .nav-links li:last-child a:hover {

    background: var(--primary);

    color: white;

}


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

.site-header .menu-btn {

    display: none;

    font-family: Arial, sans-serif;

    font-size: 32px;

    line-height: 1;

    cursor: pointer;

    color: var(--primary);

}


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

@media (max-width: 992px) {

    .site-header .logo-container h2 {

        font-size: 1rem;

    }


    .site-header .nav-links {

        gap: 2px;

    }


    .site-header .nav-links li a {

        padding: 8px 12px;

        font-size: .92rem;

    }


    .site-header .logo-container img {

        width: 50px;

        height: 50px;

    }

}


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

@media (max-width: 768px) {

    .site-header .navbar {

        padding: 15px 20px;

    }


    .site-header .menu-btn {

        display: block;

    }


    .site-header .nav-links {

        position: absolute;

        top: 100%;

        left: -110%;

        width: 100%;

        background: rgba(255, 255, 255, 0.664);

        flex-direction: column;

        padding: 25px 0;

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

        transition: .4s ease;

        border-radius: 20px;

    }


    .site-header .nav-links.active {

        left: 0;

    }


    .site-header .nav-links li {

        width: 90%;

        text-align: center;

    }


    .site-header .nav-links li a {

        display: block;

        width: 90%;

        margin: auto;

        padding: 14px;

    }


    .site-header .logo-container h2 {

        font-size: 18px;

    }


    .site-header .logo-container img {

        width: 45px;

        height: 45px;

    }

}


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

@media (max-width: 480px) {

    .site-header .logo-container h2 {

        font-size: 15px;

    }


    .site-header .logo-container img {

        width: 40px;

        height: 40px;

    }


    .site-header .navbar {

        padding: 2px 15px;

        height: 50px;

    }

}