/* ========= ADTROP NEW NAVBAR ========= */

:root{
  --ad-purple:#6D28D9;
  --ad-topbar:46px;
  --ad-nav:78px;
}

/* NAVBAR */

.ad-nav{
    position:fixed;
    top:46px;
    left:0;
    width:100%;
    height:78px;
    background:#fff;
    z-index:9999;
    transition:top .35s ease, box-shadow .35s ease;
    box-shadow:0 2px 18px rgba(0,0,0,.08);
}

.ad-nav.ad-stick{
    top:0;
    box-shadow:0 10px 28px rgba(0,0,0,.12);
}

.ad-nav-wrap{
    max-width:1320px;
    height:100%;
    margin:auto;
    padding:0 24px;

    display:flex;
    align-items:center;
    justify-content:space-between;
}

/* LOGO */

.ad-logo img{
    height:54px;
    display:block;
}

/* MENU */

.ad-menu{
    display:flex;
    align-items:center;
    gap:34px;
}

.ad-menu a,
.ad-drop-btn{
    text-decoration:none;
    color:#222;
    font-size:15px;
    font-weight:600;
    border:none;
    background:none;
    cursor:pointer;
    transition:.3s;
}

.ad-menu a:hover,
.ad-drop-btn:hover{
    color:var(--ad-purple);
}



/* DROPDOWN */

.ad-drop{
    position:relative;
}

.ad-drop-menu{
    position:absolute;
    top:109%;
    left:0;
    width:210px;
    background:#fff;
    border-radius:14px;
    display:none;
    overflow:hidden;
    box-shadow:0 12px 30px rgba(0,0,0,.15);
}

.ad-drop:hover .ad-drop-menu{
    display:block;
}

.ad-drop-menu a{
    display:block;
    padding:14px 18px;
}

/* RIGHT */

.ad-right{
    display:flex;
    align-items:center;
    gap:12px;
}

.ad-search{
    width:44px;
    height:44px;
    border-radius:50%;
    border:1px solid #ddd;
    background:#fff;
    cursor:pointer;
}

.ad-contact{
    padding:12px 22px;
    border-radius:30px;
    background:linear-gradient(90deg,#6D28D9,#8B5CF6);
    color:#fff;
    text-decoration:none;
    font-weight:600;
}

/* HAMBURGER */

.ad-toggle{
    display:none;
    width:42px;
    height:42px;
    background:none;
    border:none;
    position:relative;
    cursor:pointer;
}

.ad-toggle span{
    position:absolute;
    left:8px;
    width:26px;
    height:3px;
    background:#111;
    border-radius:10px;
    transition:.3s;
}

.ad-toggle span:nth-child(1){top:12px;}
.ad-toggle span:nth-child(2){top:20px;}
.ad-toggle span:nth-child(3){top:28px;}

.ad-toggle.open span:nth-child(1){
    transform:rotate(45deg);
    top:20px;
}

.ad-toggle.open span:nth-child(2){
    opacity:0;
}

.ad-toggle.open span:nth-child(3){
    transform:rotate(-45deg);
    top:20px;
}

/* OVERLAY */

.ad-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:9998;
}

.ad-overlay.show{
    opacity:1;
    visibility:visible;
}

/* CLOSE */

.ad-close{
    display:none;
}

/* MOBILE */

@media(max-width:992px){

.ad-nav{
    height:72px;
}

.ad-nav-wrap{
    padding:0 14px;
}

.ad-logo img{
    height:42px;
}

.ad-contact{
    display:none;
}

.ad-toggle{
    display:block;
}

.ad-menu{
    position:fixed;
    top:0;
    right:-100%;
    width:285px;
    height:100dvh;
    background:#fff;

    flex-direction:column;
    align-items:flex-start;
    gap:0;

    padding:88px 22px 30px;

    transition:right .35s ease;
    z-index:10000;
    overflow:auto;
}

.ad-menu.show{
    right:0;
}

.ad-menu a,
.ad-drop-btn{
    width:100%;
    padding:16px 0;
    border-bottom:1px solid #eee;

    display:flex;
    justify-content:space-between;
    align-items:center;
}

.ad-drop{
    width:100%;
}

.ad-drop-menu{
    position:static;
    width:100%;
    display:none;
    background:#F7F7FC;
    box-shadow:none;
    margin-bottom:12px;
}

.ad-drop.open .ad-drop-menu{
    display:block;
}

.ad-close{
    display:flex;
    position:absolute;
    top:18px;
    right:18px;
    width:40px;
    height:40px;
    border:none;
    border-radius:50%;
    align-items:center;
    justify-content:center;
    background:#F3F3F3;
}

}

@media(max-width:480px){

.ad-nav-wrap{
    padding:0 12px;
}

.ad-logo img{
    height:38px;
}

.ad-menu{
    width:100%;
}

}