/* =========================================================
   NEED TO CALL
   PREMIUM GLASS / GLOSSY COMMON HEADER
========================================================= */

:root {
    --ntc-primary: #6c4df6;
    --ntc-primary-dark: #4f35d4;
    --ntc-secondary: #8e5cff;

    --ntc-text: #15152a;
    --ntc-muted: #77778c;

    --ntc-white: #ffffff;

    --ntc-border: rgba(108, 77, 246, 0.14);

    --ntc-shadow:
        0 12px 40px rgba(46, 33, 105, 0.10);

    --ntc-glass:
        rgba(255, 255, 255, 0.92);
}


/* =========================================================
   RESET
========================================================= */

.ntc-header,
.ntc-header * {
    box-sizing: border-box;
}


/* =========================================================
   HEADER
========================================================= */

.ntc-header {

    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    width: 100%;

    z-index: 99999;

    padding: 12px 22px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.96),
            rgba(249,247,255,0.91)
        );

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom:
        1px solid rgba(108,77,246,0.13);

    box-shadow:
        0 8px 35px rgba(52,36,125,0.08);

    transition:
        all .3s ease;
}


/* =========================================================
   SCROLLED HEADER
========================================================= */

.ntc-header.scrolled {

    padding-top: 9px;
    padding-bottom: 9px;

    background:
        rgba(255,255,255,0.97);

    box-shadow:
        0 12px 45px rgba(49,35,120,0.14);

}


/* =========================================================
   INNER
========================================================= */

.ntc-header-inner {

    width: 100%;

    max-width: 1500px;

    margin: auto;

    min-height: 68px;

    display: flex;

    align-items: center;

    gap: 24px;
}


/* =========================================================
   BRAND
========================================================= */

.ntc-brand {

    display: flex;

    align-items: center;

    gap: 11px;

    flex-shrink: 0;

    text-decoration: none;

    color: var(--ntc-text);
}


/* =========================================================
   LOGO BOX
========================================================= */

.ntc-brand-logo {

    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f0ecff
        );

    border:
        1px solid rgba(108,77,246,0.18);

    box-shadow:
        0 8px 22px rgba(108,77,246,0.15);

    overflow: hidden;
}


.ntc-brand-logo img {

    width: 44px;
    height: 44px;

    object-fit: contain;

    display: block;
}


/* =========================================================
   BRAND TEXT
========================================================= */

.ntc-brand-copy {

    display: flex;

    flex-direction: column;

    line-height: 1.05;
}


.ntc-brand-copy strong {

    font-size: 21px;

    font-weight: 800;

    letter-spacing: -0.5px;

    white-space: nowrap;
}


.ntc-brand-copy strong span {

    color: #22223a;
}


.ntc-brand-copy strong b {

    color: var(--ntc-primary);

    font-weight: 900;
}


.ntc-brand-copy small {

    margin-top: 5px;

    font-size: 9px;

    font-weight: 700;

    color: #88889a;

    letter-spacing: .45px;

    white-space: nowrap;
}


/* =========================================================
   DESKTOP NAV
========================================================= */

.ntc-nav {

    flex: 1;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 4px;

    min-width: 0;
}


.ntc-nav a {

    position: relative;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 40px;

    padding: 0 12px;

    border-radius: 10px;

    color: #5d5d70;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

    white-space: nowrap;

    transition:
        color .25s ease,
        background .25s ease,
        transform .25s ease;
}


.ntc-nav a:hover {

    color: var(--ntc-primary);

    background:
        rgba(108,77,246,0.07);

    transform: translateY(-1px);
}


.ntc-nav a.active {

    color: var(--ntc-primary);

    background:
        rgba(108,77,246,0.09);
}


.ntc-nav a.active::after {

    content: "";

    position: absolute;

    bottom: 4px;

    left: 50%;

    width: 18px;

    height: 3px;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            var(--ntc-primary),
            var(--ntc-secondary)
        );

    transform: translateX(-50%);
}


/* =========================================================
   RIGHT SIDE
========================================================= */

.ntc-header-right {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 9px;

    flex-shrink: 0;
}


/* =========================================================
   PHONE
========================================================= */

.ntc-phone {

    display: flex;

    align-items: center;

    gap: 9px;

    margin-right: 4px;

    color: var(--ntc-text);

    text-decoration: none;
}


.ntc-phone-circle {

    width: 38px;
    height: 38px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #ffffff;

    font-size: 17px;

    background:
        linear-gradient(
            135deg,
            var(--ntc-primary),
            var(--ntc-secondary)
        );

    box-shadow:
        0 7px 18px rgba(108,77,246,0.26);
}


.ntc-phone-copy {

    display: flex;

    flex-direction: column;

    line-height: 1.1;
}


