:root {
    --primary-color: #ea580c; 
    --secondary-color: #f97316; 
    --black: #0f172a;
    --white: #ffffff;
    --gray: #f1f5f9;
    --gray-2: #94a3b8;
}

body { font-family: 'Plus Jakarta Sans', sans-serif; scroll-behavior: smooth; background-color: #f8fafc; overflow-x: hidden; margin:0; padding:0; width:100%;}

#loader-wrapper { position: fixed; inset: 0; background: #fff; z-index: 99999; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: opacity 0.4s ease, visibility 0.4s; }
.loader-spinner { border: 4px solid #f1f5f9; border-top: 4px solid #ea580c; border-radius: 50%; width: 45px; height: 45px; animation: spin 0.8s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.reveal { opacity: 0; transform: translateY(20px); transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

.glass { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(0, 0, 0, 0.05); }

/* EXACT COREVIA STYLE LOGO & SUBLOGO */
.corevia-logo-text {
    font-size: 1.25rem !important;
    font-weight: 900 !important;
    letter-spacing: -0.05em;
    line-height: 1;
    color: var(--primary-color);
}
@media (min-width: 768px) {
    .corevia-logo-text { font-size: 1.4rem !important; }
}

.corevia-sublogo {
    background: rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 3px 10px; /* Slightly increased for visibility */
    border-radius: 6px;
    font-size: 0.75rem !important; /* Made size slightly larger as requested */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--black);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    height: max-content;
}
.corevia-sublogo::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.8), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
}
.corevia-sublogo:hover {
    background: rgba(15, 23, 42, 0.9);
    color: #fff !important;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.corevia-sublogo:hover::after {
    left: 150%;
}

.nav-item .dropdown-menu { display: none; }
.nav-item:hover .dropdown-menu { display: block; animation: slideDown 0.25s ease forwards; }
@keyframes slideDown { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

#notif-sidebar { position: fixed; right: -100%; top: 0; bottom: 0; width: 100%; max-width: 330px; z-index: 3000; transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1); background: white; box-shadow: -10px 0 40px rgba(0,0,0,0.06); border-left: 1px solid #f1f5f9;}
#notif-sidebar.open { right: 0; }
.notif-trigger { position: fixed; right: 20px; bottom: 20px; z-index: 1000; cursor: pointer; transition: 0.3s; }
.notif-trigger:hover { transform: scale(1.05); }

.modal-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(8px); z-index: 3100; display: none; }
.slide-up { animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

.modern-hamburger { display: flex; flex-direction: column; justify-content: space-between; width: 24px; height: 16px; background: transparent; border: none; cursor: pointer; position: relative; z-index: 2100; }
.modern-hamburger .bar { width: 100%; height: 2px; background-color: #0f172a; border-radius: 10px; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.modern-hamburger.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); background-color: #ea580c; }
.modern-hamburger.open .bar:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.modern-hamburger.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background-color: #ea580c; }

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 20px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

.shimmer-canvas { position: absolute; inset: 0; background: radial-gradient(circle at 10% 20%, rgba(244,245,247,0.3) 0%, transparent 40%), radial-gradient(circle at 90% 80%, rgba(254,243,199,0.1) 0%, transparent 50%); pointer-events: none; }

/* SOCIAL ICONS FLOATING UP ANIMATION */
@keyframes floatUpSmooth {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-20vh) rotate(360deg); opacity: 0; }
}
.social-icon-float-up {
    position: absolute;
    bottom: -100px;
    animation: floatUpSmooth linear infinite;
    will-change: transform;
}