/********** Template CSS **********/
:root {
    --primary: #0463FA;
    --light: #EFF5FF;
    --dark: #1B2C51;
}

/*** Font Weight ***/
.fw-medium { font-weight: 500 !important; }
.fw-bold { font-weight: 700 !important; }
.fw-black { font-weight: 900 !important; }

/*** Back to Top Button ***/
.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
    width: 50px;      /* ensure round shape */
    height: 50px;     /* ensure round shape */
    border-radius: 50%; /* perfectly round */
    background-color: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Mobile-specific adjustments */
@media (max-width: 576px) {
    .back-to-top {
        right: 20px;      /* closer to edge on mobile */
        bottom: 20px;     /* closer to bottom on mobile */
        width: 40px;      /* smaller on mobile */
        height: 40px;     /* smaller on mobile */
        font-size: 18px;  /* adjust icon size */
    }
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
    z-index: 99999;
}
#spinner.show {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.5s ease-out, visibility 0s linear 0s;
}

/*** Buttons ***/
.btn {
    font-weight: 500;
    transition: 0.5s;
}
.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}
.btn-square { width: 38px; height: 38px; }
.btn-sm-square { width: 32px; height: 32px; }
.btn-lg-square { width: 48px; height: 48px; }
.btn-square, .btn-sm-square, .btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
/* ... rest of your existing CSS ... */
