@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Manrope:wght@200..800&family=Noto+Sans+JP:wght@100..900&display=swap');
@font-face {
    font-family: 'Bahnschrift';
    src:url('/fonts/BAHNSCHRIFT.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}
* {
    margin: 0;
    padding: 0;
}

/* Prevent layout shift */
body {
    top: 0 !important;
}

.topnav {
    position: fixed;
    top: 0%;
    width: 100%;
    z-index: 1000;
    background-color: white;
    height: 85px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topnav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(7px);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

.topnav.active::before {
    opacity: 1;
}

/* Navigation Styles */
.nav-desktop {
    display: flex;
    height: 100%;
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    align-items: center;
}

.nav-desktop a {
    border-radius: 2px;
    color: #21346e;
    text-align: center;
    padding: 0px 20px;
    transition: 0.2s;
    text-decoration: none;
    font-family: "Bahnschrift", sans-serif;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-desktop a.active-W,.dropdown .dropbtn.active-W {
    background-color: #010303cb;
    color: #e0e1dd;
}
.dropdown .dropbtn.active-W a{
    color: #e0e1dd;
}
.nav-desktop a.active-W:hover, .dropdown .dropbtn.active-W {
    background-color: #010303cb;
    color: #e0e1dd;
}

.nav-desktop .translate {
    font-size: 25px;
    border: none;
    outline: none;
    color: #e0e1dd;
    background-color: transparent;
    margin-right: 17px;
    cursor: pointer;
    height: 100%;
    align-items: center;
    transition: 0.2s;
    border-radius: 2px;
}

a.title {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 0px 0 0 40px;
}

a.title .home {
    margin-left: -15px;
}

a.title .home h2 {
    font-size: 23px;
    font-weight: 700;
    font-family: 'Bahnschrift';
    padding-bottom: 0px;
    color: #21346e;
    text-decoration: none;
}

a.title .home h3 {
    font-family: "Manrope", sans-serif;
    text-decoration: none;
    font-size: 15px;
    color: #314d7d;
    font-weight: 200;
}

a.title img {
    height: 75px;
    width: 75px;
    margin-right: 20px;
    object-fit: contain;
}

.nav-desktop a:hover {
    transition: 0.2s;
    color: white;
    background-color: #01070ece;
}
.nav-desktop .dropbtn a:hover {
    background-color:transparent;
}
/* Dropdown Styles */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.dropdown .dropbtn {
    font-size: 15px;
    border: none;
    outline: none;
    color: #e0e1dd;
    padding: 0 24px;
    background-color: transparent;
    border-radius: 2px;
    cursor: pointer;
    height: 100%;
    display: flex;
    align-items: center;
    transition: 0.2s;
}

.dropdown .dropbtn a {
    padding: 0;
    pointer-events: all;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #01070eee;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    top: 100%;
    right: 0;
    border-radius: 5px;
    overflow: hidden;
}

.dropdown-content a {
    color: #e0e1dd;
    padding: 17px 25px;
    font-size: 15px;
    text-decoration: none;
    display: block;
    text-align: left;
    transition: background-color 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    transition: 0.2s;
    color: white;
    background-color: #0e0101ce;
}

.dropdown:hover .dropbtn a {
    transition: 0.2s;
    color: white;
}

/* Bottom Navigation Bar */
.bottom-navigation-bar {
    position: relative;
    z-index: 100;
    background-color: #010507;
    padding: 50px 20px 20px;
    border-top: 2px solid #eb6623;
}

.bottom-navigation-bar .upper {
    display: flex;
    height: auto;
}

.bottom-navigation-bar .section {
    width: 20%;
    padding: 0 15px;
    margin-bottom: 30px;
}

.bottom-navigation-bar .section h1 {
    color: #eb6623;
    text-align: left;
    font-family: "Lato", sans-serif;
    font-size: 19px;
    margin-bottom: 10px;
}

.bottom-navigation-bar .section .line {
    height: 2px;
    width: 100px;
    background-color: #eb6623;
    margin-left: 0px;
    margin-bottom: 10px;
}

.bottom-navigation-bar .section p,
.bottom-navigation-bar .section li,
.bottom-navigation-bar .section a {
    color: #d4d4d4;
    font-family: "Manrope", sans-serif;
    font-size: 12px;
    line-height: 1.6;
    text-align: left;
    padding-left: 5px;
}

.bottom-navigation-bar .section ul {
    list-style: none;
    padding: 0;
}

.bottom-navigation-bar .section li {
    margin-bottom: 8px;
    transition: transform 0.2s ease;
}

.bottom-navigation-bar .section li:hover {
    transform: translateX(5px);
}

.bottom-navigation-bar .section li.no:hover {
    transform: translateX(0px);
}

.bottom-navigation-bar .section a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.bottom-navigation-bar .section a:hover {
    color: #eb6623;
}

.social-icons {
    text-align: left;
    display: flex;
    gap: 10px;
    margin-top: 7px;
    justify-content: left;
}

.social-icons a {
    color: #d4d4d4;
    font-size: 20px;
    transition: color 0.2s ease;
}

.social-icons a:hover {
    color: #eb6623;
}

.copyright {
    width: 100%;
    text-align: center;
    padding: 20px 0 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
    color: #8a8a8a;
    font-size: 12px;
}

/* Hover Navigation */
.hover-nav {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 15px;
    z-index: 1000;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    animation: hoverNavSlideReverse 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes hoverNavSlideReverse {
    0% {
        opacity: 1;
        transform: translateY(0px);
    }
    100% {
        opacity: 0;
        transform: translateY(100px);
    }
}

@keyframes hoverNavSlide {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }
    70% {
        opacity: 1;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

.hover-nav.active {
    animation: hoverNavSlide 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hover-nav i:hover {
    transform: translateY(-5px);
    transition: 0.3s;
    color: #eb6623;
    background-color: #00000000;
}

.hover-nav i {
    font-size: 30px;
    display: inline-block;
    color: white;
    background: #0000008a;
    padding: 8px 15px 8px 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.hover-nav i:active {
    transform: translateY(0px);
    transition: 0.1s;
    color: #cca63c;
    background-color: #00000000;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .topnav .title {
        padding-left: 20px;
    }

    .bottom-navigation-bar .section {
        width: 45%;
    }
}

@media screen and (max-width: 576px) {
    .bottom-navigation-bar .section {
        width: 100%;
    }
}