/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

/* ACCESSIBILITY: FONT SIZE SCALING */
:root[data-font-size="small"] {
    --fs-1: 20px;
    --fs-2: 16px;
    --fs-3: 15px;
    --fs-4: 14px;
    --fs-5: 13px;
    --fs-6: 12px;
    --fs-7: 11px;
    --fs-8: 10px;
}

:root[data-font-size="large"] {
    --fs-1: 28px;
    --fs-2: 24px;
    --fs-3: 20px;
    --fs-4: 18px;
    --fs-5: 17px;
    --fs-6: 16px;
    --fs-7: 15px;
    --fs-8: 14px;
}

/* ACCESSIBILITY: FONT FAMILY OVERRIDES */
:root[data-font-family="inter"] * {
    font-family: "Inter", sans-serif !important;
}

:root[data-font-family="roboto"] * {
    font-family: "Roboto", sans-serif !important;
}

:root[data-font-family="outfit"] * {
    font-family: "Outfit", sans-serif !important;
}

:root[data-font-family="poppins"] * {
    font-family: "Poppins", sans-serif !important;
}

:root {
    /**
   * colors
   */
    /* gradient */

    --bg-gradient-onyx: linear-gradient(
        to bottom right,
        hsl(210, 29%, 20%) 3%,
        hsl(210, 19%, 15%) 97%
    );
    --bg-gradient-jet:
        linear-gradient(
            to bottom right,
            hsla(210, 19%, 25%, 0.251) 0%,
            hsla(210, 19%, 20%, 0) 100%
        ),
        hsl(210, 19%, 25%);
    --bg-gradient-yellow-1: linear-gradient(
        to bottom right,
        hsl(45, 90%, 55%) 0%,
        hsla(36, 90%, 45%, 0) 50%
    );
    --bg-gradient-yellow-2:
        linear-gradient(
            135deg,
            hsla(45, 90%, 55%, 0.251) 0%,
            hsla(35, 90%, 50%, 0) 59.86%
        ),
        hsl(210, 19%, 25%);
    --border-gradient-onyx: linear-gradient(
        to bottom right,
        hsl(210, 19%, 30%) 0%,
        hsla(210, 19%, 25%, 0) 50%
    );
    --text-gradient-yellow: linear-gradient(
        to right,
        hsl(45, 90%, 55%),
        hsl(35, 90%, 50%)
    );

    /* solid */

    --jet: hsl(210, 19%, 25%);
    --onyx: hsl(210, 19%, 20%);
    --eerie-black-1: hsl(210, 19%, 18%);
    --eerie-black-2: hsl(210, 19%, 15%);
    --smoky-black: hsl(210, 19%, 12%);
    --white-1: hsl(0, 0%, 98%);
    --white-2: hsl(0, 0%, 95%);
    --orange-yellow-crayola: hsl(45, 90%, 55%);
    --vegas-gold: hsl(45, 80%, 50%);
    --light-gray: hsl(0, 0%, 80%);
    --light-gray-70: hsla(0, 0%, 80%, 0.7);
    --bittersweet-shimmer: hsl(0, 60%, 45%);

    /**
   * typography
   */

    /* font-family */
    --ff-poppins: "Poppins", sans-serif;

    /* font-size */
    --fs-1: 24px;
    --fs-2: 18px;
    --fs-3: 17px;
    --fs-4: 16px;
    --fs-5: 15px;
    --fs-6: 14px;
    --fs-7: 13px;
    --fs-8: 12px;

    /* font-weight */
    --fw-300: 300;
    --fw-400: 400;
    --fw-500: 500;
    --fw-600: 600;

    /**
   * shadow
   */

    --shadow-1: -4px 8px 24px hsla(0, 0%, 0%, 0.25);
    --shadow-2: 0 16px 30px hsla(0, 0%, 0%, 0.25);
    --shadow-3: 0 16px 40px hsla(0, 0%, 0%, 0.25);
    --shadow-4: 0 25px 50px hsla(0, 0%, 0%, 0.15);
    --shadow-5: 0 24px 80px hsla(0, 0%, 0%, 0.25);

    /**
   * transition
   */

    --transition-1: 0.25s ease;
    --transition-2: 0.5s ease-in-out;
}
/* HIGH CONTRAST MODE OVERRIDES */
body.high-contrast {
    --smoky-black: #000000;
    --eerie-black-1: #000000;
    --eerie-black-2: #000000;
    --onyx: #000000;
    --jet: #ffffff;
    --white-1: #ffffff;
    --white-2: #ffffff;
    --light-gray: #ffffff;
    --light-gray-70: #ffffff;
    --orange-yellow-crayola: #ffff00;
    --vegas-gold: #ffff00;
    --bg-gradient-onyx: #000000;
    --bg-gradient-jet: #000000;
    --border-gradient-onyx: #ffffff;
}

body.high-contrast article,
body.high-contrast .sidebar,
body.high-contrast .navbar,
body.high-contrast .hub-menu {
    border: 2px solid #ffffff !important;
    background: #000000 !important;
    box-shadow: none !important;
}

body.high-contrast .h2,
body.high-contrast .h3,
body.high-contrast .h4,
body.high-contrast .h5,
body.high-contrast p,
body.high-contrast span,
body.high-contrast time,
body.high-contrast ion-icon {
    color: #ffffff !important;
}

body.high-contrast .orange-yellow-crayola,
body.high-contrast .project-category,
body.high-contrast .blog-category {
    color: #ffff00 !important;
}

body.high-contrast .switcher-btn.active,
body.high-contrast .filter-item button.active {
    background: #ffff00 !important;
    color: #000000 !important;
}

body.high-contrast .hub-trigger {
    background: #ffff00 !important;
    color: #000000 !important;
    border: 2px solid #ffffff !important;
}

/* HIDE SCROLLBAR GLOBALLY */
*::-webkit-scrollbar {
    display: none;
}

* {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

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

a {
    text-decoration: none;
}

li {
    list-style: none;
}

img,
ion-icon,
a,
button,
time,
span {
    display: block;
}

button {
    font: inherit;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
}

input,
textarea {
    display: block;
    width: 100%;
    background: none;
    font: inherit;
}

::selection {
    background: var(--orange-yellow-crayola);
    color: var(--smoky-black);
}

:focus {
    outline-color: var(--orange-yellow-crayola);
}

html {
    font-family: var(--ff-poppins);
}

body {
    background: var(--smoky-black);
    padding-bottom: 15px;
}

@media (max-width: 1024px) {
    body {
        padding-bottom: 80px; /* Space for fixed bottom navbar on mobile */
    }

    article {
        margin-bottom: 20px;
    }

    .sidebar.active {
        max-height: 1000px;
    }
}

/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.sidebar,
article {
    background: var(--eerie-black-2);
    border: 1px solid var(--jet);
    border-radius: 20px;
    padding: 15px;
    box-shadow: var(--shadow-1);
    z-index: 1;
}

.separator {
    width: 100%;
    height: 1px;
    background: var(--jet);
    margin: 16px 0;
}

.icon-box {
    position: relative;
    background: var(--border-gradient-onyx);
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: var(--orange-yellow-crayola);
    box-shadow: var(--shadow-1);
    z-index: 1;
}

.icon-box::before {
    content: "";
    position: absolute;
    inset: 1px;
    background: var(--eerie-black-1);
    border-radius: inherit;
    z-index: -1;
}

.icon-box ion-icon {
    --ionicon-stroke-width: 35px;
}

article {
    display: none;
}

article.active {
    display: block;
    animation: fade 0.5s ease backwards;
}

@keyframes fade {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.h2,
.h3,
.h4,
.h5 {
    color: var(--white-2);
    text-transform: capitalize;
}

.h2 {
    font-size: var(--fs-1);
}

.h3 {
    font-size: var(--fs-2);
}

.h4 {
    font-size: var(--fs-4);
}

.h5 {
    font-size: var(--fs-7);
    font-weight: var(--fw-500);
}

.article-title {
    position: relative;
    padding-bottom: 7px;
}

.article-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--text-gradient-yellow);
    border-radius: 3px;
}

.has-scrollbar::-webkit-scrollbar {
    width: 5px; /* for vertical scrollbar */
    height: 5px; /* for horizontal scrollbar */
}

.has-scrollbar::-webkit-scrollbar-track {
    background: var(--onyx);
    border-radius: 5px;
}

.has-scrollbar::-webkit-scrollbar-thumb {
    background: var(--orange-yellow-crayola);
    border-radius: 5px;
}

.has-scrollbar::-webkit-scrollbar-button {
    width: 20px;
}

.content-card {
    position: relative;
    background: var(--border-gradient-onyx);
    padding: 15px;
    padding-top: 45px;
    border-radius: 14px;
    box-shadow: var(--shadow-2);
    cursor: pointer;
    z-index: 1;
}

.content-card::before {
    content: "";
    position: absolute;
    inset: 1px;
    background: var(--bg-gradient-jet);
    border-radius: inherit;
    z-index: -1;
}

/*-----------------------------------*\
  #MAIN
\*-----------------------------------*/

main {
    margin: 15px 12px;
    margin-bottom: 0;
    min-width: 259px;
}

/*-----------------------------------*\
  #SIDEBAR
\*-----------------------------------*/

.sidebar {
    margin-bottom: 15px;
    max-height: 112px;
    overflow: hidden;
    transition: var(--transition-2);
}

.sidebar.active {
    max-height: 1000px;
}

.sidebar-info {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
}

.avatar-box {
    background: var(--bg-gradient-onyx);
    border-radius: 20px;
}

.btn-shine {
    color: var(--white-2);
    font-size: var(--fs-3);
    font-weight: var(--fw-500);
    letter-spacing: -0.25px;
    margin-bottom: 10px;
    text-align: center;
    padding: 0px 45px 0px 40px;
    color: #fff;
    background: linear-gradient(
        to right,
        #fff 0,
        hsl(0, 0%, 84%) 10%,
        var(--orange-yellow-crayola) 100%
    );
    background-position: 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s infinite linear;
    animation-fill-mode: forwards;
    -webkit-text-size-adjust: none;
    font-weight: 800;
    font-size: 16px;
    text-decoration: none;
    white-space: nowrap;
    font-family: "Poppins", sans-serif;
}

@-moz-keyframes shine {
    0% {
        background-position: 0;
    }
    60% {
        background-position: 180px;
    }
    100% {
        background-position: 180px;
    }
}
@-webkit-keyframes shine {
    0% {
        background-position: 0;
    }
    60% {
        background-position: 180px;
    }
    100% {
        background-position: 180px;
    }
}
@-o-keyframes shine {
    0% {
        background-position: 0;
    }
    60% {
        background-position: 180px;
    }
    100% {
        background-position: 180px;
    }
}
@keyframes shine {
    0% {
        background-position: 0;
    }
    60% {
        background-position: 180px;
    }
    100% {
        background-position: 180px;
    }
}

.info-content .title {
    color: var(--white-1);
    background: var(--onyx);
    font-size: var(--fs-8);
    font-weight: var(--fw-300);
    width: max-content;
    padding: 3px 12px;
    border-radius: 8px;
}

.text-typing {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-gradient-onyx);
    padding: 3px 10px;
    border-radius: 5px;
}

.div-text-typing {
    font-family: var(--ff-poppins);
    font-size: 13px;
    color: var(--white-1);
    font-style: italic;
}

#dynamic-text {
    transition: opacity 0.5s ease-in-out;
}

.info_more-btn {
    position: absolute;
    top: 0px;
    right: 25px;
    border-radius: 0px 0px 15px 15px;
    font-size: 13px;
    color: var(--orange-yellow-crayola);
    background: var(--border-gradient-onyx);
    padding: 10px;
    box-shadow: var(--shadow-2);
    transition: var(--transition-1);
    z-index: 1;
}

.info_more-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--bg-gradient-jet);
    transition: var(--transition-1);
    z-index: -1;
}

.info_more-btn:hover,
.info_more-btn:focus {
    background: var(--bg-gradient-yellow-1);
}

.info_more-btn:hover::before,
.info_more-btn:focus::before {
    background: var(--bg-gradient-yellow-2);
}

.info_more-btn span {
    display: none;
}

.sidebar-info_more {
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-2);
}

.sidebar.active .sidebar-info_more {
    opacity: 1;
    visibility: visible;
}

