/* =========================
   (site.css) HEADER 
========================= */
/* prevent sections blocking navbar clicks */

.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.logo img {
    height: 50px;
}


.navbar-nav {
    flex-wrap: nowrap;
}

.navbar-nav {
    display: flex !important;
    gap: 22px;
    align-items: center;
}
/*
.navbar-nav {
    display: flex !important;
    gap: 30px;
}*/

    .navbar-nav li a {
        color: #333;
        font-size: 14px;
        font-weight: 500;
    }

        .navbar-nav li a.active {
            color: #f8ad35;
        }

    .navbar-nav .dropdown-menu {
        padding: 10px 0;
    }

    .navbar-nav .dropdown-item {
        padding: 8px 20px;
        font-size: 14px;
    }
    .navbar-nav .nav-link {
        white-space: nowrap;
    }



    /*
.header-actions {
    flex-shrink: 0;
}
.header-actions {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;     //  prevents overflow 

    gap: 20px;
}*/

/*Auth buttons*/

.submit-btn {
    background-color: #0088cc;
    color: #fff;
    padding: 8px 20px;
    font-weight: 600;
    border-radius: 30px;
    white-space: nowrap; /* prevents line break */
    flex-shrink: 0; /* ✅ prevents compression in navbar */
}



.search-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 8px 10px;
    border-radius: 4px;
}

.lang-selector {
    display: flex;
    gap: 10px;
    font-weight: bold;
}

.lang-item img {
    width: 18px;
}

.page-content {
    padding-top: 30px; /* THIS is the only correct place */
}

/* =========================
   FOOTER
========================= */
.main-footer {
    background-color: #002133;
    color: #fff;
    padding: 50px 30px 20px 30px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.footer-logo {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 5px;
}

.journal-info {
    font-size: 13px;
    color: #ccc;
    margin-bottom: 10px;
}

.open-access {
    font-size: 14px;
}

.footer-heading {
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 2px;
    }

    .footer-links a {
        color: #fff;
        text-decoration: none;
        font-size: 14px;
    }

.custom-field {
    background-color: #fff;
    border: none;
    height: 45px;
    padding-left: 20px;
    font-size: 14px;
    color: #333;
}

.subscribe-btn {
    background-color: #0088cc;
    color: #fff;
    font-weight: bold;
    height: 45px;
    border: none;
    cursor: pointer;
}

    .subscribe-btn:hover {
        opacity: 0.9;
    }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    text-align: center;
}

.scroll-up-btn {
    color: #0088cc;
    font-size: 18px;
    cursor: pointer;
}

/* Responsive Header & Footer */
@media screen and (max-width: 768px) {
    .navbar-nav {
        flex-direction: column !important;
        gap: 12px;
        margin-left: 0 !important;
    }

    .header-actions {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .submit-btn {
        width: 90%;
        text-align: center;
    }

    .footer-links {
        text-align: center;
    }
}
