body {
    font-family: 'Inter', sans-serif;
}

/* ---------------------------------
           Brand colors (easy to align later)
        ----------------------------------*/
:root {
    --qv-indigo: 63, 43, 150;
    /* #3f2b96 */
    --qv-cosmic: 108, 99, 255;
    /* #6c63ff */
    --qv-light: 245, 245, 245;
    /* #f5f5f5 */
    --qv-dark: 26, 26, 46;
    /* #1a1a2e */
    --qv-dan-blue: 5, 8, 33;
    /* #050821 */
}

.color-cosmic {
    color: rgba(var(--qv-cosmic));
}

.color-dan-blue {
    color: #373a84;
}

.color-dark {
    color: rgba(var(--qv-dark));
}

.color-indigo {
    color: rgba(var(--qv-indigo));
}

.color-light {
    color: rgba(var(---qv-light));
}

.dblue {
    color: #012970;
}

.bg-dblue {
    background-color: #012970;
}

.dprimary {
    color: #1776a1;
}

.bg-dprimary {
    background-color: #1776a1;
}

.btn-cosmic {
    background: linear-gradient(45deg,
            rgb(var(--qv-indigo)),
            rgb(var(--qv-cosmic)));
    color: #fff;
    border: none;
}

.btn-cosmic:hover,
.btn-cosmic:focus {
    color: #e4d232;
    opacity: 0.90;
    transform: translateY(-1px);
}


/* ---------------------------------
           Animations
        ----------------------------------*/
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(var(--qv-dan-blue)), rgba(var(--qv-dark)));
    color: #fff;
    text-align: center;
    padding: 0px 20px 0px 20px;
    position: relative;
    /* min-height: 55vh; */
}

.hero .logo {
    max-height: 60px;
}

.hero h1 {
    font-size: 3rem;
    margin-top: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.25rem;
    margin-top: 15px;
}

/* Watermark Q */
#waterMark::before {
    content: "";
    position: absolute;

    width: 900px;
    /* control size */
    height: 900px;

    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);

    background-image: url("../ims/q-logo-transQ.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    opacity: 0.15;
    /* replaces rgba text color */
    z-index: -1;
    pointer-events: none;
}

@media (max-width: 768px) {
    #waterMark::before {
        width: 400px;
        height: 400px;
        top: 70%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

/* Section styling */
section {
    padding: 80px 0;
}

.section-dark {
    background-color: rgb(var(--qv-dark));
    color: #fff;
}

.section-light {
    background-color: rgb(var(--qv-light));
    color: #333;
}

.section-medium {
    background-color: rgb(var(--qv-indigo), .8);
    color: #fff;
}

/* Icon Circles */
.icon-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--qv-indigo);
    margin: 0 auto 1rem;
    position: relative;
}

.icon-circle::before {
    content: "";
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: conic-gradient(rgba(var(--qv-indigo), 0.9) 0deg,
            rgba(var(--qv-indigo), 0.7) 120deg,
            rgba(var(--qv-cosmic), 0.7) 240deg,
            rgba(var(--qv-cosmic), 0.9) 300deg,
            rgba(var(--qv-indigo), 0.8) 360deg);
    z-index: -1;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards;
}

.fade-up.delay-1 {
    animation-delay: 0.2s;
}

.fade-up.delay-2 {
    animation-delay: 0.4s;
}

.fade-up.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#acknowledge {
    display: none;
}

.admin-sidebar {
    background: #fff;
    border-right: 1px solid #dee2e6;
    bottom: 0;
    left: 0;
    padding: .75rem .5rem;
    position: fixed;
    top: 64px;
    width: 188px;
    z-index: 100;
}

.admin-sidebar-title {
    color: #6c757d;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    padding: .35rem .5rem .65rem;
    text-transform: uppercase;
}

.admin-sidebar .nav-link {
    align-items: center;
    border-radius: .5rem;
    color: #343a40;
    display: flex;
    font-size: .92rem;
    gap: .45rem;
    margin-bottom: .15rem;
    padding: .5rem .55rem;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: #eaf2ff;
    color: #012970;
}

.admin-main {
    margin-left: 188px;
}

.admin-main .container {
    max-width: 100%;
}

.admin-table-header {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.admin-table-header .btn {
    white-space: nowrap;
}

.admin-sidebar-backdrop {
    display: none;
}

.dataTables_wrapper {
    padding: 1rem 1.25rem;
}

.dataTables_wrapper .row:first-child {
    align-items: center;
    margin-bottom: 1rem;
    row-gap: .75rem;
}

.dataTables_wrapper .row:last-child {
    align-items: center;
    margin-top: 1rem;
    row-gap: .75rem;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
    padding: .25rem .5rem;
}

.dataTables_wrapper table.dataTable {
    margin-bottom: .75rem !important;
    margin-top: .75rem !important;
}

@media (max-width: 991.98px) {
    .admin-sidebar {
        border-bottom: 0;
        border-right: 1px solid #dee2e6;
        box-shadow: 0 1rem 2rem rgba(0, 0, 0, .15);
        max-width: 82vw;
        overflow-y: auto;
        top: 0;
        transform: translateX(-105%);
        transition: transform .22s ease;
        width: 230px;
        z-index: 1060;
    }

    .admin-sidebar-title {
        display: flex;
        padding-bottom: 1rem;
    }

    body.admin-sidebar-open .admin-sidebar {
        transform: translateX(0);
    }

    body.admin-sidebar-open .admin-sidebar-backdrop {
        background: rgba(0, 0, 0, .35);
        bottom: 0;
        display: block;
        left: 0;
        position: fixed;
        right: 0;
        top: 0;
        z-index: 1050;
    }

    .admin-main {
        margin-left: 0;
    }
}