.contacts-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.contact-item {
    min-width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-info {
    max-width: calc(100% - 46px);
    width: calc(100% - 46px);
}

.contact-title {
    color: var(--light-gray-70);
    font-size: var(--fs-8);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.contact-info :is(.contact-link, time, address) {
    color: var(--white-2);
    font-size: var(--fs-7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.contact-info address {
    font-style: normal;
}

.social-list {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    padding-bottom: 4px;
    padding-left: 7px;
    margin: 10px 10px 10px 10px;
}

.social-item .social-link {
    color: var(--light-gray-70);
    font-size: 18px;
}

.social-item .social-link:hover {
    color: var(--vegas-gold);
}

/* Efek hover dan klik */
.contact-item:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

/* Efek pada ikon */
.icon-box {
    transition: transform 0.3s ease;
}

.contact-item:hover .icon-box {
    transform: rotate(10deg) scale(1.1);
}

/* Efek pada konten teks */
.contact-title,
.contact-link {
    transition: color 0.3s ease;
}

.contact-item:hover .contact-title,
.contact-item:hover .contact-link {
    color: hsl(45, 90%, 55%);
}

/*-----------------------------------*\
  #NAVBAR
\*-----------------------------------*/

.navbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-gradient-onyx);
    backdrop-filter: blur(10px);
    border: 1px solid var(--jet);
    border-radius: 12px 12px 0 0;
    box-shadow: var(--shadow-2);
    z-index: 5;
}

.navbar-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
}

.navbar-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: var(--light-gray);
    font-size: var(--fs-8);
    padding: 12px 8px;
    transition: color var(--transition-1);
    background: none;
    border: none;
    text-decoration: none;
    cursor: pointer;
}

.navbar-link:hover,
.navbar-link:focus {
    color: var(--light-gray-70);
}

.navbar-link.active {
    color: var(--orange-yellow-crayola);
}

.navbar-link ion-icon {
    font-size: 18px;
}

.navbar-link span {
    font-size: 12px;
}

/* login button */

.li-login {
    margin-left: 10px;
}

.btn-login {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: var(--orange-yellow-crayola);
    background-size: 250%;
    background-position: left;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition-duration: 0.5s;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.11);
}

.logoIcon-login {
    fill: white;
    font-size: 10px;
}

.tooltip-login {
    position: absolute;
    top: -20px;
    opacity: 0;
    background: var(--orange-yellow-crayola);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    display: flex;
    font-size: 13px;
    align-items: center;
    justify-content: center;
    transition-duration: 0.2s;
    pointer-events: none;
    letter-spacing: 0.5px;
}

.tooltip-login::before {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    background: var(--orange-yellow-crayola);
    background-size: 1000%;
    background-position: center;
    transform: rotate(45deg);
    bottom: -15%;
    transition-duration: 0.3s;
}

.btn-login:hover .tooltip-login {
    top: -50px;
    opacity: 1;
    transition-duration: 0.3s;
}

.btn-login:hover {
    background-position: right;
    transition-duration: 0.5s;
}

/*-----------------------------------*\
  #MAIN LOADING #LOADING PAGE #SCROLL TO BOTTOM & TOP
\*-----------------------------------*/

/* Main loading styling */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000; /* Make sure it's on top of everything */
}

/* Hide loading overlay initially */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

/* Display loading overlay */
.loading-overlay.active {
    display: flex;
}

/* Loading animation */
.loader {
    position: relative;
    width: 2.5em;
    height: 2.5em;
    transform: rotate(165deg);
}

.loader:before,
.loader:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 0.5em;
    height: 0.5em;
    border-radius: 0.25em;
    transform: translate(-50%, -50%);
}

.loader:before {
    animation: before8 2s infinite;
}

.loader:after {
    animation: after6 2s infinite;
}

@keyframes before8 {
    0% {
        width: 0.5em;
        box-shadow:
            1em -0.5em hsl(35, 90%, 50%),
            -1em 0.5em hsl(45, 90%, 55%);
    }

    35% {
        width: 2.5em;
        box-shadow:
            0 -0.5em hsl(35, 90%, 50%),
            0 0.5em hsl(45, 90%, 55%);
    }

    70% {
        width: 0.5em;
        box-shadow:
            -1em -0.5em hsl(35, 90%, 50%),
            1em 0.5em hsl(45, 90%, 55%);
    }

    100% {
        box-shadow:
            1em -0.5em hsl(35, 90%, 50%),
            -1em 0.5em hsl(45, 90%, 55%);
    }
}

@keyframes after6 {
    0% {
        height: 0.5em;
        box-shadow:
            0.5em 1em hsl(45, 90%, 55%),
            -0.5em -1em hsl(35, 90%, 50%);
    }

    35% {
        height: 2.5em;
        box-shadow:
            0.5em 0 hsl(45, 90%, 55%),
            -0.5em 0 hsl(35, 90%, 50%);
    }

    70% {
        height: 0.5em;
        box-shadow:
            0.5em -1em hsl(45, 90%, 55%),
            -0.5em 1em hsl(35, 90%, 50%);
    }

    100% {
        box-shadow:
            0.5em 1em hsl(45, 90%, 55%),
            -0.5em -1em hsl(35, 90%, 50%);
    }
}

.loader {
    position: absolute;
    top: calc(50% - 1.25em);
    left: calc(50% - 1.25em);
}

/* Styling untuk SVG */
.pl {
    width: 6em;
    height: 6em;
}

.pl__ring {
    animation: ringA 2s linear infinite;
}

.pl__ring--a {
    stroke: hsl(35, 90%, 50%);
}

.pl__ring--b {
    animation-name: ringB;
    stroke: hsl(45, 90%, 55%);
}

.pl__ring--c {
    animation-name: ringC;
    stroke: hsl(45, 90%, 55%);
}

.pl__ring--d {
    animation-name: ringD;
    stroke: hsl(35, 90%, 50%);
}

/* Wrapper untuk background hitam transparan dan posisi tengah layar */
#wifi-loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5); /* Background hitam transparan */
    z-index: 9999; /* Pastikan berada di depan elemen lain */
}

/* Loader */
#wifi-loader {
    --background: hsl(35, 90%, 50%);
    --front-color: hsl(35, 90%, 50%);
    --back-color: hsl(45, 90%, 55%);
    --text-color: hsl(35, 90%, 50%);
    width: 64px;
    height: 64px;
    border-radius: 50px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

#wifi-loader svg {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
}

#wifi-loader svg circle {
    position: absolute;
    fill: none;
    stroke-width: 6px;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform: rotate(-90deg); /* Rotasi untuk mulai animasi dari posisi atas */
    transform-origin: center;
}

/* Warna lingkaran animasi */
#wifi-loader svg circle.back {
    stroke: var(--back-color);
}

#wifi-loader svg circle.front {
    stroke: var(--front-color);
}

/* Ukuran lingkaran animasi */
#wifi-loader svg.circle-outer {
    height: 86px;
    width: 86px;
}

#wifi-loader svg.circle-outer circle {
    stroke-dasharray: 62.75 188.25;
}

#wifi-loader svg.circle-outer circle.back {
    animation: circle-outer-animation 1.8s ease infinite 0.3s;
}

#wifi-loader svg.circle-outer circle.front {
    animation: circle-outer-animation 1.8s ease infinite 0.15s;
}

#wifi-loader svg.circle-middle {
    height: 60px;
    width: 60px;
}

#wifi-loader svg.circle-middle circle {
    stroke-dasharray: 42.5 127.5;
}

#wifi-loader svg.circle-middle circle.back {
    animation: circle-middle-animation 1.8s ease infinite 0.25s;
}

#wifi-loader svg.circle-middle circle.front {
    animation: circle-middle-animation 1.8s ease infinite 0.1s;
}

#wifi-loader svg.circle-inner {
    height: 34px;
    width: 34px;
}

#wifi-loader svg.circle-inner circle {
    stroke-dasharray: 22 66;
}

#wifi-loader svg.circle-inner circle.back {
    animation: circle-inner-animation 1.8s ease infinite 0.2s;
}

#wifi-loader svg.circle-inner circle.front {
    animation: circle-inner-animation 1.8s ease infinite 0.05s;
}

/* Teks animasi */
#wifi-loader .text {
    position: absolute;
    bottom: -40px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: lowercase;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.2px;
    color: var(--text-color);
}

/* Teks animasi kliping */
#wifi-loader .text::before,
#wifi-loader .text::after {
    content: attr(data-text);
}

#wifi-loader .text::before {
    color: var(--text-color);
}

#wifi-loader .text::after {
    color: var(--front-color);
    animation: text-clip-animation 3.6s ease infinite;
    position: absolute;
    left: 0;
}

/* Keyframes animasi */
@keyframes circle-outer-animation {
    0% {
        stroke-dashoffset: 25;
    }
    25% {
        stroke-dashoffset: 0;
    }
    65% {
        stroke-dashoffset: 301;
    }
    80% {
        stroke-dashoffset: 276;
    }
    100% {
        stroke-dashoffset: 276;
    }
}

@keyframes circle-middle-animation {
    0% {
        stroke-dashoffset: 17;
    }
    25% {
        stroke-dashoffset: 0;
    }
    65% {
        stroke-dashoffset: 204;
    }
    80% {
        stroke-dashoffset: 187;
    }
    100% {
        stroke-dashoffset: 187;
    }
}

@keyframes circle-inner-animation {
    0% {
        stroke-dashoffset: 9;
    }
    25% {
        stroke-dashoffset: 0;
    }
    65% {
        stroke-dashoffset: 106;
    }
    80% {
        stroke-dashoffset: 97;
    }
    100% {
        stroke-dashoffset: 97;
    }
}

@keyframes text-clip-animation {
    0% {
        clip-path: inset(0 100% 0 0);
    }
    50% {
        clip-path: inset(0);
    }
    100% {
        clip-path: inset(0 0 0 100%);
    }
}

/* Animasi */
@keyframes ringA {
    from,
    4% {
        stroke-dasharray: 0 660;
        stroke-width: 20;
        stroke-dashoffset: -330;
    }

    12% {
        stroke-dasharray: 60 600;
        stroke-width: 30;
        stroke-dashoffset: -335;
    }

    32% {
        stroke-dasharray: 60 600;
        stroke-width: 30;
        stroke-dashoffset: -595;
    }

    40%,
    54% {
        stroke-dasharray: 0 660;
        stroke-width: 20;
        stroke-dashoffset: -660;
    }

    62% {
        stroke-dasharray: 60 600;
        stroke-width: 30;
        stroke-dashoffset: -665;
    }

    82% {
        stroke-dasharray: 60 600;
        stroke-width: 30;
        stroke-dashoffset: -925;
    }

    90%,
    to {
        stroke-dasharray: 0 660;
        stroke-width: 20;
        stroke-dashoffset: -990;
    }
}

@keyframes ringB {
    from,
    12% {
        stroke-dasharray: 0 220;
        stroke-width: 20;
        stroke-dashoffset: -110;
    }

    20% {
        stroke-dasharray: 20 200;
        stroke-width: 30;
        stroke-dashoffset: -115;
    }

    40% {
        stroke-dasharray: 20 200;
        stroke-width: 30;
        stroke-dashoffset: -195;
    }

    48%,
    62% {
        stroke-dasharray: 0 220;
        stroke-width: 20;
        stroke-dashoffset: -220;
    }

    70% {
        stroke-dasharray: 20 200;
        stroke-width: 30;
        stroke-dashoffset: -225;
    }

    90% {
        stroke-dasharray: 20 200;
        stroke-width: 30;
        stroke-dashoffset: -305;
    }

    98%,
    to {
        stroke-dasharray: 0 220;
        stroke-width: 20;
        stroke-dashoffset: -330;
    }
}

@keyframes ringC {
    from {
        stroke-dasharray: 0 440;
        stroke-width: 20;
        stroke-dashoffset: 0;
    }

    8% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -5;
    }

    28% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -175;
    }

    36%,
    58% {
        stroke-dasharray: 0 440;
        stroke-width: 20;
        stroke-dashoffset: -220;
    }

    66% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -225;
    }

    86% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -395;
    }

    94%,
    to {
        stroke-dasharray: 0 440;
        stroke-width: 20;
        stroke-dashoffset: -440;
    }
}

@keyframes ringD {
    from,
    8% {
        stroke-dasharray: 0 440;
        stroke-width: 20;
        stroke-dashoffset: 0;
    }

    16% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -5;
    }

    36% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -175;
    }

    44%,
    50% {
        stroke-dasharray: 0 440;
        stroke-width: 20;
        stroke-dashoffset: -220;
    }

    58% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -225;
    }

    78% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -395;
    }

    86%,
    to {
        stroke-dasharray: 0 440;
        stroke-width: 20;
        stroke-dashoffset: -440;
    }
}

.button-close {
    position: relative;
    margin-top: 5px;
    width: 41px;
    height: 41px;
    border-radius: 100%;
    border: none;
    background: var(--orange-yellow-crayola);
    transition: background 0.5s;
}

.X-close {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1em;
    height: 1.5px;
    background-color: rgb(255, 255, 255);
    transform: translateX(-50%) rotate(45deg);
}

.Y-close {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1em;
    height: 1.5px;
    background-color: #fff;
    transform: translateX(-50%) rotate(-45deg);
}

.button-close:hover {
    background-color: rgb(211, 21, 21);
}

.button-close:active {
    background-color: rgb(130, 0, 0);
}

.button-close:hover > .close {
    animation: close 0.2s forwards 0.25s;
}

@keyframes close {
    100% {
        opacity: 1;
    }
}

/* Scroll */
.scroll-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background-color: var(--orange-yellow-crayola);
    color: white;
    font-size: 24px;
    cursor: pointer;
    position: fixed;
    bottom: 70px; /* Jarak dari bagian bawah */
    right: 18px; /* Jarak dari bagian kanan */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
    z-index: 1000; /* Pastikan tombol berada di atas konten lainnya */
}

