/* General Styling */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}

/* Header Styling */
.navbar {
    background: #ffffff;
    /* Change header background to white */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Subtle shadow for header */
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #18a100 !important;
    /* Adjust brand color for better contrast */
}

.navbar-brand:hover {
    color: #154507 !important;
    /* Slightly darker hover effect */
}

.navbar-nav .nav-item {
    margin-left: 5px;
}

.navbar-nav .nav-link {
    color: #000000;
    /* Menu items in a neutral dark color */
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #007bff;
    /* Blue hover effect */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link.active {
    color: #0056b3 !important;
    /* Highlighted active menu item in a darker blue */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-weight: bold;
}

.navbar-toggler {
    border: none;
    color: #007bff;
    /* Toggler color matches the theme */
}

.navbar-toggler:focus {
    outline: none;
}

/* Dropdown Styling */
.dropdown-menu {
    background-color: #343a40;
    border: none;
}

.dropdown-menu .dropdown-item {
    color: white;
    transition: all 0.3s ease;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #ffdd57;
    color: black;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

/* Background Images Slider */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: scrollBackgrounds 30s infinite ease-in-out;
    z-index: -1;
}

/* Dark Overlay Layer */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    z-index: 0; /* Layer below content but above background */
}

/* Animation for background images */
@keyframes scrollBackgrounds {
    0% { background-image: url('../images/3.webp'); }
    50% { background-image: url('../images/8.webp'); }
    100% { background-image: url('../images/10.webp'); }
    /*75% { background-image: url('../images/4.webp'); }*/
    /*100% { background-image: url('https://fringeglobal.com/wp-content/uploads/2024/12/5.webp'); }*/
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    text-shadow: 3px 5px 10px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
    z-index: 1; /* Place above overlay */
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.hero-content .btn-primary {
    padding: 12px 25px;
    font-size: 1.1rem;
    border-radius: 30px;
    background-color: #007bff;
    border: none;
    transition: all 0.3s ease;
    z-index: 1;
}

.hero-content .btn-primary:hover {
    background: #ffdd57;
    color: black;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .hero-content .btn-primary {
        font-size: 1rem;
    }
}


footer {
    background-color: #343a40;
    color: white;
    padding: 30px 0;
}

footer a {
    color: #ccc;
}

.bottom-footer {
    background-color: black;
    color: white;
    padding: 10px 0;
}



/* Back-to-top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #343a40;
    color: white;
    padding: 10px 15px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: none;
}

.back-to-top:hover {
    background: #ffdd57;
    color: black;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeIn 2s ease-in-out;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeIn 2s ease-in-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.6);
    animation: slideInFromLeft 2s ease-in-out;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 20px;
    animation: slideInFromRight 2s ease-in-out;
}

.hero-content .btn-primary {
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.hero-content .btn-primary:hover {
    background: #ffdd57;
    color: black;
    transform: scale(1.05);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

/* Back-to-top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #343a40;
    color: white;
    padding: 10px 15px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: none;
}

.featured-journals {
max-height: none !important; 
    
    /* Ensure no scrollbar is shown */
    overflow-y: visible !important;
}

.featured-journals h5 {
    background-color: #343a40;
    color: #fff;
    text-align: center;
    padding: 10px;
    margin-bottom: 10px;
}


.list-group-item a {
    font-weight: bold;
}

.list-group-item p {
    font-size: 0.875rem;
}

.content-area {
    margin-top: 20px;
}

.content-area h2 {
    text-align: center;
    margin-bottom: 30px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: bold;
}

.card-body p {
    font-size: 0.9rem;
}


.back-to-top:hover {
    background: #ffdd57;
    color: black;
}

/* Scroll-to-Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #343a40;
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
    transition: background 0.3s ease, transform 0.3s ease;
}

.back-to-top:hover {
    background: #ffdd57;
    color: black;
    transform: scale(1.1);
}

.back-to-top i {
    font-size: 20px;
}

.p-3 {
    background-color: #f8f9fa;
}

.text-primary {
    font-weight: bold;
}

.text-muted {
    font-size: 0.9rem;
}

.btn-link {
    color: #007bff;
    font-weight: bold;
}

.btn-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.border {
    border: 1px solid #ddd;
}

.card {
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
}

.btn {
    font-size: 0.85rem;
    margin-top: 5px;
}

.table-container {
    margin: 20px auto;
    width: 80%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;

}

.table-container th,
.table-container td {
    padding: 10px;
    border: 1px solid #d5d5d5;
    text-align: center;
}

.table-header {
    font-size: 19px;
    color: #323232;
    text-align: center;
    margin-top: 20px;
}

.year-header {
    font-weight: bold;
    font-size: 16px;
    color: #323232;
}

.volume-issue a {
    color: #0000FF;
    text-decoration: none;
}

.boldValue {
    font-weight: bold;
}


.carousel-inner img {
   width: 100%;
    height: auto;  /* Adjusts height automatically */
    max-height: 350px; /* Prevents images from being too large */
    object-fit: contain; /* Ensures full image is visible */
    display: block;
    margin: auto;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 15px;
    border-radius: 8px;
}

.carousel-caption h5 {
    font-size: 1.5rem;
    margin: 0;
    color: #ffffff;
}

.carousel-caption p {
    font-size: 1rem;
    margin: 5px 0 0;
    color: #e0e0e0;
}


.journals-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.journal-item {
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: white;
    transition: transform 0.3s, box-shadow 0.3s;
}

.journal-item:hover {
    transform: scale(1.02);
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.15);
}

.journal-item h4 {
    margin: 0;
    font-size: 1.25rem;
    color: #007BFF;
}

.journal-item p {
    margin: 5px 0 0;
    font-size: 0.9rem;
    color: #555;
}


/* Responsive Header */
.navbar {
    padding: 10px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
}

.nav-link {
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #007bff;
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }
}

/* Responsive Hero Section */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
}

.hero-content p {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 400px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }
}

/* Responsive Table */
.table-container {
    width: 100%;
    overflow-x: auto;
    margin: 20px 0;
}

.table-container th,
.table-container td {
    padding: 10px;
    text-align: center;
}

@media (max-width: 768px) {
    .table-container th,
    .table-container td {
        font-size: 0.85rem;
        padding: 8px;
    }
}

/* Content Area & Cards */
.content-area {
    padding: 20px;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card {
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .content-area {
        padding: 15px;
    }
}

/* Footer */
footer {
    padding: 20px;
    text-align: center;
    background: #343a40;
    color: #ffffff;
}

footer a {
    color: #cccccc;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #007bff;
}

@media (max-width: 600px) {
    footer {
        font-size: 0.9rem;
    }
}
