:root {
    --primary-color: #0049c2;
    --primary-dark: #003899;
    --text-dark: #0f1827;
    --text-muted: #6b727e;
    --font-display: 'Chakra Petch', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
}

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

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Animations */
.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hover-scale:hover {
    transform: scale(1.1);
}

.hover-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

.transition-all {
    transition: all 0.3s ease;
}

/* Portfolio Overlay */
.portfolio-item .overlay {
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

.portfolio-item img {
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

/* Modal Customization */
.modal-backdrop.show {
    opacity: 0.85;
    background-color: #000;
}

.carousel-caption {
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0));
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2rem;
    text-align: left;
}

/* Utility */
.ls-wider {
    letter-spacing: 0.1em;
}

.object-fit-cover {
    object-fit: cover;
}

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

/* Hero Gradient */
.hero-gradient { background: linear-gradient(90deg, rgba(1, 28, 66, 0.75) 0%, rgba(1, 28, 66, 0.45) 50%, rgba(1, 28, 66, 0.0) 100%); }

@media (max-width: 991.98px) { 
    .hero-gradient { background: linear-gradient(90deg, rgba(1, 28, 66, 0.55) 0%, rgba(1, 28, 66, 0.25) 60%, rgba(1, 28, 66, 0.0) 100%); }
    .hero-image { object-position: right center; }
}

@media (max-width: 575.98px) { 
    .hero-gradient { background: linear-gradient(90deg, rgba(1, 28, 66, 0.45) 0%, rgba(1, 28, 66, 0.20) 55%, rgba(1, 28, 66, 0.0) 100%); }
    .hero-image { object-position: 85% 50%; }
}

/* Custom Utilities */
.text-xs {
    font-size: 0.75rem;
}

#hero {
    min-height: 100vh;
    padding-top: 80px;
    overflow: hidden;
}

@media (max-width: 991.98px) {
    #hero {
        padding-top: 120px;
        padding-bottom: 6rem;
        height: auto;
        min-height: 100vh;
    }
}
