﻿body {
    font-family: Arial, sans-serif;
    margin: 0;
}

.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

/* Logo Styling */
.logo {
    display: flex;
    align-items: center;
}

    .logo img {
        height: 50px;
        margin-right: 10px;
    }

.logo-text h1 {
    font-size: 24px;
    margin: 0;
    text-transform: lowercase;
    font-style: italic;
    color: #333;
}

.logo-text p {
    font-size: 10px;
    margin: 0;
    color: #666;
}

/* Navigation */
.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
}

    .nav-menu ul li a {
        text-decoration: none;
        color: #333;
        font-size: 14px;
        font-weight: 500;
    }

        .nav-menu ul li a.active {
            color: #f8ad35;
            /* Orange color for Home */
        }

.nav-menu i {
    font-size: 12px;
    margin-left: 3px;
}

/* Action Buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.submit-btn {
    background-color: #0088cc;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

.search-btn {
    background: black;
    color: white;
    border: none;
    padding: 8px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.lang-selector {
    display: flex;
    gap: 10px;
    font-size: 13px;
    font-weight: bold;
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

    .lang-item img {
        width: 18px;
    }

/* Navigation bar */
.orange-bg {
    background-color: #f9c310 !important;
    display: block !important;
    width: 100%;
    color: white;
}

/* Table Styles - Updated for Box Type */
.table-container {
    margin-top: 30px;
    border: 1px solid #dee2e6;
    /* Bahar ka box border */
    border-radius: 4px;
    overflow: hidden;
}

.table {
    margin-bottom: 0;
    /* Extra space khatam karne ke liye */
    border-collapse: collapse;
    /* Taake borders double na dikhein */
}

    .table thead {
        background-color: #f8f9fa;
    }

    .table th {
        font-weight: 700;
        padding: 15px;
        border: 1px solid #dee2e6;
        /* Box lines for Header */
        color: #333;
        text-align: center;
        /* Heading ko center karne ke liye */
    }

    .table td {
        padding: 12px;
        border: 1px solid #dee2e6;
        vertical-align: middle;
    }


/*Footer */
.main-footer {
    background-color: #002133;
    /* Dark Blue Background */
    color: white;
    padding: 20px 0 10px;
    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: 1px;
    }

    .footer-links a {
        color: white;
        text-decoration: none;
        font-size: 14px;
    }

/* Newsletter Inputs */
.custom-field {
    background-color: white !important;
    border: none !important;
    height: 45px;
    padding-left: 20px !important;
    font-size: 14px;
    color: #333 !important;
}

/* Blue Subscribe Button */
.subscribe-btn {
    background-color: #0088cc !important;
    /* Blue color from screenshot */
    color: white !important;
    font-weight: bold;
    height: 45px;
    border: none;
    letter-spacing: 0.5px;
    cursor: pointer;
}

    /* Remove Hover change to keep it static like screenshot */
    .subscribe-btn:hover {
        background-color: #0088cc !important;
        color: white !important;
        opacity: 0.9;
    }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.copyright-text {
    font-size: 13px;
    color: #ccc;
}

/* Scroll Up Icon on Right */
.scroll-up-btn {
    position: absolute;
    right: 0;
    bottom: 15px;
    color: #0088cc;
    font-size: 18px;
    cursor: pointer;
}

/* --- RESPONSIVE STYLES --- */

/* 1. Tablet aur Mobile ke liye common changes */
@media (max-width: 992px) {
    .main-header {
        flex-direction: column;
        /* Items ko upar niche karne ke liye */
        gap: 15px;
        text-align: center;
    }

    .nav-menu ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .header-actions {
        justify-content: center;
        width: 100%;
    }
}

/* 2. Mobile Screens (Phones) */
@media (max-width: 768px) {
    .logo {
        flex-direction: column;
        margin-bottom: 10px;
    }

        .logo img {
            margin-right: 0;
            margin-bottom: 5px;
        }

    /* Table Container ko scrollable banana */
    .table-container {
        overflow-x: auto;
        /* Mobile par ungli se slide karne ke liye */
        -webkit-overflow-scrolling: touch;
    }

    .table {
        min-width: 600px;
        /* Taake table bohot choti na ho jaye */
    }

    /* Footer structure */
    .footer-content {
        display: flex;
        flex-direction: column;
        padding: 0 20px;
    }

    .footer-column {
        width: 100% !important;
        margin-bottom: 30px;
        text-align: center;
    }

    .footer-links li {
        margin-bottom: 8px;
    }

    .header-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* 3. Extra Small Screens */
@media (max-width: 480px) {
    .logo-text h1 {
        font-size: 20px;
    }

    .submit-btn {
        width: 100%;
        text-align: center;
    }

    .lang-selector {
        width: 100%;
        justify-content: center;
    }
}