.scroll-button:hover {
    background-color: var(--vegas-gold);
}

.scroll-button ion-icon {
    margin: 0;
}

/* CSS to prevent scrolling */
.no-scroll {
    overflow: hidden;
}

/* Add styles for loading overlay if needed */
.loading-overlay.active {
    display: flex;
}

#loading,
.loading-overlay {
    /* Initially set to cover the viewport */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust as needed */
    z-index: 9999;
}

/* Hide overlays when not active */
#loading.hidden,
.loading-overlay:not(.active) {
    display: none;
}

/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about .article-title {
    margin-bottom: 15px;
}

.about-text {
    color: var(--light-gray);
    font-size: var(--fs-6);
    font-weight: var(--fw-300);
    /* text-align: justify; */
    line-height: 1.6;
    margin: 0 auto 20px;
}

.about-text p {
    margin-bottom: 20px;
}

.div-buttoncv {
    display: flex;
    left: 0px;
    gap: 10px;
}

.buttoncv {
    --width: 150px;
    --height: 35px;
    --tooltip-height: 35px;
    --tooltip-width: 90px;
    --gap-between-tooltip-to-button: 18px;
    --button-color: var(--orange-yellow-crayola);
    --tooltip-color: var(--orange-yellow-crayola);
    width: 150px;
    height: var(--height);
    background: var(--button-color);
    position: relative;
    text-align: center;
    border-radius: 7px;
    font-family: "Poppins", sans-serif;
    transition: background 0.3s;
}

.buttoncv::before {
    position: absolute;
    content: attr(data-tooltip);
    width: var(--tooltip-width);
    height: var(--tooltip-height);
    background-color: var(--tooltip-color);
    font-size: 0.9rem;
    color: #111;
    border-radius: 0.25em;
    line-height: var(--tooltip-height);
    bottom: calc(var(--height) + var(--gap-between-tooltip-to-button) + 10px);
    left: calc(50% - var(--tooltip-width) / 2);
}

.buttoncv::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-top-color: var(--tooltip-color);
    left: calc(50% - 10px);
    bottom: calc(100% + var(--gap-between-tooltip-to-button) - 10px);
}

.buttoncv::after,
.buttoncv::before {
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s;
}

.textcv {
    display: flex;
    align-items: center;
    justify-content: center;
}

.buttoncv-wrapper,
.textcv,
.iconcv {
    overflow: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    color: var(--white-2);
}

.textcv {
    top: 0;
}

.textcv,
.iconcv {
    transition: top 0.5s;
}

.iconcv {
    color: var(--white-2);
    top: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iconcv svg {
    width: 24px;
    height: 24px;
}

.buttoncv:hover {
    background: var(--bg-gradient-onyx);
}

.buttoncv:hover .textcv {
    top: -100%;
}

.buttoncv:hover .iconcv {
    top: 0;
}

.buttoncv:hover:before,
.buttoncv:hover:after {
    opacity: 1;
    visibility: visible;
}

.buttoncv:hover:after {
    bottom: calc(var(--height) + var(--gap-between-tooltip-to-button) - 20px);
}

.buttoncv:hover:before {
    bottom: calc(var(--height) + var(--gap-between-tooltip-to-button));
}

/* From Uiverse.io by vinodjangid07 */
.button-linktree {
    width: 50px;
    height: 35px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--orange-yellow-crayola);
    border-radius: 18%;
    cursor: pointer;
    transition-duration: 0.3s;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.13);
    border: none;
}

.linktree {
    margin-top: 4px;
    margin-left: 1px;
    width: 23px;
}

.linktree path {
    fill: white;
}

.button-linktree:hover {
    background-color: var(--bg-gradient-onyx);
}

.button-linktree:hover .linktree {
    animation: bellRing 0.9s both;
}

/* bell ringing animation keyframes*/
@keyframes bellRing {
    0%,
    100% {
        transform-origin: top;
    }

    15% {
        transform: rotateZ(10deg);
    }

    30% {
        transform: rotateZ(-10deg);
    }

    45% {
        transform: rotateZ(5deg);
    }

    60% {
        transform: rotateZ(-5deg);
    }

    75% {
        transform: rotateZ(2deg);
    }
}

.button-linktree:active {
    transform: scale(0.8);
}

/*-----------------------------------*\
  #MUSIC BACKSOUND
\*-----------------------------------*/

.music-card {
    cursor: pointer;
    width: 100%;
    max-width: 850px;
    margin: auto;
    background-color: var(--onyx);
    box-shadow: 0 4px 8px var(--shadow-2);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.music-card:hover {
    transform: translateY(-5px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background-color: var(--jet);
}

.track-info {
    display: flex;
    align-items: center;
}

.track-icon {
    font-size: 22px;
    color: var(--orange-yellow-crayola);
}

.track-details {
    margin-left: 12px;
}

.track-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white-2);
}

.track-artist {
    font-size: 0.9rem;
    color: var(--light-gray-70);
}

.card-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-btn {
    font-size: 24px;
    transition: 0.2s;
    cursor: pointer;
    color: var(--white-2);
}

#loveIcon {
    color: #ef4444;
    opacity: 0.5;
}

#loveIcon.liked {
    opacity: 1;
}

#starIcon {
    color: #fbbf24;
    opacity: 0.5;
}

#starIcon.starred {
    opacity: 1;
}

.progress-container {
    position: relative;
    margin: 16px 16px 8px 16px;
    height: 6px;
    background-color: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: var(--orange-yellow-crayola);
    border-radius: 3px;
}

.progress-time {
    display: flex;
    justify-content: space-between;
    padding: 0 16px 16px 16px;
    font-size: 0.85rem;
    color: var(--white-2);
}

#shuffleIcon.active,
#repeatIcon.active {
    color: #10b981; /* hijau */
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 20px;
}

.volume-icon {
    font-size: 20px;
    color: var(--white-2);
}

#volumeSlider {
    width: 100%;
    max-width: 150px;
    accent-color: #1db954; /* hijau Spotify */
}

/**
 * #service 
 */
.service {
    margin-bottom: 35px;
}

.service-title {
    margin-bottom: 20px;
}

.service-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.service-item {
    position: relative;
    background: var(--border-gradient-onyx);
    padding: 20px;
    border-radius: 14px;
    box-shadow: var(--shadow-2);
    z-index: 1;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.service-item::before {
    content: "";
    position: absolute;
    inset: 1px;
    background: var(--bg-gradient-jet);
    border-radius: inherit;
    z-index: -1;
}

/* Efek hover dan klik */
.service-item:hover {
    transform: translateY(0px) scale(1.05);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

.service-item:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

/* Efek pada ikon */
.service-icon-box {
    margin-bottom: 10px;
}

.service-icon-box img {
    margin: auto;
    transition: transform 0.3s ease;
}

.service-item:hover .service-icon-box img {
    transform: rotate(10deg) scale(1.1);
}

/* Efek pada konten teks */
.service-content-box {
    text-align: center;
}

.service-item-title {
    margin-bottom: 7px;
    transition: color 0.3s ease;
}

.service-item-text {
    color: var(--light-gray);
    font-size: var(--fs-6);
    font-weight: var(--fw-3);
    line-height: 1.6;
    transition: color 0.3s ease;
}

/* Ubah warna teks saat di-hover menjadi kuning */
.service-item:hover .service-item-title,
.service-item:hover .service-item-text {
    color: hsl(45, 90%, 55%); /* Mengubah warna menjadi putih saat di-hover */
}

/**
 * #testimonials 
 */

.testimonials {
    margin-bottom: 30px;
}

.testimonials-title {
    margin-bottom: 20px;
}

.testimonials-list {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 15px;
    margin: 0 -15px;
    padding: 25px 15px;
    padding-bottom: 35px;
    overflow-x: auto;
    scroll-behavior: smooth;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
}

.testimonials-item {
    min-width: 100%;
    scroll-snap-align: center;
}

.testimonials-avatar-box {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(15px, -25px);
    background: var(--bg-gradient-onyx);
    border-radius: 14px;
    box-shadow: var(--shadow-1);
}

.testimonials-item-title {
    margin-bottom: 7px;
}

.testimonials-text {
    color: var(--light-gray);
    font-size: var(--fs-6);
    font-weight: var(--fw-300);
    line-height: 1.6;
    display: -webkit-box;
    line-clamp: 4;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/**
 * #testimonials-modal
 */

.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 20;
    pointer-events: none;
    visibility: hidden;
}

.modal-container::-webkit-scrollbar {
    display: none;
}

.modal-container.active {
    pointer-events: all;
    visibility: visible;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: hsl(0, 0%, 5%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1;
    transition: var(--transition-1);
}

.overlay.active {
    opacity: 0.8;
    visibility: visible;
    pointer-events: all;
}

.testimonials-modal {
    background: var(--eerie-black-2);
    position: relative;
    padding: 15px;
    margin: 15px 12px;
    border: 1px solid var(--jet);
    border-radius: 14px;
    box-shadow: var(--shadow-5);
    transform: scale(1.2);
    opacity: 0;
    transition: var(--transition-1);
    z-index: 2;
}

.modal-container.active .testimonials-modal {
    transform: scale(1);
    opacity: 1;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--onyx);
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white-2);
    font-size: 18px;
    opacity: 0.7;
}

.modal-close-btn:hover,
.modal-close-btn:focus {
    opacity: 1;
}

.modal-close-btn ion-icon {
    --ionicon-stroke-width: 50px;
}

.modal-avatar-box {
    background: var(--bg-gradient-onyx);
    width: max-content;
    border-radius: 14px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-2);
}

.modal-img-wrapper > img {
    display: none;
}

.modal-title {
    margin-bottom: 4px;
}

.modal-content time {
    font-size: var(--fs-6);
    color: var(--light-gray-70);
    font-weight: var(--fw-300);
    margin-bottom: 10px;
}

.modal-content p {
    color: var(--light-gray);
    font-size: var(--fs-6);
    font-weight: var(--fw-300);
    line-height: 1.6;
}

/**
 * #clients 
 */

.clients {
    margin-bottom: 20px;
    position: relative;
}

.clients-list {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0px;
    margin: 10px -15px;
    padding: 25px;
    padding-bottom: 25px;
    overflow: auto;
}

.clients-item {
    min-width: 50%;
}

.clients-item img {
    width: 80%;
    filter: grayscale(1);
    transition: filter 0.3s;
}

.clients-item img:hover {
    filter: grayscale(0);
}

/* Efek hover pada teks title */
.clients-title {
    transition: color 0.3s ease;
}

.clients-title:hover {
    color: hsl(45, 90%, 55%);
}

/* Efek hover pada gambar */
.clients-item img {
    width: 80%;
    filter: grayscale(1);
    transition:
        filter 0.3s ease,
        transform 0.3s ease;
}

.clients-item:hover img {
    filter: grayscale(0);
    transform: scale(1.1);
}

/* Efek klik */
.clients-item:active img {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

/*-----------------------------------*\
  #RESUME
\*-----------------------------------*/

/* Gaya kustom sesuai warna tombol download */
.swal2-download-button {
    background-color: #6459dd !important; /* Ganti dengan warna tombol download */
    color: #fff !important; /* Warna teks */
}
.swal2-download-button:hover {
    background-color: #6459dd !important; /* Warna saat di-hover */
}

.article-title {
    margin-bottom: 30px;
}

/**
 * education and experience 
 */

.timeline {
    margin-bottom: 30px;
}

.timeline .title-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.timeline-list {
    font-size: var(--fs-6);
    margin-left: 45px;
}

.timeline-item {
    position: relative;
}

.timeline-item:not(:last-child) {
    margin-bottom: 20px;
}

.timeline-item-title {
    font-size: var(--fs-6);
    line-height: 1.3;
    margin-bottom: 7px;
}

.timeline-list span {
    color: var(--vegas-gold);
    font-weight: var(--fw-400);
    line-height: 1.6;
}

.timeline-item:not(:last-child)::before {
    content: "";
    position: absolute;
    top: -25px;
    left: -30px;
    width: 1px;
    height: calc(100% + 50px);
    background: var(--jet);
}

.timeline-item::after {
    content: "";
    position: absolute;
    top: 5px;
    left: -33px;
    height: 6px;
    width: 6px;
    background: var(--text-gradient-yellow);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--jet);
}

.timeline-text {
    color: var(--light-gray);
    font-weight: var(--fw-300);
    line-height: 1.6;
}

.timeline-text-hover {
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 10px; /* Jarak antara teks dan ikon */
    transition: color 0.3s ease-in-out;
}

.timeline-text-hover:hover {
    color: #fccf69;
}

.instagram-icon {
    font-size: 1.2rem;
    color: white;
    transition:
        color 0.3s ease-in-out,
        transform 0.3s ease-in-out;
}

.timeline-text-hover:hover .instagram-icon {
    color: #fccf69;
    transform: scale(1.2);
}

