/* Override Bootstrap's default variables */
:root {
    --bs-dark-rgb: 37, 43, 90;
    --bs-body-font-family: 'Montserrat', sans-serif;
    --bs-heading-font-family: 'Montserrat', sans-serif;
}

/* Force Body to use the Bootstrap Variable */
body {
    font-family: var(--bs-body-font-family);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Navy Background overrides */
.bg-dark,
.text-bg-dark {
    background-color: #252b5a !important;
}

/* --- KEN BURNS BACKGROUND SLIDER --- */
.kb-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    /* 24 seconds total (8s per slide) */
    animation: kenburns 24s linear infinite; 
}

@keyframes kenburns {
    0% {
        opacity: 0;
        transform: scale(1);
    }
    5% {
        opacity: 1;
    }
    33.33% { 
        opacity: 1;
    }
    38% {
        opacity: 0;
    }
    100% {
        opacity: 0;
        transform: scale(1.15); /* The zoom effect */
    }
}

/* --- CUSTOM UTILITY CLASSES --- */

/* Hover utility for badges and footer links */
.hover-red {
    transition: color 0.2s ease-in-out;
}
.hover-red:hover,
.hover-red:hover p,
.hover-red:hover span {
    color: #dc3545 !important; /* Bootstrap danger red */
}

/* Hover utility for service block arrows */
.transition-hover {
    transition: all 0.2s ease-in-out;
}
.transition-hover:hover p {
    color: #dc3545 !important;
}