﻿/* ==========================================================================
   Custom blue theme variables
   ========================================================================== */
:root {
    --primary: #0055A4;
    --primary-light: #007BFF;
    --primary-extra-light: #E6F0FA;
    --dark: #0a1f44;
}

/* ==========================================================================
   Global layout fixes – minimal top space
   ========================================================================== */
body {
    padding-top: 5px; /* Tight: utility (~30px) + navbar (~35px) */
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #f8f9fa;
}

/* ==========================================================================
   Top Utility Bar – Blue background, white text/links, RIGHT-aligned
   ========================================================================== */
.top-utility-bar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    background-color: #0055A4 !important; /* Strong blue background (your --primary) */
    color: #ffffff !important; /* White text base */
    border-bottom: 1px solid #004080; /* Slightly darker blue border for depth */
    padding: 0.4rem 0;
    font-size: 0.875rem;
    /* box-shadow: 0 2px 6px rgba(0,0,0,0.15); */ /* Subtle shadow - removed to make logo look better */
}

    .top-utility-bar .container {
        display: flex;
        justify-content: flex-end; /* Links on RIGHT */
        align-items: center;
        flex-wrap: wrap;
        padding: 0 4rem;
        max-width: 1400px;
        margin: 0 auto;
    }

    .top-utility-bar a,
    .top-utility-bar .text-muted,
    .top-utility-bar .dropdown-toggle {
        color: #ffffff !important; /* White links & dropdown text */
        text-decoration: none;
        margin-left: 1.6rem;
        white-space: nowrap;
        font-weight: 500;
        transition: color 0.2s ease;
    }

        .top-utility-bar a:hover,
        .top-utility-bar .dropdown-toggle:hover {
            color: #007BFF !important; /* Bright blue hover */
            text-decoration: underline;
        }

    .top-utility-bar .dropdown-menu {
        background-color: #004080 !important; /* Darker blue dropdown bg */
        border: none;
        box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    }

    .top-utility-bar .dropdown-item {
        color: #ffffff !important;
    }

        .top-utility-bar .dropdown-item:hover {
            background-color: #007BFF !important;
            color: #ffffff !important;
        }

/* Responsive adjustments */
@media (max-width: 768px) {
    .top-utility-bar .container {
        justify-content: center;
        padding: 0 1rem;
    }

    .top-utility-bar a {
        margin-left: 1rem;
        margin-bottom: 0.2rem;
    }

    body {
        padding-top: 80px;
    }
}

/* ==========================================================================
   Main Navbar – White with blue accents, sticky below utility
   ========================================================================== */
.navbar {
    background-color: #ffffff !important;
    border-bottom: 3px solid var(--primary-light);
    position: sticky;
    top: 38px; /* Flush below utility bar */
    z-index: 1040;
    padding: 0.5rem 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.06);
}

.navbar-brand {
    padding: 0.2rem 0;
    margin-right: 1.5rem;
}

.navbar-nav {
    margin-left: auto;
}

.nav-link {
    color: #003366 !important;
    font-weight: 600;
}

    .nav-link:hover,
    .nav-link:focus {
        color: var(--primary-light) !important;
    }

    .nav-link.active {
        color: var(--primary-light) !important;
        border-bottom: 3px solid var(--primary-light);
    }

/* Dropdowns */
.dropdown-menu {
    border: 1px solid #e0e0e0;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.dropdown-item {
    color: #003366;
}

    .dropdown-item:hover,
    .dropdown-item:focus {
        background-color: var(--primary-extra-light);
        color: var(--primary);
    }

/* Mobile toggler */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23003366' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ==========================================================================
   Buttons, Cards, Logo, Hero (polish)
   ========================================================================== */
.btn-primary {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    font-weight: 600;
}

    .btn-primary:hover {
        background-color: var(--primary);
        transform: translateY(-2px);
    }

.card {
    border-color: var(--primary-extra-light);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.card-header {
    background-color: var(--primary-extra-light);
    color: var(--primary);
}

.logo-container {

    
}

.logo-img {
    max-height: 58px;
}

/* Hero & responsive */
.hero {
    background: linear-gradient(rgba(0, 85, 164, 0.75), rgba(0, 85, 164, 0.75)), url('/Images/fiber-background.jpg') center/cover no-repeat;
    color: white;
    padding: 8rem 0;
    margin-top: -1rem;
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 0;
    }
}

@media (max-width: 992px) {
    .navbar-nav {
        text-align: center;
    }
}
