/* =========================================================
   ECSI — TOP HEADER
   Elisha & Charles Solutions Inc.
   ECSI CORPORATE PALETTE
========================================================= */

/*
   ECSI PALETTE
   --------------------------------
   Primary Blue   : #134074
   Secondary Blue : #13315C
   Deep Navy      : #0B2545
   Accent Blue    : #8DA9C4
   Light          : #EEF4ED
*/


/* =========================================================
   TOP HEADER
========================================================= */

.top-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;

    width: 100%;
    min-height: 40px;

    display: flex;
    align-items: center;

    box-sizing: border-box;
    isolation: isolate;

    background:
        linear-gradient(
            135deg,
            rgba(11, 37, 69, 0.97),
            rgba(19, 48, 92, 0.94)
        );

    color: #EEF4ED;

    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);

    border-bottom: 1px solid rgba(141, 169, 196, 0.22);

    box-shadow:
        0 2px 14px rgba(11, 37, 69, 0.18);
}


/* =========================================================
   CONTAINER
========================================================= */

.top-header .container {
    width: min(92%, 1300px);
    min-height: 40px;

    margin: 0 auto;

    display: flex;
    align-items: center;

    box-sizing: border-box;
}


/* =========================================================
   INNER
========================================================= */

.top-header-inner {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}


/* =========================================================
   LEFT / RIGHT
========================================================= */

.top-left,
.top-right {
    display: flex;
    align-items: center;

    gap: 18px;

    min-width: 0;
}

.top-left {
    flex: 1 1 auto;
    overflow: hidden;
}

.top-right {
    flex: 0 0 auto;
    justify-content: flex-end;
}


/* =========================================================
   CONTACT
========================================================= */

.top-contact {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    min-width: 0;

    color: rgba(238, 244, 237, 0.92);

    font-size: 13px;
    font-weight: 450;
    line-height: 1;

    white-space: nowrap;
    text-decoration: none;

    transition:
        color 0.25s ease;
}

.top-contact i {
    width: 15px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 15px;

    color: #8DA9C4;

    font-size: 11px;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.top-contact:hover {
    color: #EEF4ED;
}

.top-contact:hover i {
    color: #8DA9C4;

    transform: translateY(-1px);
}


/* =========================================================
   GENERAL TEXT
========================================================= */

.top-header a,
.top-header span {
    font-family: inherit;

    line-height: 1;

    white-space: nowrap;
}

.top-header a {
    color: rgba(238, 244, 237, 0.90);

    text-decoration: none;
}

.top-header a:hover {
    color: #EEF4ED;
}

.top-header span {
    color: rgba(238, 244, 237, 0.88);

    font-size: 13px;
    font-weight: 400;
}


/* =========================================================
   BUSINESS HOURS
========================================================= */

.top-hours {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    color: rgba(238, 244, 237, 0.82);

    font-size: 12px;
    line-height: 1;

    white-space: nowrap;
}

.top-hours > i {
    color: #8DA9C4;

    font-size: 11px;
}

.top-hours span {
    display: inline-flex;
    align-items: center;

    gap: 6px;
}

.top-hours strong {
    color: rgba(141, 169, 196, 0.38);

    font-weight: 400;
}

.top-hours time {
    color: #EEF4ED;

    font-weight: 500;
}


/* =========================================================
   SOCIAL MEDIA
========================================================= */

.top-social {
    display: flex;
    align-items: center;

    gap: 6px;

    padding-left: 18px;

    border-left: 1px solid rgba(141, 169, 196, 0.20);
}

.top-social a {
    width: 26px;
    height: 26px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 26px;

    padding: 0;

    border-radius: 50%;

    color: rgba(238, 244, 237, 0.88);

    background: rgba(141, 169, 196, 0.10);

    font-size: 10px;
    line-height: 1;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

.top-social a:hover {
    color: #EEF4ED;

    background: rgba(141, 169, 196, 0.22);

    transform: translateY(-1px);
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.top-header a:focus-visible {
    outline: 2px solid #8DA9C4;
    outline-offset: 3px;

    border-radius: 3px;
}


/* =========================================================
   TABLET / SMALL LAPTOP
========================================================= */

@media (max-width: 1100px) {

    .top-header .container {
        width: 94%;
    }

    .top-header-inner {
        gap: 18px;
    }

    .top-left,
    .top-right {
        gap: 14px;
    }

    .top-contact {
        font-size: 12px;
    }

    .top-header span {
        font-size: 12px;
    }

    .top-hours {
        font-size: 11px;
    }

    .top-social {
        padding-left: 14px;
    }

    .top-social a {
        width: 24px;
        height: 24px;

        flex-basis: 24px;

        font-size: 9px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .top-header,
    .top-header .container {
        min-height: 38px;
    }

    .top-header .container {
        width: 94%;
    }

    .top-header-inner {
        gap: 12px;
    }

    .top-left,
    .top-right {
        gap: 10px;
    }

    .top-contact {
        font-size: 11px;
    }

    .top-header span {
        font-size: 11px;
    }

    .top-hours {
        font-size: 10px;
    }

    .top-contact i,
    .top-hours > i {
        font-size: 9px;
    }

    .top-social {
        padding-left: 10px;

        gap: 5px;
    }

    .top-social a {
        width: 23px;
        height: 23px;

        flex-basis: 23px;

        font-size: 9px;
    }
}


/* =========================================================
   MOBILE
   COMPLETELY HIDE TOP HEADER
========================================================= */

@media (max-width: 767px) {

    .top-header {
        display: none !important;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .top-header a,
    .top-contact i,
    .top-social a {
        transition: none;
    }

    .top-social a:hover,
    .top-contact:hover i {
        transform: none;
    }
}