/* =========================
   GLOBAL
========================= */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Segoe UI',sans-serif;
background:linear-gradient(135deg,#061a40,#0b3d91,#1565c0);
min-height:100vh;
color:white;
position:relative;
overflow-x:hidden;
}

/* =========================
   BACKGROUND CIRCLES
========================= */

.circle{
position:absolute;
border-radius:50%;
background:rgba(255,255,255,0.08);
animation:float 8s infinite ease-in-out;
z-index:1;
}

.circle1{
width:250px;
height:250px;
top:-60px;
left:-60px;
}

.circle2{
width:180px;
height:180px;
bottom:40px;
right:50px;
animation-delay:2s;
}

.circle3{
width:120px;
height:120px;
top:50%;
left:10%;
animation-delay:4s;
}

@keyframes float{
0%{
transform:translateY(0px);
}
50%{
transform:translateY(20px);
}
100%{
transform:translateY(0px);
}
}

/* =========================
   NAVBAR
========================= */
/* ===========================
   NAVBAR
=========================== */

.navbar{

    position:sticky;

    top:0;

    z-index:9999;

    background:rgba(5,22,55,.92);

    backdrop-filter:blur(15px);

    padding:18px 35px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.logo{

    color:white;

    text-decoration:none;

    font-size:30px;

    font-weight:bold;

}

.logo span{

    color:#ffb300;

}

/* wrapper */

.navbar-wrapper{

    display:flex;

    align-items:center;

    gap:35px;

}

/* menu */

.navbar-menu{

    display:flex;

    gap:28px;

}

.navbar-menu a{

    color:white;

    text-decoration:none;

    font-weight:600;

    transition:.25s;

}

.navbar-menu a:hover{

    color:#ffb300;

}

/* search */

.navbar-search form{

    display:flex;

    width:260px;

    background:white;

    border-radius:10px;

    overflow:hidden;

}

.navbar-search input{

    flex:1;

    border:none;

    outline:none;

    padding:12px;

}

.navbar-search button{

    border:none;

    background:#ffb300;

    padding:0 18px;

    cursor:pointer;

}

/* actions */

.navbar-actions{

    display:flex;

    align-items:center;

    gap:15px;

}

.login-link{

    color:white;

    text-decoration:none;

    font-weight:600;

}

.signup-btn{

    background:#ffb300;

    color:#111;

    text-decoration:none;

    padding:12px 22px;

    border-radius:10px;

    font-weight:bold;

}

.signup-btn:hover{

    background:#ff9800;

}

.user-btn{

    background:rgba(255,255,255,.15);

    color:white;

    border:none;

    padding:12px 18px;

    border-radius:10px;

    cursor:pointer;

}

/* hamburger */

.menu-toggle{

    display:none;

    border:none;

    background:none;

    color:white;

    font-size:30px;

    cursor:pointer;

}

/* ===========================
   MOBILE
=========================== */

@media(max-width:1100px){

    .menu-toggle{

        display:block;

    }

    .navbar{

        flex-wrap:wrap;

    }

    .navbar-wrapper{

        display:none;

        width:100%;

        flex-direction:column;

        align-items:stretch;

        margin-top:25px;

        gap:20px;

    }

    .navbar-wrapper.show{

        display:flex;

    }

    .navbar-menu{

        flex-direction:column;

        gap:15px;

    }

    .navbar-menu a{

        padding:12px 0;

        border-bottom:

        1px solid rgba(255,255,255,.12);

    }

    .navbar-search{

        width:100%;

    }

    .navbar-search form{

        width:100%;

    }

    .navbar-actions{

        width:100%;

        flex-direction:column;

        align-items:stretch;

    }

    .signup-btn,

    .login-link,

    .user-btn{

        text-align:center;

        width:100%;

    }

}
/* =========================
   MAIN CONTENT
========================= */

.main-content{
position:relative;
z-index:10;
padding:40px;
min-height:calc(100vh - 140px);
}

/* =========================
   FOOTER
========================= */

.footer{
padding:25px;
text-align:center;
font-size:14px;
color:rgba(255,255,255,0.8);
position:relative;
z-index:10;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:768px){

.navbar{
padding:20px;
flex-direction:column;
gap:20px;
}

.main-content{
padding:20px;
}

}

/* =========================================
   NAVBAR RIGHT
========================================= */

.navbar-right{
display:flex;
align-items:center;
gap:20px;
}


/* =========================================
   GLOBAL SEARCH
========================================= */

.global-search-form{
display:flex;
align-items:center;
background:white;
border-radius:10px;
overflow:hidden;
width:320px;
}

.global-search-input{
border:none;
outline:none;
padding:12px 15px;
width:100%;
font-size:15px;
}

.global-search-btn{
border:none;
background:#ffb300;
padding:12px 18px;
cursor:pointer;
font-size:16px;
}


/* =========================================
   MOBILE
========================================= */

@media(max-width:768px){

.navbar{
flex-direction:column;
gap:20px;
}

.navbar-right{
width:100%;
flex-direction:column;
}

.global-search-form{
width:100%;
}

}

/* =========================================
   SEARCH PAGE
========================================= */

.search-page{
width:100%;
padding:40px;
}

.search-container{
max-width:1200px;
margin:auto;
}

.search-title{
font-size:42px;
margin-bottom:15px;
}

.search-info{
margin-bottom:40px;
font-size:18px;
color:#ddd;
}


/* =========================================
   SEARCH CARD
========================================= */

.search-card{
background:white;
color:#111;
padding:30px;
border-radius:18px;
margin-bottom:25px;
box-shadow:0 5px 20px rgba(0,0,0,0.15);
}

.search-document{
font-size:14px;
font-weight:700;
color:#0b3d91;
margin-bottom:10px;
}

.search-section-title{
font-size:28px;
margin-bottom:15px;
}

.search-content{
line-height:1.8;
color:#555;
margin-bottom:25px;
}

.open-result-btn{
display:inline-block;
background:#ffb300;
padding:12px 20px;
border-radius:10px;
text-decoration:none;
color:#111;
font-weight:700;
}


/* =========================================
   PAGINATION
========================================= */

.pagination-wrapper{
display:flex;
justify-content:center;
align-items:center;
gap:20px;
margin-top:40px;
}

.pagination-btn{
background:white;
color:#111;
padding:10px 20px;
border-radius:10px;
text-decoration:none;
font-weight:700;
}

.pagination-current{
font-weight:700;
}


/* =========================================
   NO RESULTS
========================================= */

.no-results{
text-align:center;
padding:80px 20px;
}

.no-results h2{
font-size:40px;
margin-bottom:20px;
}

/* =========================================
   USER DROPDOWN
========================================= */

.user-dropdown{
    position:relative;
    display:inline-block;
}

.dropdown-btn{
    min-width:180px;
    display:flex;
    align-items:center;
    gap:10px;
}

/* Dropdown Box */

.dropdown-content{
    display:none;

    position:absolute;

    right:0;

    top:calc(100% + 8px);

    min-width:220px;

    background:#ffffff;

    border-radius:12px;

    overflow:hidden;

    box-shadow:
        0 10px 25px rgba(0,0,0,0.20);

    z-index:9999;
}

.dropdown-content.show{
    display:block;
}

/* Links */

.dropdown-content a{

    display:block;

    padding:14px 18px;

    color:#111;

    text-decoration:none;

    font-weight:600;

    transition:0.3s;
}

.dropdown-content a:hover{
    background:#f5f5f5;
}

.dropdown-content form{
    margin:0;
}

/* Logout */

.dropdown-logout{

    width:100%;

    border:none;

    background:white;

    text-align:left;

    padding:14px 18px;

    cursor:pointer;

    font-size:15px;

    font-weight:600;

    color:#d32f2f;
}

.dropdown-logout:hover{
    background:#fff5f5;
}

/* Arrow Animation */

.arrow{

    display:inline-block;

    transition:
        transform 0.3s ease;
}

.arrow.rotate{

    transform:
        rotate(180deg);
}
/* ======================================
                FOOTER
====================================== */

.footer{

    margin-top:120px;

    position:relative;

    overflow:hidden;

    background:linear-gradient(
        135deg,
        #061a40,
        #0b3d91,
        #1565c0
    );

    padding:70px 40px 25px;

    color:#fff;

}

/* Glass Overlay */

.footer::before{

    content:"";

    position:absolute;

    inset:0;

    background:rgba(255,255,255,.04);

    backdrop-filter:blur(10px);

}

/* Floating Circle */

.footer::after{

    content:"";

    position:absolute;

    width:320px;

    height:320px;

    right:-80px;

    top:-120px;

    border-radius:50%;

    background:rgba(255,255,255,.05);

}

.footer-container{

    position:relative;

    z-index:2;

    max-width:1450px;

    margin:auto;

    display:grid;

    grid-template-columns:
    1.4fr
    repeat(4,1fr);

    gap:25px;

}

/* Cards */

.footer-card{

    background:rgba(255,255,255,.07);

    border:1px solid rgba(255,255,255,.12);

    border-radius:18px;

    padding:25px;

    transition:.35s;

}

.footer-card:hover{

    transform:translateY(-6px);

    background:rgba(255,255,255,.10);

    box-shadow:0 18px 40px rgba(0,0,0,.25);

}

.footer-logo{

    font-size:34px;

    margin-bottom:15px;

}

.footer-logo span{

    color:#ffb300;

}

.footer-company p{

    line-height:1.9;

    color:#d9e8ff;

    margin-bottom:25px;

}

.footer-version{

    display:flex;

    justify-content:space-between;

    background:rgba(255,255,255,.08);

    padding:12px 18px;

    border-radius:12px;

}

.footer-version span{

    color:#d0dcff;

}

.footer-version strong{

    color:#ffb300;

}

.footer-card h3{

    margin-bottom:18px;

    font-size:21px;

}

.footer-card ul{

    list-style:none;

}

.footer-card li{

    margin-bottom:11px;

}

.footer-card a{

    color:#dce8ff;

    text-decoration:none;

    transition:.25s;

}

.footer-card a:hover{

    color:#ffb300;

    padding-left:6px;

}

/* Bottom */

.footer-bottom{

    position:relative;

    z-index:2;

    max-width:1450px;

    margin:40px auto 0;

    padding-top:20px;

    border-top:1px solid rgba(255,255,255,.15);

    display:flex;

    justify-content:space-between;

    align-items:center;

    flex-wrap:wrap;

    gap:20px;

    font-size:15px;

}

.footer-bottom strong{

    color:#fff;

}

.footer-bottom-links{

    display:flex;

    gap:15px;

    align-items:center;

}

.footer-bottom-links span{

    opacity:.5;

}

.footer-bottom-links a{

    color:#dce8ff;

    text-decoration:none;

}

.footer-bottom-links a:hover{

    color:#ffb300;

}

/* Responsive */

@media(max-width:1200px){

.footer-container{

grid-template-columns:
repeat(2,1fr);

}

}

@media(max-width:768px){

.footer{

padding:40px 20px;

}

.footer-container{

grid-template-columns:1fr;

}

.footer-bottom{

flex-direction:column;

text-align:center;

}

.footer-bottom-links{

flex-wrap:wrap;

justify-content:center;

}

}