/* Modern Header Enhancements */

/* Enhanced Navbar with gradient and glassmorphism */
.navbar-default {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(244, 122, 0, 0.2);
    border-bottom: 1px solid rgba(244, 122, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-header{
    position: relative;
    z-index: 1111;
}

.navbar-collapse{
    position: relative;
    z-index: 1111;
}

.hero-section {
    background: linear-gradient(135deg, #f47a00 0%, #f47a00 100%) !important;
    background-image: linear-gradient(rgb(234 129 8 / 80%), rgb(228 124 27 / 80%)), url(https://images.unsplash.com/photo-1576091160399-112ba8d25d1f?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80) !important;
}
/* Add subtle gradient overlay to entire header */
.navbar-default::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(244, 122, 0, 0.03) 0%, 
        rgba(244, 122, 0, 0.05) 50%, 
        rgba(244, 122, 0, 0.03) 100%);
    pointer-events: none;
    z-index: -1;
}

/* Enhanced logo area */
.navbar-brand {
    display: flex !important;
    align-items: center;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand img {
    max-height: 50px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.navbar-brand img:hover {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

/* Modern site title styling */
.site-name {
    margin: 0;
    font-weight: 700;
    background: linear-gradient(135deg, #f47a00, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
}

/* Enhanced navigation menu */
.navbar-nav > li > a {
    font-weight: 500;
    color: #333 !important;
    padding: 15px 20px !important;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 25px;
    margin: 0 5px;
}

/* Modern hover effect with sliding underline */
.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
    color: #f47a00 !important;
    background: rgba(244, 122, 0, 0.1) !important;
    transform: translateY(-2px);
}

.navbar-nav > li > a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f47a00, #ff8c00);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.navbar-nav > li > a:hover::after {
    width: 60%;
}

/* Enhanced dropdown styling */
.dropdown-menu {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(244, 122, 0, 0.2) !important;
    border-radius: 15px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    margin-top: 10px !important;
    padding: 10px 0 !important;
    animation: dropdownFadeIn 0.3s ease-out !important;
    z-index: 1060 !important;
    position: absolute !important;
}

/* Force dropdown to be clickable */
.dropdown-menu * {
    pointer-events: auto !important;
}

.dropdown-menu li {
    pointer-events: auto !important;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu > li > a {
    padding: 12px 25px !important;
    color: #333 !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    border-radius: 10px !important;
    margin: 2px 10px !important;
    display: block !important;
    pointer-events: auto !important;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    background: linear-gradient(135deg, rgba(244, 122, 0, 0.1), rgba(255, 140, 0, 0.1)) !important;
    color: #f47a00 !important;
    transform: translateX(5px) !important;
    text-decoration: none !important;
}

/* Modern search bar */
.navbar-form {
    margin: 8px 0;
}

.navbar-form .form-control {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 25px;
    padding: 8px 20px;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    width: 200px;
}

.navbar-form .form-control:focus {
    background: rgba(255, 255, 255, 1);
    border-color: #f47a00;
    box-shadow: 0 0 0 3px rgba(244, 122, 0, 0.1);
    outline: none;
    transform: scale(1.02);
}

.navbar-form .btn-default {
    background: linear-gradient(135deg, #f47a00, #ff8c00);
    border: none;
    border-radius: 25px;
    color: white;
    padding: 8px 20px;
    font-weight: 600;
    margin-left: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(244, 122, 0, 0.3);
}

.navbar-form .btn-default:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(244, 122, 0, 0.4);
    background: linear-gradient(135deg, #e6690a, #f47a00);
}

/* User navigation enhancements */
#navigationUser .badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    border-radius: 50%;
    font-size: 11px;
    padding: 3px 6px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Mobile hamburger menu enhancement */
.navbar-toggle {
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-toggle:hover,
.navbar-toggle:focus {
    background: rgba(244, 122, 0, 0.1);
    border-color: #f47a00;
    transform: scale(1.05);
}

.navbar-toggle .icon-bar {
    background: #f47a00;
    height: 3px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Add subtle animations */
.navbar-nav > li {
    animation: slideInDown 0.6s ease-out;
    animation-fill-mode: both;
}

.navbar-nav > li:nth-child(1) { animation-delay: 0.1s; }
.navbar-nav > li:nth-child(2) { animation-delay: 0.2s; }
.navbar-nav > li:nth-child(3) { animation-delay: 0.3s; }
.navbar-nav > li:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced container styling */
.container-fluid {
    position: relative;
}

/* Responsive enhancements */
@media (max-width: 768px) {
    .navbar-form .form-control {
        width: 150px;
        font-size: 13px;
    }
    
    .navbar-brand img {
        max-height: 40px;
    }
    
    .site-name {
        font-size: 1.4rem;
    }
    
    .navbar-nav > li > a {
        margin: 2px 0;
        border-radius: 15px;
    }
    
    .hero-section {
        height: 350px;
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .navbar-form {
        margin-top: 15px;
        text-align: center;
    }
    
    .navbar-form .form-control {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .navbar-form .btn-default {
        width: 100%;
        margin-left: 0;
    }
    
    .hero-section {
        height: 300px;
    }
}

/* Add subtle top border accent */
.navbar-default::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f47a00, #ff8c00, #f47a00);
    border-radius: 0 0 2px 2px;
}

/*footer*/
        .main-content {
            flex: 1;
            padding: 2rem;
        }

        .journal-footer {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            padding: 3rem 0 2rem;
            margin-top: auto;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 3rem;
            margin-bottom: 2rem;
        }

        .about-section {
            padding-right: 1rem;
        }

        .logo-container {
            display: flex;
            align-items: center;
            margin-bottom: 1.5rem;
        }


        .journal-title {
            color: #2c3e50;
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .journal-subtitle {
            color: #7f8c8d;
            font-size: 0.9rem;
            font-weight: 500;
        }

        .description {
            color: #34495e;
            margin-bottom: 1.5rem;
            line-height: 1.7;
        }

        .issn-info {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            margin-top: 1rem;
        }

        .issn-item {
            background: linear-gradient(135deg, #f47a00 0%, #f7d9bb 100%);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 25px;
            font-size: 0.85rem;
            font-weight: 600;
            box-shadow: 0 4px 15px rgba(242, 241, 240, 0.3);
        }

        .section-title {
            color: #f47a00;
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            position: relative;
        }

        .section-title::after {
            content: "";
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 30px;
            height: 3px;
            background: linear-gradient(135deg,  #f47a00 0%, #f7d9bb 100%);
            border-radius: 2px;
        }

        .quick-links {
            list-style: none;
        }

        .quick-links li {
            margin-bottom: 0.8rem;
        }

        .quick-links a {
            color: #fb9d04;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
            padding-left: 1rem;
        }

        .quick-links a::before {
            content: "→";
            position: absolute;
            left: 0;
            color: #000000;
            transition: transform 0.3s ease;
        }

        .quick-links a:hover {
            color: #667eea;
            transform: translateX(5px);
        }

        .quick-links a:hover::before {
            transform: translateX(5px);
        }

        .publisher-section {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            padding: 1.5rem;
            border-radius: 15px;
            border: 1px solid rgba(102, 126, 234, 0.1);
        }

        .university-logo {
            width: 120px;
            height: 120px;
            background: linear-gradient(135deg,  #f47a00 0%, #f7d9bb 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
        }

        .university-logo::before {
            content: "🎓";
            font-size: 3rem;
        }

        .publisher-info {
            text-align: center;
            color: #495057;
            font-weight: 500;
            line-height: 1.6;
        }

        .copyright {
            text-align: center;
            padding-top: 2rem;
            border-top: 2px solid rgba(102, 126, 234, 0.1);
            color: #6c757d;
            font-size: 0.9rem;
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 2rem;
            }

            .about-section {
                grid-column: 1 / -1;
                padding-right: 0;
            }
        }

        @media (max-width: 768px) {
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .container {
                padding: 0 1rem;
            }

            .journal-footer {
                padding: 2rem 0 1.5rem;
            }

            .logo-container {
                flex-direction: column;
                text-align: center;
            }

            .logo {
                margin-right: 0;
                margin-bottom: 1rem;
            }

            .issn-info {
                justify-content: center;
            }

            .university-logo {
                width: 100px;
                height: 100px;
            }
        }

        @media (max-width: 480px) {
            .issn-info {
                flex-direction: column;
                align-items: center;
            }

            .issn-item {
                text-align: center;
            }
        }

        /* Hover animations */
        .publisher-section {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .publisher-section:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(102, 126, 234, 0.1);
        }

        .logo,
        .university-logo {
            transition: transform 0.3s ease;
        }

        .logo:hover,
        .university-logo:hover {
            transform: scale(1.05);
        }

        .footer .col-md-2{
            display: none;
        }