.timeline-text-nilai {
    color: var(--light-gray);
    font-weight: var(--fw-300);
    margin-top: -8px;
    margin-bottom: 1px;
    font-size: 0.9rem;
}

.see-more-btn {
    margin-top: 10px;
    display: inline-block;
    background-color: var(--orange-yellow-crayola);
    color: var(--eerie-black-2);
    padding: 6px 12px;
    font-size: var(--fs-8);
    font-weight: var(--fw-500);
    font-family: var(--ff-poppins);
    border: 1px solid var(--jet);
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: var(--shadow-1);
    transition: all 0.3s ease-in-out;
}

.see-more-btn:hover {
    background-color: var(--onyx);
    color: var(--white-2);
    transform: translateY(-1px);
    box-shadow: var(--shadow-2);
}

.see-more-btn-org {
    text-decoration: none;
    cursor: pointer;
    color: white;
    transition: transform 0.3s ease-in-out;
}

.see-more-btn-org:hover {
    color: var(--orange-yellow-crayola);
}

/* Efek pada ikon */
.icon-box {
    transition: transform 0.3s ease;
}

.icon-box:hover {
    transform: rotate(10deg) scale(1.1);
}

/* Efek pada teks */
.h3 {
    transition: color 0.3s ease;
}

.h3:hover {
    color: hsl(45, 90%, 55%);
}

/**
 * skills 
 */

.skill {
    margin-top: 40px;
}

.skills-title {
    margin-bottom: 30px;
}

.skills-list {
    padding: 20px;
}

.skills-item:not(:last-child) {
    margin-bottom: 15px;
}

.skill .title-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}

.skill .title-wrapper data {
    color: var(--light-gray);
    font-size: var(--fs-7);
    font-weight: var(--fw-300);
    transition: color 5s ease-in-out; /* Add smooth transition for text color */
}

.skill-progress-bg {
    background: var(--bg-gradient-onyx);
    width: 100%;
    height: 8px;
    border-radius: 10px;
}

.skill-progress-fill {
    background: var(--text-gradient-yellow);
    height: 100%;
    border-radius: inherit;
    transition: width 2s cubic-bezier(0.1, 0, 0.175, 1); /* Faster, smoother transition */
}

/*-----------------------------------*\
  #PORTFOLIO
\*-----------------------------------*/
.projects {
    margin-top: 12px;
}

.filter-list {
    display: none;
}

.filter-select-box {
    position: relative;
    margin-bottom: 25px;
}

.filter-select {
    background: var(--eerie-black-2);
    color: var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--jet);
    border-radius: 14px;
    font-size: var(--fs-6);
    font-weight: var(--fw-300);
    cursor: pointer;
}

.filter-select.active .select-icon {
    transform: rotate(0.5turn);
}

.select-list {
    background: var(--eerie-black-2);
    position: absolute;
    top: calc(100% + 6px);
    width: 100%;
    padding: 6px;
    border: 1px solid var(--jet);
    border-radius: 14px;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.15s ease-in-out,
        visibility 0.15s ease-in-out;
}

.filter-select.active + .select-list {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.select-item button {
    background: var(--eerie-black-2);
    color: var(--light-gray);
    font-size: var(--fs-6);
    font-weight: var(--fw-300);
    text-transform: capitalize;
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
}

.select-item button:hover {
    background: hsl(240, 2%, 20%);
}

.project-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 10px;
}

.project-item {
    display: none;
}

.project-item.active {
    display: block;
    animation: scaleUp 0.25s ease forwards;
}

@keyframes scaleUp {
    0% {
        transform: scale(0.5);
    }
    100% {
        transform: scale(1);
    }
}

.project-item > a {
    width: 100%;
    text-decoration: none;
}

.project-img {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 15px;
}

.project-img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
    transition: background 0.3s ease;
}

.project-item > a:hover .project-img::before {
    background: hsla(0, 0%, 0%, 0.5);
}

.project-item-icon-box {
    background: var(--jet);
    color: var(--orange-yellow-crayola);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    font-size: 20px;
    padding: 18px;
    border-radius: 12px;
    opacity: 0;
    z-index: 1;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.project-item > a:hover .project-item-icon-box {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.project-item-icon-box ion-icon {
    --ionicon-stroke-width: 50px;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-item > a:hover img {
    transform: scale(1.1);
}

.project-title,
.project-category {
    margin-left: 10px;
}

.project-title {
    color: var(--white-2);
    font-size: var(--fs-5);
    font-weight: var(--fw-400);
    text-transform: capitalize;
    line-height: 1.3;
}

.project-category {
    color: var(--light-gray-70);
    font-size: var(--fs-6);
    font-weight: var(--fw-300);
}

/* Skeleton Loading Global Improvements */
.skeleton {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.05) 25%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.05) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-shimmer 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.skeleton::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transform: translateX(-100%);
    animation: shimmer-swipe 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.skeleton-img {
    width: 100%;
    height: 200px; /* Match .project-img height */
    margin-bottom: 15px;
    border-radius: 16px;
}

.skeleton-title {
    width: 80%;
    height: 24px;
    margin-bottom: 10px;
    margin-left: 10px;
}

.skeleton-category {
    width: 40%;
    height: 16px;
    margin-left: 10px;
    border-radius: 8px;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@keyframes shimmer-swipe {
    100% {
        transform: translateX(100%);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding: 20px 0;
}

.pagination-btn {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--onyx);
    border: 1px solid var(--jet);
    color: var(--light-gray);
    border-radius: 10px;
    font-weight: var(--fw-600);
    transition: var(--transition-1);
    cursor: pointer;
    font-size: 0.9rem;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--jet);
    color: var(--orange-yellow-crayola);
    border-color: var(--orange-yellow-crayola);
}

.pagination-btn.active {
    background: var(--orange-yellow-crayola);
    color: var(--eerie-black-1);
    border-color: var(--orange-yellow-crayola);
    box-shadow: 0 0 10px rgba(255, 180, 75, 0.3);
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pagination-info {
    color: var(--light-gray-70);
    font-size: 0.85rem;
    margin: 0 15px;
}

.image-skeleton-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--onyx);
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.03) 25%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.03) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite linear;
    z-index: 1;
    transition: opacity 0.5s ease;
}

.image-skeleton-overlay.loaded {
    opacity: 0;
    pointer-events: none;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
}

.project-item-icon-boxes {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    gap: 12px;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.project-icon-btn {
    background: var(--jet);
    color: var(--orange-yellow-crayola);
    font-size: 20px;
    padding: 14px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.project-icon-btn:hover {
    transform: scale(1.1);
    background: var(--orange-yellow-crayola);
    color: var(--jet);
}

.project-item:hover .project-item-icon-boxes {
    opacity: 1;
}

/*-----------------------------------*\
  #BLOG
\*-----------------------------------*/

.blog-posts {
    margin: 20px auto;
    width: 100%;
}

.blog-posts-list {
    display: grid;
    grid-template-columns: repeat(1fr);
    gap: 20px;
}

.blog-post-item > a {
    display: block;
    cursor: pointer;
    position: relative;
    background: var(--border-gradient-onyx);
    height: 100%;
    box-shadow: var(--shadow-4);
    border-radius: 16px;
    z-index: 1;
}

.blog-post-item > a::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: var(--eerie-black-1);
    z-index: -1;
}

.blog-post-item {
    list-style: none;
}

.slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

.blog-banner-box {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
}

.blog-banner-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-1);
}

.blog-post-item > a:hover .blog-banner-box img {
    transform: scale(1.1);
}

.blog-content {
    padding: 15px;
}

.blog-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
}

.blog-meta :is(.blog-category, time) {
    color: var(--light-gray-70);
    font-size: var(--fs-6);
    font-weight: var(--fw-300);
}

.blog-category {
    color: var(--orange-yellow-crayola);
    font-size: var(--fs-6);
    font-weight: var(--fw-300);
}

.blog-detail-text {
    color: var(--light-gray);
    font-size: var(--fs-6);
    font-weight: var(--fw-300);
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-meta .dot {
    background: var(--light-gray-70);
    width: 4px;
    height: 4px;
    border-radius: 4px;
}

.blog-item-title {
    margin-bottom: 10px;
    line-height: 1.3;
    transition: var(--transition-1);
}

.blog-post-item > a:hover .blog-item-title {
    color: var(--orange-yellow-crayola);
}

.blog-text {
    color: var(--light-gray);
    font-size: var(--fs-6);
    font-weight: var(--fw-300);
    line-height: 1.6;
}

/* CSS for navigation buttons */
.slider .prev,
.slider .next {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transform: translateY(-50%);
    z-index: 1;
}

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

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

.slider .prev {
    left: 10px;
}

.slider .next {
    right: 10px;
}

.slider .prev:hover,
.slider .next:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .blog-posts-list {
        grid-template-columns: 1fr;
    }

    .slider .prev,
    .slider .next {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .blog-banner-box {
        height: 150px;
    }

    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .track-info {
        width: 100%;
        justify-content: flex-start;
    }

    .track-details {
        margin-left: 10px;
    }

    .icon-btn {
        font-size: 40px;
    }

    .card-icons {
        width: 100%;
    }

    .volume-control {
        width: 100%;
        margin: 0;
    }

    #volumeSlider {
        max-width: 120px;
    }
}

/*-----------------------------------*\
  #CONTACT
\*-----------------------------------*/

.mapbox {
    position: relative;
    height: 300px;
    width: 100%;
    border-radius: 16px;
    margin-bottom: 30px;
    border: 1px solid var(--jet);
    overflow: hidden;
}

.mapbox figure {
    height: 100%;
}

.mapbox iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(1) invert(1);
}

.contact-form {
    margin-bottom: 10px;
}

.form-title {
    margin-bottom: 20px;
    text-align: left;
    color: var(--white-2);
}

.input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.form-label {
    font-weight: 500;
    color: var(--white-2);
}

.form-input {
    padding: 13px 20px;
    border: 1px solid var(--jet);
    border-radius: 14px;
    background-color: var(--black-2);
    color: var(--white-2);
    font-size: var(--fs-6);
    font-weight: 100; /* Mengatur keseluruhan teks input menjadi lebih ringan */
    outline: none;
    transition: border-color 0.3s ease;
}

.form-input::placeholder {
    color: var(--white-3);
    font-weight: 100; /* Sudah sesuai dengan permintaan */
    font-size: var(--fs-6);
}

.form-input:focus {
    border-color: var(--orange-yellow-crayola);
}

#message {
    height: 120px;
    resize: none;
}

/* Tombol sesuai desain asli */
.form-btn {
    position: relative;
    width: 100%;
    background: var(--border-gradient-onyx);
    color: var(--orange-yellow-crayola);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    border-radius: 14px;
    font-size: var(--fs-6);
    text-transform: capitalize;
    box-shadow: var(--shadow-3);
    z-index: 1;
    transition: var(--transition-1);
}

.form-btn::before {
    content: "";
    position: absolute;
    inset: 1px;
    background: var(--bg-gradient-jet);
    border-radius: inherit;
    z-index: -1;
    transition: var(--transition-1);
}

.form-btn:hover {
    background: var(--bg-gradient-yellow-1);
}

.form-btn:hover::before {
    background: var(--bg-gradient-yellow-2);
}

.form-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-btn:disabled:hover {
    background: var(--border-gradient-onyx);
}

.form-btn:disabled:hover::before {
    background: var(--bg-gradient-jet);
}

input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    filter: invert(1); /* Mengubah warna ikon menjadi putih */
    opacity: 0.7; /* Menambahkan efek transparan agar tidak terlalu mencolok */
}

input[type="datetime-local"]:hover::-webkit-calendar-picker-indicator {
    opacity: 1; /* Menghilangkan efek transparan saat di-hover */
}

/*-----------------------------------*\
  #NOTIFICATION
\*-----------------------------------*/

/*-----------------------------------*\
  #ADMIN
\*-----------------------------------*/

.admin-form {
    margin-bottom: 10px;
}

.form-title-admin {
    color: var(--white-2);
    text-transform: capitalize;
    font-size: var(--fs-2);
    text-align: center;
}

.about-text-admin p {
    text-align: center;
    color: var(--light-gray);
    font-size: var(--fs-6);
    font-weight: var(--fw-300);
    line-height: 1.6;
    margin: 8px 10px 28px 10px;
}

.form-title-admin {
    margin-top: 10px;
}

.input-wrapper-admin {
    display: grid;
    gap: 25px;
    margin-bottom: 25px;
    margin-bottom: 30px;
}

.separator-access {
    width: 100%;
    height: 1px;
    background: var(--jet);
    margin-top: 30px;
    margin-bottom: 20px;
}

.about-text-copyright p {
    text-align: center;
    color: var(--light-gray);
    font-size: var(--fs-6);
    font-weight: var(--fw-300);
    line-height: 1.6;
    margin: 10px 10px -10px 10px;
}

.toggle-password-icon {
    position: absolute;
    top: 50%;
    right: 25px;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--light-gray);
    cursor: pointer;
}

/*-----------------------------------*\
  #CERTIFICATE
\*-----------------------------------*/

.lb-image {
    display: block;
    margin: 0 auto;
}

