:root{
--purple:#280B36;
--milky:#F8ECE2;
--font-purple:#2F1337;
--light-purple:#C56CC4;
--white:#fff;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: Arial, Helvetica, sans-serif;
}

html{
    scroll-behavior: smooth;
}

a{
    text-decoration:none;
}

/* HEADER */

.tt-header{
position:fixed;
top:0;
width:100%;
background:var(--purple);
z-index:999;
transition:.3s;     
}

.tt-header.scrolled{
background:rgba(40,11,54,.95);
backdrop-filter:blur(12px);
}

.tt-container{
max-width:1400px;
margin:auto;
height:84px;
padding:0 34px;
display:flex;
align-items:center;
}

.tt-logo img{
    width:190px;
    height:auto;
}


.tt-nav{
    display:flex;
    justify-content:flex-end;
    margin-left:auto;
    margin-right:8px;
}

.tt-nav ul{
display:flex;
list-style:none;
align-items:center;
gap:32px;              /* reduced spacing */
}

.tt-nav li{position:relative;}

.tt-nav a{
color:#fff;
font-size:14px;
font-weight:500;
}

.tt-nav span{
margin-left:5px;
font-size:12px;
}







.tt-btn-head{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-left:18px;
    text-decoration:none;
    border-radius:999px;
    overflow:hidden;
}

.tt-btn-head button{
    padding:10px 18px;
    border:1.5px solid var(--font-purple);
    border-radius:999px;
    background:#C56CC4;
    color:var(--white);
    font-size:14px;
    font-weight:600;
    cursor:pointer;
    white-space:nowrap;
    transition:.3s ease;
}

.tt-btn-head:hover button{
    background:var(--white);
    border-color:var(--purple);
    color:var(--purple);
}


/* DROPDOWN */

.tt-dropdown-box{
position:absolute;
top:150%;
left:50%;
transform:translateX(-50%);
width:250px;
background:#fff;
border-radius:20px;
padding:12px;
opacity:0;
visibility:hidden;
transition:.25s;
box-shadow:0 18px 50px rgba(0,0,0,.18);
}

.tt-dropdown:hover .tt-dropdown-box{
opacity:1;
visibility:visible;
top:125%;
}

.tt-dropdown-box a{
display:block;
padding:14px;
border-radius:12px;
color:var(--font-purple);
}

.tt-dropdown-box a:hover{
background:var(--milky);
}

/* MEGA */

.tt-mega-box{
position:absolute;
top:150%;
right:-120px;
width:1100px;
background:#fff;
border-radius:24px;
padding:34px;
display:grid;
grid-template-columns:repeat(4,1fr);
gap:24px;
opacity:0;
visibility:hidden;
transition:.25s;
box-shadow:0 25px 70px rgba(0,0,0,.18);
}

.tt-mega:hover .tt-mega-box{
opacity:1;
visibility:visible;
top:125%;
}

.tt-mega-box div{
padding-right:18px;
border-right:1px solid #ece5ef;
}

.tt-mega-box div:last-child{
border:none;
}

.tt-mega-box h4{
color:var(--font-purple);
margin-bottom:16px;
position:relative;
}



.tt-mega-box a{
display:block;
padding:9px 0;
color:var(--font-purple);
}

.tt-mega-box a:hover{
color:var(--font-purple);
}

/* MOBILE */

.tt-open{
display:none;
margin-left:auto;
background:none;
border:none;
cursor:pointer;
}

.tt-open span{
display:block;
width:28px;
height:2px;
background:#fff;
margin:6px 0;
}

.tt-overlay{
position:fixed;
inset:0;
background:rgba(0,0,0,.45);
opacity:0;
visibility:hidden;
transition:.3s;
z-index:998;
}

.tt-overlay.active{
opacity:1;
visibility:visible;
}

.tt-mobile{
position:fixed;
top:0;
right:-100%;
width:360px;
max-width:100%;
height:100%;
background:var(--purple);
padding:22px;
overflow:auto;
transition:.35s;
z-index:9999;
}

.tt-mobile.active{
right:0;
}

.tt-mobile-top{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:30px;
}

.tt-mobile-top img{
width:180px;
height:auto;
}

#ttClose{
background:none;
border:none;
color:#fff;
font-size:30px;
cursor:pointer;
}

.tt-mobile-links>a,
.tt-mobile-toggle{
display:flex;
justify-content:space-between;
align-items:center;
width:100%;
padding:18px 0;
background:none;
border:none;
border-bottom:1px solid rgba(255,255,255,.08);
color:#fff;
font-size:18px;
cursor:pointer;
}

.tt-mobile-content{
display:none;
}

.tt-mobile-content.active{
display:block;
}

.tt-white-box{
background:#fff;
border-radius:20px;
padding:20px;
margin-top:15px;
}

.tt-white-box a{
display:block;
padding:10px 0;
color:var(--font-purple);
}

.tt-white-box h5{
color:var(--font-purple);
margin-bottom:10px;
}

.tt-white-box hr{
margin:16px 0;
border:none;
border-top:1px solid #eee;
}

.mobile-btn{
display:block;
margin-top:30px;
text-align:center;
}




/* Responsive */

@media(max-width:1100px){

.tt-nav,
.tt-container>.tt-btn-head{
display:none;
}

.tt-open{
display:block;
}

.tt-container{
height:74px;
padding:0 20px;
}

.tt-logo img{
height:42px;
}


.tt-mobile{
width:100%;
}

}


@media(max-width:768px){
    .mobile-btn{
display:block;
margin-top:30px;
text-align:center;
}

}
