:root {
    --primary: #AF7E15;
    --primary-darkest: #AF7E15;
    --secondary: #022D4D;
    --secondary-darkest: #022D4D;
    --dark: #111111;
    --dark-lightest: #1a1a1a;
    --black: #000000;
    --white: #fff;
    --grey: #666666;
    --grey-lightest: #888888;
    --font-1: "Poppins", sans-serif;
    --font-2: "Poppins", sans-serif;

    --border-color: #f1f1f1;

    --transition: all 0.2s ease;
    --shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    --border-radius: 2px;
    --layer-color: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.9),
        rgba(0, 0, 0, 0.9)
    );
}

* {
    font-family: var(--font-2);
}

/* Utilities (kebutuhan yang berdiri sendiri tanpa section) */
.fab-wa {
    width: 64px;
    height: 64px;
    object-fit: contain;
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99999;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    line-height: normal !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 0;
}

.btn-custom {
    border-radius: var(--border-radius);
    background-color: var(--secondary);
    font-family: var(--font-1);
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    color: var(--white) !important;
    transition: var(--transition);
    padding: 16px 24px;
}

.btn-custom:hover {
    color: var(--white);
    background-color: var(--secondary-darkest);
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
}

.mb-32 {
    margin-bottom: 32px;
}

.header-divider {
    width: 100px;
    height: 4px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 8px;
    background-color: var(--primary);
    border-radius: var(--border-radius);
}

.container-fluid {
    padding-left: 64px !important;
    padding-right: 64px !important;
}

/* End Utilities */

/* Navbar */
.navbar {
    background-color: var(--white) !important;
    transition: var(--transition);
}

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

.navbar-logo {
    width: auto;
    height: 55px;
    object-fit: contain;
    object-position: left;
    margin: 5px ;
}

.nav-item {
    margin-right: 16px !important;
}

.nav-item:last-child {
    margin-right: 0 !important;
}

.nav-item > .nav-link {
    font-family: var(--font-1);
    padding: 0 !important;
    color: var(--grey);
    transition: var(--transition);
    font-weight: 500 !important;
}

.nav-link:hover {
    color: var(--primary);
}
/* End Navbar */

/* Footer */
.footer {
    background-color: var(--dark);
    padding-top: 32px;
    margin-top: 56px;
}

.footer a {
    color: var(--white) !important;
}

.footer-logo {
    width: 100%;
    height: 55px;
    object-fit: contain;
    object-position: left;
    margin-bottom: 16px;
}

.footer-icon {
    width: 20px;
    height: 20px;
    font-size: 20px;
    margin-right: 16px;
    color: var(--white);
}

.footer-btn {
    font-size: 20px;
}

.footer-btn:hover {
    color: var(--black);
    filter: brightness(0.8);
}

.footer-social-item {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.footer-social-item:last-of-type {
    margin-right: 0;
}

.footer-social-container > img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    object-position: center;
}

.footer-copyright {
    background-color: var(--dark);
    padding: 16px 0;
    margin-top: 48px;
}
/* End Footer */

@media (max-width: 767.98px) {
    .header-divider {
        width: 100px;
        height: 4px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 8px;
        background-color: var(--primary);
        border-radius: var(--border-radius);
    }

    /* Utilites */
    .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .header-divider {
        width: 100px;
        height: 4px;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 8px;
        background-color: var(--primary);
        border-radius: var(--border-radius);
    }
    /* End Utilities */

    /* Navbar */
    .navbar {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .nav-item {
        margin-bottom: 16px !important;
    }

    .navbar {
        background: var(--white);
        border-bottom: 1px solid #f1f1f1;
        backdrop-filter: blur(8px);
    }
    /* End Navbar */
}

@media (max-width: 997.98px) {
    /* Utilities */
    #layoutDefault,
    #layoutDefault_footer {
        overflow-x: hidden;
    }
    /* End Utilities */
}

@media (min-width: 768px) and (max-width: 998px) {
    /* Utilities */
    .fab-wa {
        width: 48px;
        height: 48px;
    }

    .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .header-divider {
        width: 100px;
        height: 4px;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 8px;
        background-color: var(--primary);
        border-radius: var(--border-radius);
    }
    /* End Utilities */

    /* Navbar */
    .navbar {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .nav-item {
        margin-bottom: 16px !important;
    }

    .navbar {
        background: var(--white);
        border-bottom: 1px solid #f1f1f1;
        backdrop-filter: blur(8px);
    }
    /* End Navbar */
}