.container-d {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

.label-d {
    background-color: transparent;
    border: 2px solid hsl(45, 90%, 55%);
    display: flex;
    align-items: center;
    border-radius: 50px;
    width: 130px;
    height: 43px;
    cursor: pointer;
    transition: all 0.4s ease;
    padding: 5px;
    position: relative;
}

.label-d::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    width: 8px;
    height: 8px;
    transition: all 0.4s ease;
    border-radius: 100%;
    margin: auto;
    opacity: 0;
    visibility: hidden;
}

.label-d .input-d {
    display: none;
}

.label-d .title-d {
    font-size: 15px;
    color: #fff;
    transition: all 0.4s ease;
    position: absolute;
    right: 16px;
    bottom: 12px;
    text-align: center;
}

.label-d .title-d:last-child {
    opacity: 0;
    visibility: hidden;
}

.label-d .circle-d {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background-color: hsl(45, 90%, 55%);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 0 0 0 rgb(255, 255, 255);
    overflow: hidden;
}

.label-d .circle-d .icon-d {
    color: #fff;
    width: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.label-d .circle-d .square-d {
    aspect-ratio: 1;
    width: 15px;
    border-radius: 2px;
    background-color: #fff;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.label-d .circle-d::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    background-color: hsl(45, 80%, 45%);
    width: 100%;
    height: 0;
    transition: all 0.4s ease;
}

.label-d:has(.input-d:checked) {
    width: 45px;
    animation: installed 0.4s ease 3.5s forwards;
}

.label-d:has(.input-d:checked)::before {
    animation: rotate 3s ease-in-out 0.4s forwards;
}

.label-d .input-d:checked + .circle-d {
    animation:
        pulse 1s forwards,
        circleDelete 0.2s ease 3.5s forwards;
    rotate: 180deg;
}

.label-d .input-d:checked + .circle-d::before {
    animation: installing 3s ease-in-out forwards;
}

.label-d .input-d:checked + .circle-d .icon-d {
    opacity: 0;
    visibility: hidden;
}

.label-d .input-d:checked ~ .circle-d .square-d {
    opacity: 1;
    visibility: visible;
}

.label-d .input-d:checked ~ .title-d {
    opacity: 0;
    visibility: hidden;
}

.label-d .input-d:checked ~ .title-d:last-child {
    animation: showInstalledMessage 0.4s ease 3.5s forwards;
}

@keyframes pulse {
    0% {
        scale: 0.95;
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        scale: 1;
        box-shadow: 0 0 0 16px rgba(255, 255, 255, 0);
    }
    100% {
        scale: 0.95;
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

@keyframes installing {
    from {
        height: 0;
    }
    to {
        height: 100%;
    }
}

@keyframes rotate {
    0% {
        transform: rotate(-90deg) translate(27px) rotate(0);
        opacity: 1;
        visibility: visible;
    }
    99% {
        transform: rotate(290deg) translate(27px) rotate(270deg);
        opacity: 1;
        visibility: visible;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes installed {
    100% {
        width: 130px;
        border-color: rgb(35, 174, 35);
    }
}

@keyframes circleDelete {
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes showInstalledMessage {
    100% {
        opacity: 1;
        visibility: visible;
        right: 40px;
    }
}

/* Styling tombol SweetAlert */
.swal-button {
    background-color: rgb(91, 91, 240);
    color: #fff;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    transition: all 0.3s ease;
}

.swal-button:hover {
    background-color: rgb(70, 70, 200);
}

.swal-cancel-button {
    background-color: rgb(240, 91, 91);
    color: #fff;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    transition: all 0.3s ease;
}

.swal-cancel-button:hover {
    background-color: rgb(200, 70, 70);
}

/*-----------------------------------*\
  #SEARCH
\*-----------------------------------*/

.search-container-portfolio {
    margin: 25px auto;
}

#searchInput {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.search-function {
    color: var(--white-2);
    font-size: var(--fs-6);
    font-weight: var(--fw-400);
    padding: 13px 20px;
    border: 1px solid var(--jet);
    border-radius: 14px;
    outline: none;
}

.search-function::placeholder {
    font-weight: var(--fw-500);
}

.search-function:focus {
    border-color: var(--orange-yellow-crayola);
}

.search-function:focus:invalid {
    border-color: var(--bittersweet-shimmer);
}

.project-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.button.close-button {
    align-self: flex-start;
}

.div-buttoncv {
    align-self: flex-end;
}

/*-----------------------------------*\
  #RESPONSIVE
\*-----------------------------------*/

/**
 * responsive smaller than 320px screen
 */

@media (max-width: 320px) {
    main {
        width: 350px;
    }

    .sidebar,
    article {
        width: 350px;
    }

    .div-buttoncv {
        justify-content: center;
        display: flex;
        align-items: center;
        display: grid;
    }

    .button-linktree {
        margin: auto;
    }

    .clients-item {
        min-width: calc(40% - 10px);
    }

    .project-img,
    .blog-banner-box {
        height: auto;
    }
}

/**
 * responsive larger than 360px screen
 */
@media (min-width: 360px) {
    .div-buttoncv {
        justify-content: center;
    }

    .buttoncv {
        width: 123px;
    }

    .clients-item {
        min-width: calc(40% - 10px);
    }

    .project-img,
    .blog-banner-box {
        height: auto;
    }

    .search-container-portfolio {
        margin: -5px auto 15px auto;
    }

    .button-linktree {
        width: 45px;
    }

    .navbar {
        padding: 10px 10px;
        border-radius: 16px 16px 0 0;
    }

    .navbar-link {
        padding: 3px 6px;
        font-size: 8px;
        flex-direction: column;
        gap: 5px;
    }

    .navbar-link ion-icon {
        font-size: 13px;
    }

    .navbar-link span {
        font-size: 8px;
    }

    /* Optional: kalau ingin tombol lebih responsive */
    .navbar-list {
        gap: 5px;
        flex-wrap: nowrap;
    }
}

/**
 * responsive larger than 450px screen
 */

@media (min-width: 450px) {
    /**
   * client
   */

    .clients-item {
        min-width: calc(33.33% - 10px);
    }

    /* ABOUT */

    /**
   * #PORTFOLIO, BLOG 
   */

    .project-img,
    .blog-banner-box {
        height: auto;
    }
}

/**
 * responsive larger than 580px screen
 */

@media (min-width: 580px) {
    /**
   * CUSTOM PROPERTY
   */

    :root {
        /**
     * typography
     */

        --fs-1: 32px;
        --fs-2: 24px;
        --fs-3: 26px;
        --fs-4: 18px;
        --fs-6: 15px;
        --fs-7: 15px;
        --fs-8: 12px;
    }

    /**
   * #REUSED STYLE
   */

    .sidebar,
    article {
        width: 520px;
        margin-inline: auto;
        padding: 30px;
    }

    .article-title {
        font-weight: var(--fw-600);
        padding-bottom: 15px;
    }

    .article-title::after {
        width: 40px;
        height: 5px;
    }

    .icon-box {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        font-size: 18px;
    }

    /**
   * #MAIN
   */

    main {
        margin-top: 60px;
        margin-bottom: 50px;
    }

    /**
   * #SIDEBAR
   */

    .sidebar {
        max-height: 180px;
        margin-bottom: 30px;
    }

    .sidebar.active {
        max-height: 1000px;
    }

    .sidebar-info {
        gap: 25px;
    }

    .avatar-box {
        border-radius: 30px;
    }

    .avatar-box img {
        width: 120px;
    }

    .info-content .name {
        margin-bottom: 15px;
    }

    .info-content .title {
        padding: 5px 18px;
    }

    .info_more-btn {
        top: -30px;
        right: -30px;
        padding: 10px 15px;
    }

    .info_more-btn span {
        display: block;
        font-size: var(--fs-8);
    }

    .info_more-btn ion-icon {
        display: none;
    }

    .separator {
        margin: 32px 0;
    }

    .contacts-list {
        gap: 20px;
    }

    .contact-info {
        max-width: calc(100% - 64px);
        width: calc(100% - 64px);
    }

    /**
   * #NAVBAR
   */

    .navbar {
        border-radius: 20px 20px 0 0;
    }

    .navbar-list {
        gap: 20px;
    }

    .navbar-link {
        --fs-8: 14px;
    }

    /**
   * #ABOUT
   */

    .about .article-title {
        margin-bottom: 20px;
    }

    .about-text {
        margin-bottom: 40px;
    }

    /* service */

    .service-item {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 18px;
        padding: 30px;
    }

    .service-icon-box {
        margin-bottom: 0;
        margin-top: 5px;
    }

    .service-content-box {
        text-align: left;
    }

    /* testimonials */

    .testimonials-title {
        margin-bottom: 25px;
    }

    .testimonials-list {
        gap: 30px;
        margin: 0 -30px;
        padding: 30px;
        padding-bottom: 35px;
    }

    .content-card {
        padding: 30px;
        padding-top: 25px;
    }

    .testimonials-avatar-box {
        transform: translate(30px, -30px);
        border-radius: 20px;
    }

    .testimonials-avatar-box img {
        width: 80px;
    }

    .testimonials-item-title {
        margin-bottom: 10px;
        margin-left: 95px;
    }

    .testimonials-text {
        line-clamp: 2;
        -webkit-line-clamp: 2;
    }

    /* testimonials modal */

    .modal-container {
        padding: 20px;
    }

    .testimonials-modal {
        display: flex;
        justify-content: flex-start;
        align-items: stretch;
        gap: 25px;
        padding: 30px;
        border-radius: 20px;
    }

    .modal-img-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .modal-avatar-box {
        border-radius: 18px;
        margin-bottom: 0;
    }

    .modal-avatar-box img {
        width: 65px;
    }

    .modal-img-wrapper > img {
        display: block;
        flex-grow: 1;
        width: 35px;
    }

    /* clients */

    .clients-list {
        gap: 50px;
        margin: 0 -30px;
        padding: 45px;
        scroll-padding-inline: 45px;
    }

    .clients-item {
        min-width: calc(33.33% - 35px);
    }

    /**
   * #RESUME
   */

    .timeline-list {
        margin-left: 65px;
    }

    .timeline-item:not(:last-child)::before {
        left: -40px;
    }

    .timeline-item::after {
        height: 8px;
        width: 8px;
        left: -43px;
    }

    .skills-item:not(:last-child) {
        margin-bottom: 25px;
    }

    /**
   * #PORTFOLIO, BLOG
   */

    .project-img,
    .blog-banner-box {
        border-radius: 16px;
    }

    .blog-posts-list {
        gap: 30px;
    }

    .blog-content {
        padding: 25px;
    }

    /**
   * #CONTACT
   */
    .mapbox {
        height: 380px;
        border-radius: 18px;
    }

    .input-wrapper {
        gap: 20px;
        /* margin-bottom: 30px; */
    }

    .search-function {
        padding: 15px 20px;
    }

    .form-input {
        padding: 15px 20px;
    }

    textarea.form-input {
        margin-bottom: 30px;
    }

    .form-btn {
        --fs-6: 16px;
        padding: 16px 20px;
    }

    .form-btn ion-icon {
        font-size: 18px;
    }
}

/**
 * responsive larger than 600px screen
 */

@media (min-width: 600px) {
    .navbar-link {
        flex-direction: row;
        gap: 8px;
        font-size: 14px;
    }

    .navbar-link ion-icon {
        font-size: 20px;
    }

    .navbar-link span {
        font-size: 14px;
    }
}

/**
 * responsive larger than 600px screen
 */

@media only screen and (max-width: 600px) {
    .info_more-btn {
        top: 0px;
        right: 10px;
    }

    .lb-image {
        max-width: 100%;
        max-height: 100%;
        margin: 0 auto;
        display: block;
    }

    .lightbox {
        display: flexbox;
        margin-top: 25vh;
        align-items: center;
        justify-content: center;
        height: 100vh;
    }

    /* Responsiveness for SweetAlert */
    .swal2-popup {
        width: 90% !important;
        font-size: 14px !important;
    }
    .swal2-title {
        font-size: 18px !important;
    }
    .swal2-content {
        font-size: 16px !important;
    }
    .swal2-confirm,
    .swal2-cancel {
        font-size: 14px !important;
        padding: 8px 16px !important;
    }
}

/**
 * responsive larger than 768px screen
 */

@media (min-width: 768px) {
    /**
   * REUSED STYLE
   */

    .sidebar,
    article {
        width: 700px;
    }

    .has-scrollbar::-webkit-scrollbar-button {
        width: 100px;
    }

    .info_more-btn {
        top: 0px;
        right: 10px;
    }

    /**
   * SIDEBAR
   */

    .contacts-list {
        grid-template-columns: 1fr 1fr;
        gap: 30px 15px;
    }

    /**
   * NAVBAR
   */

    .navbar-link {
        --fs-8: 15px;
    }

    /**
   * ABOUT
   */

    /* testimonials modal */

    .testimonials-modal {
        gap: 35px;
        max-width: 680px;
    }

    .modal-avatar-box img {
        width: 80px;
    }

    /**
   * PORTFOLIO
   */

    .article-title {
        padding-bottom: 20px;
    }

    .filter-select-box {
        display: none;
    }

    .filter-list {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 25px;
        padding-left: 5px;
        margin-bottom: 30px;
    }

    .filter-item button {
        color: var(--light-gray);
        font-size: var(--fs-5);
        transition: var(--transition-1);
    }

    .filter-item button:hover {
        color: var(--light-gray-70);
    }

    .filter-item button.active {
        color: var(--orange-yellow-crayola);
    }

    /* portfolio and blog grid */

    .project-list,
    .blog-posts-list {
        grid-template-columns: 1fr 1fr;
    }

    /**
   * CONTACT
   */

    .input-wrapper {
        grid-template-columns: 1fr 1fr;
    }

    .form-btn {
        width: max-content;
        margin-left: auto;
    }
}

/**
 * responsive larger than 1024px screen
 */

@media (min-width: 1024px) {
    /**
   * CUSTOM PROPERTY
   */

    :root {
        /**
    * shadow
    */

        --shadow-1: -4px 8px 24px hsla(0, 0%, 0%, 0.125);
        --shadow-2: 0 16px 30px hsla(0, 0%, 0%, 0.125);
        --shadow-3: 0 16px 40px hsla(0, 0%, 0%, 0.125);
    }

    /**
   * REUSED STYLE
   */

    .sidebar,
    article {
        width: 970px;
        box-shadow: var(--shadow-5);
    }

    /**
   * MAIN 
   */

    main {
        margin-bottom: 60px;
    }

    .main-content {
        position: relative;
        width: max-content;
        margin: auto;
    }

    /**
   * NAVBAR
   */

    .navbar {
        position: absolute;
        bottom: auto;
        top: 0;
        left: auto;
        right: 0;
        width: max-content;
        border-radius: 0 20px;
        padding: 0 20px;
        box-shadow: none;
    }

    .navbar-list {
        gap: 8px;
        padding: 13px 20px;
    }

    .navbar-link {
        font-weight: var(--fw-500);
    }

    .navbar-link ion-icon {
        display: none;
    }

    /**
   * ABOUT
   */

    /* service */

    .service-list {
        grid-template-columns: 1fr 1fr;
        gap: 20px 25px;
    }

    /* testimonials */

    .testimonials-item {
        min-width: calc(50% - 15px);
    }

    /* clients */

    .clients-item {
        min-width: calc(25% - 38px);
    }

    /**
   * PORTFOLIO
   */

    .project-list {
        grid-template-columns: repeat(3, 1fr);
    }

    /**
   * BLOG
   */

    .blog-banner-box {
        height: 230px;
    }
}

/**
 * responsive larger than 1250px screen
 */

@media (min-width: 1250px) {
    /**
   * RESET
   */

    body::-webkit-scrollbar {
        width: 20px;
    }

    body::-webkit-scrollbar-track {
        background: var(--smoky-black);
    }

    body::-webkit-scrollbar-thumb {
        border: 5px solid var(--smoky-black);
        background: hsla(0, 0%, 100%, 0.1);
        border-radius: 20px;
        box-shadow:
            inset 1px 1px 0 hsla(0, 0%, 100%, 0.11),
            inset -1px -1px 0 hsla(0, 0%, 100%, 0.11);
    }

    body::-webkit-scrollbar-thumb:hover {
        background: hsla(0, 0%, 100%, 0.15);
    }

    body::-webkit-scrollbar-button {
        height: 60px;
    }

    /**
   * REUSED STYLE
   */

    .sidebar,
    article {
        width: auto;
    }

    article {
        min-height: 100%;
    }

    /**
   * MAIN
   */

    main {
        max-width: 1200px;
        margin-inline: auto;
        display: flex;
        justify-content: center;
        align-items: stretch;
        gap: 25px;
    }

    .main-content {
        min-width: 75%;
        width: 75%;
        margin: 0;
    }

    /**
   * SIDEBAR
   */

    .sidebar {
        position: sticky;
        top: 60px;
        max-height: max-content;
        height: 100%;
        margin-bottom: 0;
        padding-top: 60px;
        z-index: 1;
    }

    .sidebar-info {
        flex-direction: column;
    }

    .avatar-box img {
        width: 150px;
    }

    .info-content .name {
        white-space: nowrap;
        text-align: center;
    }

    .info-content .title {
        margin: auto;
    }

    .info_more-btn {
        display: none;
    }

    .sidebar-info_more {
        opacity: 1;
        visibility: visible;
    }

    .contacts-list {
        grid-template-columns: 1fr;
    }

    .contact-info :is(.contact-link) {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .contact-info :is(.contact-link, time, address) {
        --fs-7: 14px;
        font-weight: var(--fw-300);
    }

    .separator:last-of-type {
        margin: 15px 0;
        opacity: 0;
    }

    .social-list {
        justify-content: center;
    }

    /**
	 * RESUME
	 */

    .timeline-text {
        max-width: 700px;
    }
}

/*-----------------------------------*  #FOOTER
\*-----------------------------------*/

.footer {
    padding: 40px 15px;
    margin-top: 20px;
    border-top: 1px solid var(--jet);
    text-align: center;
    color: var(--light-gray-70);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-text {
    font-size: var(--fs-7);
    line-height: 1.6;
}

.footer-text b {
    color: var(--white-2);
    font-weight: var(--fw-600);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.footer-brand-dot {
    width: 6px;
    height: 6px;
    background: var(--orange-yellow-crayola);
    border-radius: 50%;
}

.footer-credits {
    font-size: var(--fs-8);
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-credits ion-icon {
    color: var(--bittersweet-shimmer);
    font-size: 1rem;
}

/**
 * RESPONSIVE FOR FOOTER
 */
@media (max-width: 580px) {
    .footer {
        padding-bottom: 80px; /* Space for fixed bottom navbar */
    }
}

/* BLOG COMMENT MODERN STYLES */
.comment-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--jet);
    padding: 16px;
    border-radius: 16px;
    display: flex;
    gap: 15px;
    transition: var(--transition-1);
}

.comment-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--orange-yellow-crayola);
}

.comment-avatar {
    width: 45px;
    height: 45px;
    background: var(--onyx);
    border: 1px solid var(--jet);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--orange-yellow-crayola);
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.comment-main {
    flex-grow: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.comment-user-name {
    color: var(--white-1);
    font-weight: 600;
    font-size: 0.95rem;
}

.comment-time {
    color: var(--light-gray-70);
    font-size: 0.75rem;
}

.comment-text {
    color: var(--light-gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

#commentForm {
    transition: var(--transition-1);
}

#commentForm:focus-within {
    box-shadow: 0 0 15px hsla(45, 100%, 72%, 0.1);
}

.comment-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.comment-count-badge {
    background: var(--jet);
    color: var(--orange-yellow-crayola);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* REPLY & ADMIN SPECIFIC STYLES */
.comment-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.replies-list {
    margin-left: 22px; /* Center of avatar (~45px/2) */
    padding-left: 28px;
    border-left: 2px solid var(--jet);
    margin-top: -15px; /* Pull closer to parent avatar */
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
}

.comment-reply {
    background: rgba(255, 255, 255, 0.015);
    border-radius: 16px;
    position: relative;
    border: 1px solid var(--jet);
}

.comment-reply::before {
    content: "";
    position: absolute;
    left: -28px;
    top: 38px; /* Alignment to avatar center */
    width: 28px;
    height: 2px;
    background: var(--jet);
}

.admin-reply {
    border-color: var(--orange-yellow-crayola) !important;
    background: linear-gradient(
        to right,
        rgba(255, 219, 112, 0.03),
        transparent
    ) !important;
}

.admin-reply::before {
    background: var(--orange-yellow-crayola);
}

.admin-avatar {
    background: var(--orange-yellow-crayola) !important;
    color: var(--eerie-black-1) !important;
    border-color: var(--orange-yellow-crayola) !important;
}

.admin-badge {
    font-size: 0.65rem;
    background: var(--orange-yellow-crayola);
    color: var(--eerie-black-1);
    padding: 1px 6px;
    border-radius: 4px;
    margin-left: 5px;
    text-transform: uppercase;
    font-weight: 700;
}

/* BLOG MODAL RESPONSIVE STYLES */
.blog-modal {
    width: 95% !important;
    max-width: 800px !important;
    max-height: 90vh !important;
    padding: 30px !important;
    overflow-y: auto !important;
    border-radius: 24px !important;
}

.blog-modal .spinner {
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--orange-yellow-crayola);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

.blog-detail-header h2 {
    font-size: 1.8rem;
}

#modalBlogSlider {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: var(--shadow-2);
}

.blog-interactions {
    border-top: 1px solid var(--jet);
    border-bottom: 1px solid var(--jet);
    padding: 20px 0;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 35px;
}

.blog-interactions button {
    background: none;
    border: none;
    color: var(--white-2);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1rem;
    white-space: nowrap;
}

.blog-interactions button ion-icon {
    font-size: 1.4rem;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 768px) {
    .blog-modal {
        padding: 20px !important;
        border-radius: 20px !important;
    }

    .blog-detail-header h2 {
        font-size: 1.5rem;
    }

    .blog-interactions {
        gap: 15px;
        padding: 15px 0;
    }

    .blog-interactions button {
        font-size: 0.9rem;
    }

    #modalBlogSlides figure {
        height: 300px !important;
    }
}

@media (max-width: 450px) {
    .blog-modal {
        padding: 15px !important;
        width: 98% !important;
    }

    .blog-detail-header h2 {
        font-size: 1.3rem;
    }

    .blog-interactions {
        justify-content: space-between;
        gap: 10px;
    }

    .blog-interactions button span {
        font-size: 0.8rem;
    }

    #modalBlogSlides figure {
        height: 220px !important;
    }

    .comment-reply {
        margin-left: 20px;
    }
}

/*-----------------------------------*\
  #PREMIUM LIGHT MODE SYSTEM
\*-----------------------------------*/

body.light-mode {
    --bg-gradient-onyx: linear-gradient(
        to bottom right,
        hsl(210, 30%, 98%) 3%,
        hsl(210, 30%, 94%) 97%
    );
    --bg-gradient-jet:
        linear-gradient(
            to bottom right,
            hsla(210, 30%, 85%, 0.3) 0%,
            hsla(210, 30%, 95%, 0) 100%
        ),
        hsl(210, 30%, 98%);
    --bg-gradient-yellow-2:
        linear-gradient(
            135deg,
            hsla(45, 90%, 55%, 0.15) 0%,
            hsla(35, 90%, 50%, 0) 59.86%
        ),
        hsl(210, 30%, 96%);
    --border-gradient-onyx: linear-gradient(
        to bottom right,
        hsl(210, 30%, 88%) 0%,
        hsla(210, 30%, 95%, 0) 50%
    );

    --jet: hsl(210, 30%, 88%);
    --onyx: hsl(210, 30%, 94%);
    --eerie-black-1: hsl(210, 30%, 98%);
    --eerie-black-2: hsl(210, 30%, 96%);
    --smoky-black: #ffffff;
    --white-1: hsl(210, 20%, 30%);
    --white-2: hsl(210, 25%, 15%);
    --light-gray: hsl(210, 15%, 45%);
    --light-gray-70: hsla(210, 15%, 45%, 0.7);

    --shadow-1: -4px 8px 24px hsla(210, 20%, 30%, 0.08);
    --shadow-2: 0 16px 30px hsla(210, 20%, 30%, 0.1);
    --shadow-3: 0 16px 40px hsla(210, 20%, 30%, 0.1);
    --shadow-4: 0 25px 50px hsla(210, 20%, 30%, 0.08);
    --shadow-5: 0 24px 80px hsla(210, 20%, 30%, 0.12);
}

/* Base Overrides */
body.light-mode {
    background-color: #f0f2f5;
    color: var(--white-1);
}

body.light-mode .sidebar,
body.light-mode .navbar,
body.light-mode article,
body.light-mode .project-item,
body.light-mode .blog-card,
body.light-mode .testimonials-item,
body.light-mode .service-item {
    background: var(--eerie-black-2) !important;
    border: 1px solid var(--jet) !important;
    box-shadow: var(--shadow-2);
}

body.light-mode .sidebar-info_more {
    border-top: 1px solid var(--jet);
}

body.light-mode .contact-item {
    border: 1px solid var(--jet);
    background: var(--eerie-black-1);
}

body.light-mode .icon-box {
    background: var(--bg-gradient-jet);
    box-shadow: var(--shadow-1);
}

body.light-mode .separator {
    background: var(--jet);
}

body.light-mode .form-input {
    background: var(--onyx) !important;
    border: 1px solid var(--jet) !important;
    color: var(--white-2) !important;
}

body.light-mode .form-input::placeholder {
    color: var(--light-gray-70);
}

body.light-mode .modal-container {
    background: hsla(0, 0%, 100%, 0.6);
}

body.light-mode .overlay {
    background: hsla(0, 0%, 100%, 0.9);
}

body.light-mode .category-item {
    color: var(--white-1);
}

body.light-mode .category-item.active {
    color: var(--orange-yellow-crayola);
}

body.light-mode .project-img::before {
    background: hsla(0, 0%, 100%, 0.2);
}

body.light-mode .blog-content {
    background: var(--eerie-black-2);
}

/* Theme Toggle Button UI/UX */
.theme-toggle-container {
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px solid var(--jet);
    display: flex;
    align-items: center;
}

.theme-toggle-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bg-gradient-onyx);
    border: 1px solid var(--jet);
    color: var(--orange-yellow-crayola);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.theme-toggle-btn:hover {
    transform: scale(1.05);
    background: var(--bg-gradient-jet);
    box-shadow: var(--shadow-1);
}

.theme-toggle-btn ion-icon {
    font-size: 22px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle-btn:active ion-icon {
    transform: rotate(45deg) scale(0.9);
}

/* Mobile Responsiveness for Theme Toggle */
@media (max-width: 580px) {
    .navbar {
        padding-bottom: 5px;
    }

    .navbar-list {
        gap: 0;
        justify-content: space-around;
        padding: 0 5px;
    }

    .theme-toggle-container {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
    }

    .theme-toggle-btn {
        width: 38px;
        height: 38px;
        background: transparent;
        border: none;
    }

    .theme-toggle-btn ion-icon {
        font-size: 20px;
    }
}

/* Fix for existing scroll button in light mode */
body.light-mode .scroll-button {
    background: var(--bg-gradient-jet);
    border-color: var(--jet);
    box-shadow: var(--shadow-3);
}

/* Floating Theme Button Optimization */
.floating-theme-btn {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 100;
    box-shadow: var(--shadow-3);
}

@media (max-width: 1250px) {
    .floating-theme-btn {
        top: 20px;
        right: 20px;
    }
}

@media (max-width: 580px) {
    .floating-theme-btn {
        top: auto;
        bottom: 85px; /* Above the mobile navbar */
        right: 20px;
        width: 40px;
        height: 40px;
        background: var(--bg-gradient-onyx);
        border: 1px solid var(--jet);
        border-radius: 50%; /* Circular on mobile for better touch feel */
    }
}

/* Removal of borders in light mode for profile/contact items */
body.light-mode .contact-item {
    border: none !important;
    background: transparent !important;
    padding-left: 0 !important;
}

body.light-mode .contact-item .icon-box {
    box-shadow: none !important;
    background: var(--onyx) !important;
}

/* Relocating Theme Toggle on Mobile to avoid collision with Scroll Button */
@media (max-width: 580px) {
    .floating-theme-btn {
        bottom: auto !important; /* Reset from previous change */
        top: 20px !important;
        right: 20px !important;
        background: var(--bg-gradient-onyx) !important;
        border: 1px solid var(--jet) !important;
        box-shadow: var(--shadow-2) !important;
    }
}

/* Fix for Location Text Color in Light Mode */
body.light-mode address a,
body.light-mode time,
body.light-mode .contact-link {
    color: var(--white-1) !important;
}

/* Accessibility Hub Styling */
.accessibility-hub {
    position: fixed;
    top: 25px;
    left: 25px;
    z-index: 1000;
}

.hub-trigger {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bg-gradient-onyx);
    border: 1px solid var(--jet);
    color: var(--orange-yellow-crayola);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-2);
    transition: all 0.3s ease;
}

.hub-trigger:hover {
    transform: scale(1.05);
    background: var(--bg-gradient-jet);
}

.hub-menu {
    position: absolute;
    top: 55px;
    left: 0;
    background: var(--bg-gradient-onyx);
    border: 1px solid var(--jet);
    border-radius: 15px;
    padding: 10px;
    min-width: 200px;
    display: none; /* Controlled by JS */
    flex-direction: column;
    gap: 5px;
    box-shadow: var(--shadow-5);
    backdrop-filter: blur(15px);
    animation: hubFadeIn 0.3s ease forwards;
    max-height: 70vh;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
}

.hub-menu::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

@keyframes hubFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hub-menu.active {
    display: flex;
}

.hub-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border-radius: 10px;
    color: var(--white-2);
    background: transparent;
    border: none;
    width: 100%;
    cursor: pointer;
    transition: 0.2s;
    font-size: 14px;
    text-align: left;
}

.hub-item:hover {
    background: var(--jet);
}

.hub-item ion-icon {
    font-size: 18px;
    color: var(--orange-yellow-crayola);
}

/* Custom indicator for current language/theme */
.hub-status {
    margin-left: auto;
    font-size: 10px;
    background: var(--jet);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--light-gray);
}

