/* --- Core Branding --- */
:root {
    --brand-navy: #09083b;
    --brand-orange: #f58220;
    --brand-orange-hover: #d9721a;
    --text-dark: #333;
    --bg-light: #f8f9fa;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, .navbar-brand {
    font-family: 'Montserrat', sans-serif;
}

.text-navy { color: var(--brand-navy) !important; }
.text-warning { color: var(--brand-orange) !important; }
.bg-navy { background-color: var(--brand-navy) !important; color: white; }

.divider {
    width: 60px;
    height: 4px;
    margin-top: 15px;
    border-radius: 2px;
}

/* --- Navigation --- */
.navbar {
    background-color: #fff;
    transition: all 0.3s ease;
}

.nav-link {
    color: var(--brand-navy) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--brand-orange) !important;
}

/* Underline effect for nav items */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--brand-orange);
    transition: width 0.3s;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* --- HOVER DROPDOWN LOGIC --- */
@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0; 
        animation: fadeIn 0.3s;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn-brand {
    background-color: var(--brand-orange);
    color: white;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-brand:hover {
    background-color: var(--brand-orange-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 130, 32, 0.4);
}

.btn-navy {
    background-color: var(--brand-navy);
    color: white;
    transition: all 0.3s;
}
.btn-navy:hover {
    background-color: #0d0b5e;
    color: white;
}

/* --- Hero Section --- */
.hero-section {
    min-height: 85vh; 
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
}

/* NEW: Hero Background Image Styling (from your v2) */
.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: 0; 
}

/* Gradient Overlay */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(9, 8, 59, 0.95) 0%, rgba(9, 8, 59, 0.7) 100%);
    z-index: 1;
}

/* --- Cards & Features --- */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.icon-square {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Tracking Widget --- */
#tracking {
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.95);
    z-index: 5;
    position: relative;
}

/* --- Animation Classes --- */
.fade-in-up, .fade-in-left, .fade-in-right {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up { transform: translateY(30px); }
.fade-in-left { transform: translateX(-30px); }
.fade-in-right { transform: translateX(30px); }

.visible {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* Blink Animation for Clock Colon */
.blink-colon {
    animation: blinker 1s step-start infinite;
}

@keyframes blinker {
    50% { opacity: 0; }
}

/* --- Modal Customization --- */
.modal-header {
    border-bottom: none;
}
.modal-content {
    border-radius: 10px;
}
.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}