.ntc-phone-copy b {

    font-size: 12px;

    color: #24243a;

    white-space: nowrap;
}


.ntc-phone-copy small {

    margin-top: 3px;

    font-size: 9px;

    font-weight: 700;

    color: #8b8b9d;
}


/* =========================================================
   LOGIN BUTTON
========================================================= */

.ntc-header-login {

    height: 40px;

    padding: 0 15px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    color: var(--ntc-primary);

    background:
        rgba(108,77,246,0.06);

    border:
        1px solid rgba(108,77,246,0.12);

    text-decoration: none;

    font-size: 12px;

    font-weight: 800;

    transition:
        all .25s ease;
}


.ntc-header-login:hover {

    background:
        rgba(108,77,246,0.12);

    transform: translateY(-1px);
}


/* =========================================================
   SIGNUP / LOGOUT
========================================================= */

.ntc-header-signup {

    height: 40px;

    padding: 0 16px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--ntc-primary),
            var(--ntc-secondary)
        );

    box-shadow:
        0 7px 18px rgba(108,77,246,0.22);

    text-decoration: none;

    font-size: 12px;

    font-weight: 800;

    transition:
        all .25s ease;
}


.ntc-header-signup:hover {

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(108,77,246,0.30);
}


.ntc-header-logout {

    background:
        linear-gradient(
            135deg,
            #6355e9,
            #7d54e8
        );
}


/* =========================================================
   ROLE BADGE
========================================================= */

.ntc-role-badge {

    height: 34px;

    padding: 0 10px;

    border-radius: 50px;

    display: inline-flex;

    align-items: center;

    gap: 6px;

    font-size: 10px;

    font-weight: 800;

    white-space: nowrap;

    background: rgba(108,77,246,0.06);

    border:
        1px solid rgba(108,77,246,0.12);
}


.role-dot {

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #43c477;

    box-shadow:
        0 0 0 4px rgba(67,196,119,0.10);
}


.customer-badge {

    color: #6345df;
}


.technician-badge {

    color: #0b7894;
}


.technician-badge .role-dot {

    background: #16a7c5;

    box-shadow:
        0 0 0 4px rgba(22,167,197,0.10);
}


.admin-badge {

    color: #8a42ce;
}


.admin-badge .role-dot {

    background: #a84de7;

    box-shadow:
        0 0 0 4px rgba(168,77,231,0.10);
}


/* =========================================================
   BOOK NOW
========================================================= */

.ntc-header-book {

    min-height: 42px;

    padding: 0 13px 0 17px;

    display: inline-flex;

    align-items: center;

    gap: 9px;

    border-radius: 12px;

    color: #ffffff;

    text-decoration: none;

    background:
        linear-gradient(
            135deg,
            #21164e,
            #4930a4
        );

    box-shadow:
        0 8px 22px rgba(48,31,113,0.20);

    font-size: 12px;

    font-weight: 800;

    transition:
        all .25s ease;
}


.ntc-header-book i {

    width: 25px;
    height: 25px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.14);

    font-style: normal;

    font-size: 15px;
}


.ntc-header-book:hover {

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 12px 28px rgba(48,31,113,0.28);
}


/* =========================================================
   MOBILE TRIGGER
========================================================= */

.ntc-mobile-trigger {

    width: 44px;
    height: 44px;

    display: none;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 5px;

    padding: 0;

    border: 0;

    border-radius: 12px;

    background:
        rgba(108,77,246,0.08);

    cursor: pointer;
}


.ntc-mobile-trigger span {

    width: 21px;
    height: 2px;

    border-radius: 20px;

    background: var(--ntc-primary);

    transition:
        all .25s ease;
}


.ntc-mobile-trigger.open span:nth-child(1) {

    transform:
        translateY(7px)
        rotate(45deg);
}


.ntc-mobile-trigger.open span:nth-child(2) {

    opacity: 0;
}


.ntc-mobile-trigger.open span:nth-child(3) {

    transform:
        translateY(-7px)
        rotate(-45deg);
}


/* =========================================================
   MOBILE MENU
========================================================= */

.ntc-mobile-menu {

    display: none;

    width: 100%;

    max-width: 1500px;

    margin: 8px auto 0;

    padding: 15px;

    border-radius: 18px;

    background:
        rgba(255,255,255,0.98);

    border:
        1px solid rgba(108,77,246,0.12);

    box-shadow:
        0 18px 45px rgba(45,32,115,0.14);

    animation:
        ntcMenuIn .25s ease;
}


.ntc-mobile-menu.show {

    display: block;
}


@keyframes ntcMenuIn {

    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   MOBILE ROLE
========================================================= */

.ntc-mobile-role {

    min-height: 42px;

    display: flex;

    align-items: center;

    gap: 9px;

    padding: 0 12px;

    margin-bottom: 10px;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            rgba(108,77,246,0.07),
            rgba(142,92,255,0.03)
        );

    color: #5f4bd0;

    font-size: 12px;

    font-weight: 800;
}