@media (max-width: 580px) {
    .accessibility-hub {
        top: 15px;
        left: 15px;
    }
    .hub-trigger {
        width: 40px;
        height: 40px;
    }
}

/* Removal of borders for specific profile items in light mode */
body.light-mode .contacts-list .contact-item {
    border: none !important;
    background: transparent !important;
    padding: 10px 0 !important;
}

body.light-mode .contacts-list .contact-item .icon-box {
    background: var(--bg-gradient-jet) !important;
    box-shadow: var(--shadow-1) !important;
}

/* Reveal Button Styling (When Hub is hidden) */
.hub-reveal-btn {
    width: 25px;
    height: 44px;
    background: var(--bg-gradient-onyx);
    border: 1px solid var(--jet);
    border-left: none;
    border-radius: 0 10px 10px 0;
    color: var(--orange-yellow-crayola);
    display: none; /* Controlled by JS */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-2);
    position: fixed;
    top: 25px;
    left: 0;
    z-index: 1000;
    transition: 0.3s;
    opacity: 0.6;
}

.hub-reveal-btn:hover {
    opacity: 1;
    width: 35px;
}

.accessibility-hub.minimized .hub-trigger {
    display: none;
}

.accessibility-hub.minimized .hub-reveal-btn {
    display: flex;
}

