
/* =====================================================
   CLOUD TECH - SHARED NAVBAR
   Move this file to: assets/css/navbar.css
   ===================================================== */

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

.ct-glass-header{
    position:sticky;
    top:0;
    z-index:99999;
    padding:14px 0;
    background:transparent;
    font-family:Inter,"Segoe UI",sans-serif;
}

.ct-glass-nav{
    width:min(1450px,calc(100% - 40px));
    height:86px;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 28px;
    background:#fff;
    border:1px solid #e8ecef;
    border-radius:22px;
    box-shadow:0 14px 35px rgba(0,0,0,.08);
}

.ct-glass-brand{text-decoration:none;color:inherit;}
.ct-glass-brand-card{
    display:flex;
    align-items:center;
    gap:14px;
    background:transparent;
}
.ct-glass-brand-logo img{width:120px;height:auto;}
.ct-glass-brand-text{display:flex;flex-direction:column;text-align:center;}
.ct-glass-brand-text strong{
    color:#0F5F78;
    font-size:25px;
    font-weight:800;
}
.ct-glass-brand-text span{
    color:#008F7A;
    font-size:10px;
    letter-spacing:2px;
}

.ct-glass-menu{
    display:flex;
    align-items:center;
    gap:16px;
}

.ct-glass-menu>a,
.ct-glass-drop-btn{
    display:flex;
    align-items:center;
    gap:6px;
    height:46px;
    padding:0 14px;
    color:#0F5F78 !important;
    text-decoration:none;
    font-size:16px;
    font-weight:600;
    border-radius:10px;
    transition:.25s;
}

.ct-glass-menu>a:hover,
.ct-glass-drop-btn:hover{
    color:#00A9C7 !important;
}

.ct-glass-menu>a.active{
    color:#00A9C7 !important;
}

.ct-glass-dropdown{position:relative;}

.ct-glass-dropdown-menu,
.ct-products-menu{
    position:absolute;
    top:calc(100% + 14px);
    left:50%;
    transform:translateX(-50%);
    width:330px;
    padding:12px;
    display:grid;
    gap:8px;
    background:#fff;
    border:1px solid #e8ecef;
    border-radius:18px;
    box-shadow:0 20px 40px rgba(0,0,0,.10);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:.25s;
    z-index:9999;
}

.ct-glass-dropdown:hover>.ct-glass-dropdown-menu,
.ct-products-dropdown:hover>.ct-products-menu,
.ct-products-sub:hover>.ct-products-sub-menu{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}

.ct-glass-dropdown-menu a,
.ct-products-menu>a,
.ct-products-sub-btn,
.ct-products-sub-menu a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:46px;
    padding:0 16px;
    border-radius:12px;
    text-decoration:none;
    background:#fff;
    color:#0F5F78 !important;
    font-size:15px;
    font-weight:600;
    transition:.25s;
}

.ct-glass-dropdown-menu a:hover,
.ct-products-menu>a:hover,
.ct-products-sub-btn:hover,
.ct-products-sub:hover>.ct-products-sub-btn,
.ct-products-sub-menu a:hover{
    background:#EAF8FA;
    color:#00A9C7 !important;
}

.ct-products-sub{position:relative;}

.ct-products-sub-menu{
    position:absolute;
    left:calc(100% + 12px);
    top:0;
    width:320px;
    padding:12px;
    display:grid;
    gap:8px;
    background:#fff;
    border:1px solid #e8ecef;
    border-radius:18px;
    box-shadow:0 20px 40px rgba(0,0,0,.10);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:.25s;
}

.ct-glass-actions{display:flex;align-items:center;}

.ct-glass-talk{
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:170px;
    height:54px;
    padding:0 34px;
    border-radius:16px;
    text-decoration:none;
    background:#0F5F78;
    color:#fff !important;
    font-size:15px;
    font-weight:700;
    transition:.25s;
}

.ct-glass-talk:hover{
    background:#148BA0;
    transform:translateY(-2px);
}

.ct-glass-toggle,
.ct-glass-mobile-menu{
    display:none;
}

@media(max-width:1020px){
    .ct-glass-menu,
    .ct-glass-actions{
        display:none;
    }

    .ct-glass-toggle{
        display:grid;
        place-items:center;
        width:48px;
        height:48px;
        border:none;
        border-radius:12px;
        background:#0F5F78;
        color:#fff;
        cursor:pointer;
    }

    .ct-glass-mobile-menu.active{
        display:block;
    }
}