.mobile-role-dot {

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #42c578;

    box-shadow:
        0 0 0 4px rgba(66,197,120,0.10);
}


.mobile-role-dot.guest {

    background: var(--ntc-primary);

    box-shadow:
        0 0 0 4px rgba(108,77,246,0.10);
}


/* =========================================================
   MOBILE LINKS
========================================================= */

.ntc-mobile-links {

    display: flex;

    flex-direction: column;

    gap: 4px;
}


.ntc-mobile-links a {

    min-height: 47px;

    padding: 0 13px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-radius: 11px;

    color: #4c4c62;

    text-decoration: none;

    font-size: 13px;

    font-weight: 750;

    transition:
        all .2s ease;
}


.ntc-mobile-links a span {

    color: var(--ntc-primary);

    font-size: 17px;
}


.ntc-mobile-links a:hover {

    color: var(--ntc-primary);

    background:
        rgba(108,77,246,0.07);

    padding-left: 17px;
}


/* =========================================================
   MOBILE ACCOUNT
========================================================= */

.ntc-mobile-account {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 8px;

    margin-top: 13px;
}


.ntc-mobile-login,
.ntc-mobile-book {

    min-height: 44px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 11px;

    text-decoration: none;

    font-size: 12px;

    font-weight: 800;
}


.ntc-mobile-login {

    color: var(--ntc-primary);

    background:
        rgba(108,77,246,0.07);

    border:
        1px solid rgba(108,77,246,0.12);
}


.ntc-mobile-book {

    gap: 8px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--ntc-primary),
            var(--ntc-secondary)
        );

    box-shadow:
        0 7px 18px rgba(108,77,246,0.18);
}


.ntc-mobile-book span {

    font-size: 16px;
}


/* =========================================================
   MOBILE CALL
========================================================= */

.ntc-mobile-call {

    min-height: 64px;

    margin-top: 10px;

    padding: 8px 11px;

    display: flex;

    align-items: center;

    gap: 11px;

    border-radius: 13px;

    color: #28283b;

    text-decoration: none;

    background:
        linear-gradient(
            135deg,
            #f7f5ff,
            #ffffff
        );

    border:
        1px solid rgba(108,77,246,0.10);
}


.ntc-mobile-call .call-icon {

    width: 39px;
    height: 39px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--ntc-primary),
            var(--ntc-secondary)
        );
}


.ntc-mobile-call > span:nth-child(2) {

    flex: 1;

    display: flex;

    flex-direction: column;

    line-height: 1.2;
}


.ntc-mobile-call small {

    font-size: 9px;

    color: #88889b;

    font-weight: 700;
}


.ntc-mobile-call b {

    margin-top: 3px;

    font-size: 12px;
}


.ntc-mobile-call strong {

    color: var(--ntc-primary);

    font-size: 18px;
}


/* =========================================================
   BODY OFFSET
========================================================= */

body {

    padding-top: 92px;
}


body.ntc-menu-open {

    overflow: hidden;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1250px) {

    .ntc-header-inner {

        gap: 12px;
    }

    .ntc-nav {

        gap: 0;
    }

    .ntc-nav a {

        padding-left: 8px;
        padding-right: 8px;

        font-size: 12px;
    }

    .ntc-phone-copy {

        display: none;
    }

    .ntc-role-badge {

        display: none;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 980px) {

    .ntc-header {

        padding:
            9px 13px;
    }


    .ntc-header-inner {

        min-height: 58px;

        justify-content: space-between;
    }


    .ntc-brand {

        gap: 8px;
    }


    .ntc-brand-logo {

        width: 46px;
        height: 46px;

        border-radius: 13px;
    }


    .ntc-brand-logo img {

        width: 37px;
        height: 37px;
    }


    .ntc-brand-copy strong {

        font-size: 18px;
    }


    .ntc-brand-copy small {

        font-size: 8px;
    }


    .ntc-nav {

        display: none;
    }


    .ntc-header-right {

        display: none;
    }


    .ntc-mobile-trigger {

        display: flex;
    }


    body {

        padding-top: 78px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .ntc-header {

        padding-left: 10px;
        padding-right: 10px;
    }


    .ntc-brand-copy strong {

        font-size: 17px;
    }


    .ntc-brand-copy small {

        font-size: 7px;

        letter-spacing: .25px;
    }


    .ntc-brand-logo {

        width: 43px;
        height: 43px;
    }


    .ntc-mobile-trigger {

        width: 42px;
        height: 42px;
    }


    .ntc-mobile-menu {

        border-radius: 15px;

        padding: 12px;
    }

}