/*-----------------------------------*  #PROJECT BUTTONS
\*-----------------------------------*/

.project-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    margin-bottom: 0;
}

.close-btn-styled,
.download-btn-styled {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--jet);
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 1px solid var(--jet);
    cursor: pointer;
}

.close-btn-styled {
    color: var(--light-gray-70);
}

.close-btn-styled:hover {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
    border-color: rgba(255, 107, 107, 0.3);
    transform: translateY(-2px);
}

.close-icon-wrapper {
    display: flex;
    font-size: 1.1rem;
}

.close-text {
    font-weight: 500;
    font-size: 0.85rem;
}

.download-btn-styled {
    color: var(--orange-yellow-crayola);
    border: 1px solid var(--orange-yellow-crayola);
    background: transparent;
}

.download-btn-styled:hover {
    background: var(--orange-yellow-crayola);
    color: var(--eerie-black-1);
    box-shadow: 0 5px 15px rgba(255, 206, 107, 0.25);
    transform: translateY(-2px);
}

.download-icon-wrapper {
    display: flex;
    font-size: 1.1rem;
}

.download-text {
    font-weight: 600;
    font-size: 0.85rem;
}

.download-btn-styled.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: var(--jet);
    color: var(--light-gray-70);
}

.download-btn-styled.disabled:hover {
    transform: none;
    background: var(--jet);
    box-shadow: none;
}

/* =======================
   PROJECT MANAGEMENT VIEWS
   ======================= */

.view-switcher .view-btn {
    background: var(--onyx);
    border: 1px solid var(--jet);
    color: var(--light-gray);
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-switcher .view-btn.active {
    background: var(--orange-yellow-crayola);
    color: var(--smoky-black);
    border-color: var(--orange-yellow-crayola);
    box-shadow: var(--shadow-2);
}

.view-switcher .view-btn ion-icon {
    font-size: 1.3rem;
}

/* TABLE VIEW STYLE */
.table-view-wrapper {
    overflow-x: auto;
    background: var(--onyx);
    border: 1px solid var(--jet);
    border-radius: 14px;
    padding: 5px;
    margin-bottom: 20px;
}

.project-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    color: var(--white-2);
    min-width: 650px;
}

.project-table th {
    text-align: left;
    padding: 15px;
    color: var(--orange-yellow-crayola);
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--jet);
}

.project-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 14px;
    vertical-align: middle;
}

.table-row {
    transition: 0.2s;
}

.table-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.table-title-cell {
    display: flex;
    align-items: center;
    gap: 15px;
}

.table-title-cell img {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--jet);
}

.table-title-cell span {
    font-weight: 500;
}

.badge {
    background: rgba(255, 219, 112, 0.1);
    color: var(--orange-yellow-crayola);
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
}

.action-btn {
    background: var(--jet);
    border: 1px solid var(--onyx);
    color: var(--orange-yellow-crayola);
    width: 35px;
    height: 35px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn:hover {
    background: var(--orange-yellow-crayola);
    color: var(--smoky-black);
    transform: translateY(-2px);
}

.action-btn ion-icon {
    font-size: 1.2rem;
}

/* KANBAN VIEW STYLE */
.kanban-wrapper {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding: 5px 5px 25px;
    margin-bottom: 20px;
    align-items: flex-start;
    scrollbar-width: thin;
    scrollbar-color: var(--orange-yellow-crayola) transparent;
}

.kanban-column {
    min-width: 320px;
    max-width: 320px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--jet);
    border-radius: 16px;
    padding: 18px;
    flex-shrink: 0;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.kanban-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--orange-yellow-crayola);
}

.kanban-header h3 {
    font-size: 15px;
    color: var(--white-2);
    font-weight: 600;
}

.kanban-header .count {
    background: var(--jet);
    color: var(--orange-yellow-crayola);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.kanban-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
    padding-right: 5px;
}

.kanban-card {
    background: var(--onyx);
    border: 1px solid var(--jet);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.kanban-card:hover {
    transform: translateY(-5px);
    border-color: var(--orange-yellow-crayola);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.kanban-card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-bottom: 1px solid var(--jet);
}

.kanban-card .card-content {
    padding: 15px;
}

.kanban-card h4 {
    font-size: 14px;
    color: var(--white-1);
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.4;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .view-switcher {
        justify-content: center !important;
    }
}

/*-----------------------------------*  #PORTFOLIO VIEW SWITCHER
\*-----------------------------------*/

.view-container {
    animation: fadeScale 0.4s ease forwards;
}

@keyframes fadeScale {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.status-badge {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-planning {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.status-development {
    background: rgba(255, 206, 107, 0.15);
    color: var(--orange-yellow-crayola);
    border: 1px solid rgba(255, 206, 107, 0.3);
}

.status-completed {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-maintenance {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.table-action-btn:hover {
    transform: scale(1.2);
    color: var(--white-1);
    transition: 0.2s;
}

/* Table & Grid Switcher Styles */
.view-switcher {
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .view-switcher {
        justify-content: center !important;
    }
}

.project-row {
    cursor: pointer;
}

.project-row:hover td {
    color: var(--orange-yellow-crayola) !important;
}

/*-----------------------------------*\
  #AUTH & ORDER TRACKING PAGES
\*-----------------------------------*/

/* Standalone Pages Base Body */
.standalone-page {
    background: var(--smoky-black);
    color: var(--white-1);
    font-size: var(--fs-5);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    font-family: "Poppins", "Inter", sans-serif;
}

/* Main Container */
.auth-container,
.order-track-container {
    width: 100%;
    max-width: 480px;
    background: var(--eerie-black-2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--jet);
    box-shadow: var(--shadow-5);
    overflow: hidden;
    animation: authFadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Desktop Two-Column Layout */
.auth-wrapper {
    display: flex;
    width: 100%;
    max-width: 900px;
    background: var(--eerie-black-2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid var(--jet);
    box-shadow: var(--shadow-5);
    overflow: hidden;
    animation: authFadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.auth-wrapper .auth-sidebar {
    width: 45%;
    background: var(--bg-gradient-onyx);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-right: 1px solid var(--jet);
}

.auth-wrapper .auth-main {
    width: 55%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Auth Sidebar Content */
.auth-sidebar .auth-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--orange-yellow-crayola);
    margin-bottom: 25px;
    box-shadow: 0 0 30px rgba(255, 219, 112, 0.15);
}

.auth-sidebar .auth-logo-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--onyx);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border: 3px solid var(--orange-yellow-crayola);
    box-shadow: 0 0 30px rgba(255, 219, 112, 0.15);
}

.auth-sidebar .auth-logo-placeholder ion-icon {
    font-size: 3rem;
    color: var(--light-gray-70);
}

.auth-sidebar .auth-brand-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white-1);
    margin-bottom: 8px;
}

.auth-sidebar .auth-brand-subtitle {
    color: var(--light-gray-70);
    font-size: var(--fs-6);
    line-height: 1.6;
    max-width: 250px;
}

/* Auth Icon (for pages without logo) */
.auth-icon,
.order-track-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--orange-yellow-crayola),
        hsl(45, 80%, 50%)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(255, 219, 112, 0.2);
}

.auth-icon ion-icon,
.order-track-icon ion-icon {
    font-size: 2.2rem;
    color: var(--smoky-black);
}

/* Headers */
.auth-header,
.order-track-header {
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.03),
        transparent
    );
    padding: 40px 35px;
    text-align: center;
    border-bottom: 1px solid var(--jet);
}

