/* ----------------------------------------------------
   SATA VIRTUAL 2026 — BOOTSTRAP THEME OVERRIDE
---------------------------------------------------- */
:root {
    --bs-primary: rgb(0 132 189);
    --bs-primary-rgb: 0, 132, 189;

    --bs-link-color: rgb(0 132 189);
    --bs-link-hover-color: rgb(0 112 160);
}

/* ----------------------------------------------------
   GLOBAL TYPOGRAPHY
---------------------------------------------------- */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f8f9fa;
    color: #212529;
}

/* ----------------------------------------------------
   NAVBAR
---------------------------------------------------- */
.navbar-overlay {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 20;
    background: transparent !important;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* ----------------------------------------------------
   HERO
---------------------------------------------------- */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 550px;
    overflow: hidden;
    padding-top: 120px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform, opacity;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-bg.loaded {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        rgba(0, 0, 0, 0.55),
        rgba(0, 0, 0, 0.35)
    );
}

.hero-content {
    position: relative;
    z-index: 3;
    padding-bottom: 80px;
    text-align: left;

    opacity: 0;
    transform: translateY(20px);
    animation: heroFade 1.2s ease forwards 0.3s;
}

@keyframes heroFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-logo {
    max-width: 52%;
    margin-bottom: 0.35rem;
    display: block;
}

.hero-content h3 {
    margin-top: 0.35rem;
    font-weight: 500;
    font-size: 1.35rem;
    letter-spacing: 0.3px;
    line-height: 1.35;
}

.hero-content .btn {
    margin-top: 1.2rem;
}

/* Mobile */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 100px;
        height: 70vh;
    }

    .hero-bg {
        height: 110%;
        transform: translateY(0) scale(1.05);
    }

    .hero-logo {
        max-width: 75%;
        margin-bottom: 0.25rem;
    }

    .hero-content h3 {
        margin-top: 0.25rem;
        font-size: 1.1rem;
    }

    .hero-content .btn {
        margin-top: 1rem;
    }
}

@media (min-height: 900px) {
    .hero-section {
        padding-top: 150px;
        height: 75vh;
    }
}

@media (min-width: 1200px) {
    .hero-bg {
        background-position: center 40%;
    }
}

@media (min-width: 1600px) {
    
    .hero-content .col-md-10 {
        max-width: 900px;
    }
    .hero-bg {
        transform: scale(1.10);
    }
}

.hero-bg {
    --zoom: 1.05;
}

/* ----------------------------------------------------
   BUTTONS
---------------------------------------------------- */
.btn-primary {
    background-color: rgb(var(--bs-primary-rgb)) !important;
    border-color: rgb(var(--bs-primary-rgb)) !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: rgb(0 112 160) !important;
    border-color: rgb(0 112 160) !important;
}

.btn-outline-primary {
    color: rgb(var(--bs-primary-rgb)) !important;
    border-color: rgb(var(--bs-primary-rgb)) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: #fff !important;
    background-color: rgb(var(--bs-primary-rgb)) !important;
    border-color: rgb(var(--bs-primary-rgb)) !important;
}

/* ----------------------------------------------------
   LINKS
---------------------------------------------------- */
.link-primary {
    color: rgb(var(--bs-primary-rgb)) !important;
}

.link-primary:hover,
.link-primary:focus {
    color: rgb(0 112 160) !important;
}

/* ----------------------------------------------------
   CARDS
---------------------------------------------------- */
.card {
    border: 0;
    border-radius: 0.5rem;
}

.card.shadow-sm {
    box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.08) !important;
}

/* ----------------------------------------------------
   STAT CARDS
---------------------------------------------------- */

.stat-card {
    padding: 1.8rem 1rem;
    border-radius: 0.75rem;
    transition: 0.25s ease;
    text-align: center;
}

.stat-card i {
    font-size: 2rem;
    color: rgba(var(--bs-primary-rgb), 1);
    margin-bottom: 1rem;
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    color: #6c757d;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* ----------------------------------------------------
   TABLES
---------------------------------------------------- */

.table {
    border-collapse: separate !important;
    border-spacing: 0 6px !important;
}

.table thead th {
    background: transparent !important;
    border-bottom: 1px solid rgba(0,0,0,0.08) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    padding: 0.75rem 1rem !important;
    color: #212529;
}

.table tbody tr {
    background: #fff;
    transition: 0.25s ease;
}

.table-hover tbody tr:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.08) !important;
}

.table tbody td {
    border: 0 !important;
    padding: 0.9rem 1rem !important;
    vertical-align: middle;
    color: #444;
}

.table tbody tr:first-child td:first-child {
    border-top-left-radius: 0.5rem;
}
.table tbody tr:first-child td:last-child {
    border-top-right-radius: 0.5rem;
}
.table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 0.5rem;
}
.table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 0.5rem;
}

.table tbody tr + tr td {
    border-top: 1px solid rgba(0,0,0,0.03) !important;
}

/* ----------------------------------------------------
   FOOTER
---------------------------------------------------- */

footer img {
    max-height: 40px;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

/* ----------------------------------------------------
   GAUGE MINI
---------------------------------------------------- */

.gauge-mini {
    --value: 0;
    --size: 40px;
    --thickness: 4px;
    --color: #6c757d;

    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    position: relative;
    z-index: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        conic-gradient(
            var(--color) calc(var(--value) * 1%),
            #e9ecef 0
        );
}

.gauge-mini::before {
    content: "";
    position: absolute;
    inset: var(--thickness);
    background: #fff;
    border-radius: 50%;
    z-index: 1;
}

.gauge-mini span {
    position: relative;
    z-index: 2;
    font-size: 0.65rem;
    font-weight: 600;
    color: #333;
}
