
/* Importing a professional Google Font (e.g., Poppins or Roboto) */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

/* --- 1. Global & Typography --- */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #fff; /* Changed back to a light grey for better contrast with the white content sections */
    color: #34495e; /* Standard text color: Dark Slate */
}

h1, h2, h3, h4, .navbar-brand {
    font-family: 'Roboto', sans-serif;
    font-weight: 700; /* Bold headers */
    color: #1a2f4d; /* Dark Navy for impact */
}

/* --- FIX: Ensure no border around the logo image within the navbar-brand --- */
.navbar-brand img {
    border: none !important; /* Forces removal of any border */
    max-height: 125px; /* Adjust as needed for your logo's height */
    width: auto; /* Maintain aspect ratio */
}
/* --- END FIX --- */

a {
    transition: color 0.3s ease; /* Smooth hover transition */
    text-decoration: none;
}

/* --- 2. Color Palette & Branding --- */
/* Academic Primary Color: Deep Navy Blue */
:root {
    --primary-color: #004c99;
    --primary-dark: #666869;
    --accent-color: #633781; /* Warning/Call-to-action Yellow */
    --submit-color: #633781; /* Submit button is now gold */
    --white-color: #fff;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: background-color 0.3s;
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* --- 3. Navigation (Revised) --- */

/* Base Navbar Styling */
.navbar {
    border-bottom: 3px solid var(--accent-color); /* Adds a subtle gold line beneath the nav */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Adds a professional shadow */
}

/* Base styling for the navbar-brand (Journal Title - if text is used) */
/* If you are only using an image for the brand, this might not be strictly needed,
   but good to keep for consistency or if text is added back. */
.navbar-brand {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    color: #ffffff !important;
    transition: color 0.3s ease;
    display: flex; /* Ensures logo and potential text align well if both are in navbar-brand */
    align-items: center;
}

/* Hover state for the Journal Title (if text is used) */
.navbar-brand:hover {
    color: var(--accent-color) !important;
}

/* Regular Nav Link Styling */
.nav-link, .nav-item .nav-link.active  {
    font-weight: 600; /* Slightly bolder for clarity */
    color: var(--primary-color); /* Slightly subdued white for regular links */
    padding: 5px 15px; /* Add some padding for touch targets */
    transition: color 0.3s ease, background-color 0.3s ease;
}

/* Active and Hover States for Regular Nav Links */
.nav-item .nav-link:hover {
    color: var(--white-color) !important; /* Highlight active/hover in gold */
    background-color: var(--primary-color); /* Subtle background change on hover */
    border-radius: 0px;
}

/* Specific styling for the Call-to-Action button (Submit Manuscript) */
.nav-submit {
    background-color: var(--submit-color); /* Gold from accent-color */
    color: black !important; /* Black text for contrast */
    font-weight: 700;
    border-radius: 0px; /* Slightly rounded corners, less harsh than 0px */
    padding: 5px 18px !important;
    margin-left: 15px !important;
    border: 2px solid var(--submit-color);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-submit:hover {
    background-color: var(--primary-dark) !important; /* White background on hover */
    color: var(--primary-dark) !important; /* Dark blue text on hover */
    border-color: #fff; /* White border to match background */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); /* Subtle glowing effect */
}

/* Toggler icon color (for mobile view) */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
    background-color: #fff;
}
.navbar-toggler {
    border-color: rgba(0, 0, 0, 1); /* Optional: black border */
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --- 4. Hero & Main Content --- */

/* Hero section styling for visual impact */
header {
    background: linear-gradient(135deg, #fff, #ffffff); /* Subtle gradient background for the header */
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
      }

/* Section Titles */
h2 {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: #1a2f4d; /* Consistent dark navy for main section titles */
}

/* Card Styling for Depth and Modernity */
.card {
    border: none;
    border-radius: 8px; /* Rounded corners */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Soft initial shadow */
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-3px); /* Subtle lift effect on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); /* Enhanced shadow on hover */
}

/* Sidebar List Group styling */
.list-group-item-action {
    color: #34495e;
    border-left: 3px solid transparent;
}
.list-group-item-action:hover {
    color: var(--primary-color);
    border-left-color: var(--primary-color); /* Highlight on hover */
    background-color: #e9ecef;
}
.list-group-item.active {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

/* --- 5. Footer --- */
footer {
    background-color: var(--primary-dark) !important; /* Darker blue footer */
    padding: 30px 0;
    border-top: 5px solid var(--accent-color);
    color: #ffffff; /* Ensure footer text is white */
}
footer a {
    color: #cccccc;
}
footer a:hover {
    color: var(--accent-color);
}
.no-archive-card {
    background-color: #fff;
    border-left: 5px solid var(--accent-color);
    padding: 30px;
    text-align: center;
}
.no-archive-card .icon {
    font-size: 4rem;
    color: var(--accent-color);
}
/* Specific styling for the submission guidance */
.guideline-section {
    border-left: 5px solid var(--primary-color);
    padding-left: 15px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.guideline-list li {
    padding-left: 0;
}

/* Custom Step Card Styling */
.step-card {
    border: 1px solid #dcdcdc;
    border-left: 5px solid var(--accent-color);
    border-radius: 8px;
    background-color: #fff;
    transition: border-left-color 0.3s ease;
}
.step-card:hover {
    border-left-color: var(--primary-color);
}
.step-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}
.step-title {
    font-size: 1.2rem;
    font-weight: 700;
}

/* Contact Form Styling */
.contact-form-card {
    border-top: 5px solid var(--primary-color);
}
.contact-info-block {
    border-left: 3px solid var(--accent-color);
    padding-left: 15px;
}