.auth-title,
.order-track-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white-1);
    margin-bottom: 8px;
}

.auth-subtitle,
.order-track-subtitle {
    color: var(--light-gray-70);
    font-size: var(--fs-6);
}

/* Login Logo */
.login-logo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--orange-yellow-crayola);
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(255, 219, 112, 0.15);
}

/* Form Styles */
.auth-form,
.order-track-form {
    padding: 35px;
}

.auth-form .form-group,
.order-track-form .form-group {
    margin-bottom: 22px;
}

.auth-form .form-label,
.order-track-form .form-label {
    display: block;
    color: var(--white-2);
    font-size: var(--fs-6);
    font-weight: 500;
    margin-bottom: 10px;
}

.auth-form .form-input,
.order-track-form .form-input {
    width: 100%;
    background: var(--onyx);
    border: 1px solid var(--jet);
    border-radius: 12px;
    padding: 15px 18px;
    color: var(--white-1);
    font-size: var(--fs-5);
    transition: var(--transition-1);
    outline: none;
    font-family: inherit;
}

.auth-form .form-input:focus,
.order-track-form .form-input:focus {
    border-color: var(--orange-yellow-crayola);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 0 0 4px rgba(255, 219, 112, 0.1);
}

.auth-form .form-input::placeholder,
.order-track-form .form-input::placeholder {
    color: var(--light-gray-70);
}

.form-error {
    color: #f87171;
    font-size: 12px;
    margin-top: 8px;
    display: block;
}

/* Password Field */
.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--light-gray-70);
    cursor: pointer;
    font-size: 1.3rem;
    display: flex;
    transition: var(--transition-1);
    padding: 0;
}

.password-toggle:hover {
    color: var(--orange-yellow-crayola);
}

/* Checkbox Row */
.form-checkbox-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--orange-yellow-crayola);
    cursor: pointer;
}

.form-checkbox span {
    color: var(--light-gray);
    font-size: var(--fs-6);
}

.forgot-link {
    color: var(--orange-yellow-crayola);
    font-size: var(--fs-6);
    text-decoration: none;
    transition: var(--transition-1);
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Submit Buttons */
.auth-btn,
.login-btn,
.order-track-btn {
    width: 100%;
    background: linear-gradient(
        135deg,
        var(--orange-yellow-crayola),
        hsl(45, 80%, 50%)
    );
    color: var(--smoky-black);
    font-size: var(--fs-4);
    font-weight: 700;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 25px -5px rgba(255, 219, 112, 0.2);
    font-family: inherit;
    text-decoration: none;
}

.auth-btn:hover,
.login-btn:hover,
.order-track-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(255, 219, 112, 0.3);
    filter: brightness(1.1);
}

.auth-btn:active,
.login-btn:active,
.order-track-btn:active {
    transform: translateY(0);
}

.auth-btn ion-icon,
.login-btn ion-icon,
.order-track-btn ion-icon {
    font-size: 1.4rem;
}

/* Secondary Button */
.auth-btn-secondary {
    background: var(--onyx);
    color: var(--white-1);
    border: 1px solid var(--jet);
    box-shadow: none;
}

.auth-btn-secondary:hover {
    background: var(--jet);
    box-shadow: none;
    transform: translateY(-2px);
}

/* Alert Styles */
.alert-success {
    background: hsla(145, 63%, 42%, 0.1);
    border: 1px solid hsla(145, 63%, 42%, 0.2);
    color: #4ade80;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: var(--fs-6);
}

.alert-error {
    background: hsla(0, 72%, 51%, 0.1);
    border: 1px solid hsla(0, 72%, 51%, 0.2);
    color: #f87171;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: var(--fs-6);
}

.alert-error ion-icon {
    color: #ef4444;
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-error ul {
    list-style: none;
    color: #f87171;
    font-size: var(--fs-6);
}

.alert-error span {
    color: #f87171;
    font-size: var(--fs-6);
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success ion-icon {
    color: #22c55e;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.alert-success span {
    color: #4ade80;
    font-size: var(--fs-6);
}

/* Info Box */
.info-box {
    background: rgba(255, 219, 112, 0.05);
    border: 1px solid var(--jet);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 22px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.info-box ion-icon {
    color: var(--orange-yellow-crayola);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-box p {
    color: var(--light-gray-70);
    font-size: var(--fs-6);
    line-height: 1.6;
}

.info-box-content h4 {
    color: var(--white-2);
    font-size: var(--fs-5);
    font-weight: 600;
    margin-bottom: 8px;
}

.info-box-content p {
    color: var(--light-gray-70);
    font-size: var(--fs-6);
    line-height: 1.6;
}

/* Recovery Steps */
.recovery-steps {
    margin-bottom: 28px;
}

.recovery-steps h3 {
    color: var(--white-2);
    font-size: var(--fs-5);
    font-weight: 600;
    margin-bottom: 18px;
}

.recovery-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
    padding: 14px 18px;
    background: var(--onyx);
    border-radius: 12px;
    border: 1px solid var(--jet);
    transition: var(--transition-1);
}

.recovery-step:hover {
    border-color: var(--orange-yellow-crayola);
}

.step-number {
    width: 28px;
    height: 28px;
    background: var(--orange-yellow-crayola);
    color: var(--smoky-black);
    font-size: 13px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-text {
    color: var(--light-gray);
    font-size: var(--fs-6);
    line-height: 1.5;
}

/* Footer */
.auth-footer,
.login-footer,
.order-track-footer {
    padding: 22px 35px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.1);
}

.auth-footer p,
.login-footer p,
.order-track-footer p {
    color: var(--light-gray-70);
    font-size: var(--fs-6);
}

.auth-footer a,
.login-footer a,
.order-track-footer a {
    color: var(--orange-yellow-crayola);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-1);
}

.auth-footer a:hover,
.login-footer a:hover,
.order-track-footer a:hover {
    text-decoration: underline;
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--light-gray-70);
    text-decoration: none;
    font-size: var(--fs-6);
    margin-top: 16px;
    transition: var(--transition-1);
    padding: 8px 16px;
    border-radius: 8px;
}

.back-link:hover {
    color: var(--orange-yellow-crayola);
    background: rgba(255, 219, 112, 0.05);
}

.back-link ion-icon {
    font-size: 1.1rem;
}

/* Auth Animation */
@keyframes authFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Decorative Elements */
.auth-decoration {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        hsla(45, 90%, 55%, 0.1) 0%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
}

.auth-decoration.top-left {
    top: -200px;
    left: -200px;
}

.auth-decoration.bottom-right {
    bottom: -200px;
    right: -200px;
}

/* Responsive Styles for Auth Pages */
@media (max-width: 768px) {
    .standalone-page {
        padding: 20px;
    }

    .auth-wrapper {
        flex-direction: column;
        max-width: 100%;
    }

    .auth-wrapper .auth-sidebar {
        width: 100%;
        padding: 35px 25px;
        border-right: none;
        border-bottom: 1px solid var(--jet);
    }

    .auth-wrapper .auth-main {
        width: 100%;
        padding: 30px 25px;
    }

    .auth-header,
    .order-track-header {
        padding: 30px 25px;
    }

    .auth-form,
    .order-track-form {
        padding: 28px 25px;
    }

    .auth-footer,
    .login-footer,
    .order-track-footer {
        padding: 20px 25px;
    }

    .auth-title,
    .order-track-title {
        font-size: 1.4rem;
    }

    .login-logo,
    .auth-sidebar .auth-logo,
    .auth-sidebar .auth-logo-placeholder {
        width: 80px;
        height: 80px;
    }

    .auth-icon,
    .order-track-icon {
        width: 70px;
        height: 70px;
    }

    .auth-icon ion-icon,
    .order-track-icon ion-icon {
        font-size: 2rem;
    }

    .form-checkbox-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .auth-decoration {
        display: none;
    }
}

@media (max-width: 480px) {
    .standalone-page {
        padding: 15px;
    }

    .auth-container,
    .order-track-container {
        border-radius: 16px;
    }

    .auth-header,
    .order-track-header {
        padding: 25px 20px;
    }

    .auth-form,
    .order-track-form {
        padding: 22px 20px;
    }

    .auth-footer,
    .login-footer,
    .order-track-footer {
        padding: 18px 20px;
    }

    .auth-title,
    .order-track-title {
        font-size: 1.25rem;
    }

    .auth-subtitle,
    .order-track-subtitle {
        font-size: 13px;
    }

    .auth-form .form-input,
    .order-track-form .form-input {
        padding: 13px 15px;
        font-size: 14px;
    }

    .auth-btn,
    .login-btn,
    .order-track-btn {
        padding: 14px 20px;
        font-size: 15px;
    }

    .info-box {
        padding: 14px;
    }

    .recovery-step {
        padding: 12px 14px;
    }
}

/*-----------------------------------*\
  #ORDER TRACKING RESULT PAGE
\*-----------------------------------*/

/* Result Container */
.result-container {
    width: 100%;
    max-width: 580px;
    background: var(--eerie-black-2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--jet);
    box-shadow: var(--shadow-5);
    overflow: hidden;
    animation: authFadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Result Header */
.result-header {
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.03),
        transparent
    );
    padding: 35px 30px;
    text-align: center;
    border-bottom: 1px solid var(--jet);
}

.order-badge {
    display: inline-block;
    background: rgba(255, 219, 112, 0.05);
    border: 1px solid rgba(255, 219, 112, 0.2);
    padding: 10px 20px;
    border-radius: 50px;
    color: var(--orange-yellow-crayola);
    font-family: "Courier New", monospace;
    font-size: var(--fs-6);
    font-weight: 600;
    margin-bottom: 18px;
}

.result-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white-1);
    margin-bottom: 8px;
}

.result-subtitle {
    color: var(--light-gray-70);
    font-size: var(--fs-6);
}

.result-subtitle .tier-badge {
    color: var(--orange-yellow-crayola);
    font-weight: 600;
}

/* Progress Section */
.progress-section {
    padding: 30px;
}

.step-list {
    position: relative;
    padding-left: 55px;
    list-style: none;
    margin: 0;
}

.step-list::before {
    content: "";
    position: absolute;
    left: 21px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: var(--jet);
}

.progress-section .step-item {
    position: relative;
    margin-bottom: 30px;
    padding: 0;
    background: none;
    border: none;
}

.progress-section .step-item:last-child {
    margin-bottom: 0;
}

.step-icon {
    position: absolute;
    left: -55px;
    width: 44px;
    height: 44px;
    background: var(--onyx);
    border: 2px solid var(--jet);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: var(--transition-1);
    font-size: 1.2rem;
    color: var(--light-gray-70);
}

.progress-section .step-item.active .step-icon {
    border-color: var(--orange-yellow-crayola);
    background: var(--orange-yellow-crayola);
    color: var(--smoky-black);
    box-shadow: 0 0 20px rgba(255, 219, 112, 0.2);
}

.progress-section .step-item.completed .step-icon {
    border-color: #22c55e;
    background: #22c55e;
    color: white;
}

.step-content h4 {
    color: var(--white-1);
    font-size: var(--fs-5);
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.step-content p {
    color: var(--light-gray-70);
    font-size: var(--fs-6);
    margin: 0;
    line-height: 1.5;
}

/* Status Badge */
.status-badge {
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-paid {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-pending {
    background: rgba(255, 219, 112, 0.1);
    color: var(--orange-yellow-crayola);
    border: 1px solid rgba(255, 219, 112, 0.3);
}

.status-processing {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-cancelled {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 25px 30px;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.info-item label {
    display: block;
    color: var(--light-gray-70);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    font-weight: 500;
}

.info-item span {
    color: var(--white-1);
    font-weight: 600;
    font-size: var(--fs-6);
}

/* Action Buttons */
.action-buttons {
    padding: 20px 30px 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: var(--fs-6);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white-2);
    cursor: pointer;
    font-family: inherit;
}

.action-btn:hover {
    border-color: var(--orange-yellow-crayola);
    color: var(--orange-yellow-crayola);
    transform: translateY(-2px);
}

.action-btn ion-icon {
    font-size: 1.2rem;
}

/* Result Footer */
.result-footer {
    padding: 22px 30px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.1);
}

/* Result Page Responsive */
@media (max-width: 768px) {
    .result-container {
        max-width: 100%;
    }

    .result-header {
        padding: 28px 22px;
    }

    .progress-section {
        padding: 25px 22px;
    }

    .info-grid {
        padding: 22px;
    }

    .action-buttons {
        padding: 18px 22px 25px;
    }
}

@media (max-width: 480px) {
    .result-header {
        padding: 22px 18px;
    }

    .result-title {
        font-size: 1.25rem;
    }

    .progress-section {
        padding: 22px 18px;
    }

    .step-list {
        padding-left: 50px;
    }

    .step-icon {
        left: -50px;
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .step-list::before {
        left: 18px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 20px 18px;
    }

    .action-buttons {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px 18px 22px;
    }

    .result-footer {
        padding: 18px;
    }
}
