:root {
    --primary: #0d6efd;
    --primary-dark: #0a58ca;
    --bg-light: #f8f9fa;
    --font-display: 'Outfit', sans-serif;
    --font-main: 'Inter', sans-serif;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
}

h1, h2, h3, h4, .font-display {
    font-family: var(--font-display);
}

.sidebar {
    transition: all 0.3s;
    z-index: 1000;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

@media (min-width: 768px) {
    .sidebar {
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
    }
    
    .sidebar .position-sticky {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }
}

.nav-link {
    transition: all 0.2s;
    font-weight: 500;
}

.nav-link.active {
    box-shadow: 0 4px 6px rgba(13, 110, 253, 0.2);
}

.card {
    transition: transform 0.2s;
}

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

.initial-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader-spinner {
    width: 48px;
    height: 48px;
    border: 5px solid var(--bg-light);
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.backdrop-blur {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.bg-slide {
    transition: opacity 1s ease-in-out !important;
}

.bg-slide.active {
    opacity: 1 !important;
}

.bg-slide:not(.active) {
    opacity: 0 !important;
}

.landing-wrapper {
    background: #000;
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.5) 100%);
}

#contact-section {
    position: relative;
    z-index: 10;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}
