:root {
    --brand-blue: #0b3d91;
    --brand-green: #38a126;
}

.site-logo {
    max-height: 65px;
    object-fit: contain;
}

/* Accent Badges & Cards */
.bg-brand-gradient {
    background: linear-gradient(135deg, #0b3d91 0%, #38a126 100%);
    color: #fff;
}

.card-hover {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12) !important;
}

[data-bs-theme="dark"] .bg-body-tertiary {
    background-color: #1e2227 !important;
}

[data-bs-theme="dark"] .border-bottom,
[data-bs-theme="dark"] .border-top {
    border-color: #2b3035 !important;
}

/* ============================================================
   FULL-SCREEN ANIMATED HERO SLIDER
   ============================================================ */
.hero-slider,
.hero-slider .carousel-inner,
.hero-slider .carousel-item {
    height: 100vh;
    min-height: 600px;
}

/* Background image holder with smooth Ken Burns zoom effect */
.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1);
    transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-item.active .hero-slide-bg {
    transform: scale(1.08);
}

/* Overlay gradient for crystal-clear readability in both light & dark modes */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(5, 23, 50, 0.88) 0%,
            rgba(9, 44, 76, 0.72) 50%,
            rgba(15, 76, 40, 0.6) 100%);
    z-index: 1;
}

/* Slide Content Container */
.hero-caption {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Text Animations on Slide Transition */
.carousel-item .animate-item {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Staggered delay when active */
.carousel-item.active .animate-badge {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.carousel-item.active .animate-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.carousel-item.active .animate-desc {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.carousel-item.active .animate-btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

/* Slider Controls & Indicators */
.hero-slider .carousel-indicators [data-bs-target] {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: #fff;
    opacity: 0.5;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-slider .carousel-indicators .active {
    width: 38px;
    border-radius: 8px;
    opacity: 1;
    background-color: #ffc107;
}

.carousel-control-prev,
.carousel-control-next {
    z-index: 5;
    width: 5%;
}

.control-icon-circle {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover .control-icon-circle,
.carousel-control-next:hover .control-icon-circle {
    background: #ffc107;
    color: #000;
    transform: scale(1.1);
}

@media (max-width: 768px) {

    .hero-slider,
    .hero-slider .carousel-inner,
    .hero-slider .carousel-item {
        height: calc(100vh - 65px);
        /* accounts for mobile header */
        min-height: 520px;
    }

    .display-3 {
        font-size: 2.3rem !important;
    }
}