/* ============================================
   ENNOIA JOURNAL - COMPLETE STYLESHEET
   Journal of Multidisciplinary Studies and Innovation
   ============================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
    --primary: #0f2b45;
    --primary-dark: #091b2d;
    --primary-light: #1a4b75;
    --secondary: #1a4b75;
    --accent: #c9a84c;
    --accent-light: #e8d5a3;
    --accent-dark: #a88a3a;
    --bg-light: #f5f6f8;
    --bg-white: #ffffff;
    --text-dark: #2d2d2d;
    --text-light: #6c757d;
    --text-white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 35px rgba(0,0,0,0.15);
    --radius: 8px;
    --transition: all 0.3s ease;
    --font-primary: 'Georgia', 'Times New Roman', serif;
    --font-secondary: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --max-width: 1200px;
}

/* ---------- RESET & BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
}

/* ---------- TOP BAR ---------- */
.top-bar {
    background: var(--primary-dark);
    color: var(--text-white);
    font-size: 0.8rem;
    padding: 6px 0;
    border-bottom: 3px solid var(--accent);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar a {
    color: var(--text-white);
    margin: 0 12px;
    font-size: 0.78rem;
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--accent);
}

.top-bar .issn {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.top-bar .issn span {
    color: var(--accent);
}

.top-bar .top-links {
    display: flex;
    gap: 5px;
}

/* ---------- HEADER ---------- */
header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    box-shadow: 0 2px 30px rgba(0,0,0,0.12);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-icon {
    width: 52px;
    height: 52px;
    background: var(--primary);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1rem;
    font-family: var(--font-primary);
    border: 2px solid var(--accent);
    flex-shrink: 0;
}

.logo-text h1 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--primary);
    line-height: 1.2;
}

.logo-text .subtitle {
    font-size: 0.65rem;
    color: var(--text-light);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* ---------- NAVIGATION ---------- */
nav ul {
    display: flex;
    gap: 0;
    align-items: center;
}

nav ul li {
    position: relative;
}

nav ul li a {
    display: block;
    padding: 10px 16px;
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary);
    background: rgba(15, 43, 69, 0.06);
}

nav ul li a.active {
    font-weight: 700;
    color: var(--primary);
}

/* Dropdown */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 220px;
    box-shadow: var(--shadow-hover);
    border-radius: var(--radius);
    padding: 8px 0;
    z-index: 100;
}

.dropdown-content li a {
    padding: 8px 20px;
    font-weight: 400;
    font-size: 0.82rem;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary-dark);
}

.btn-primary:hover {
    background: var(--accent-dark);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.35);
}

.btn-secondary {
    background: rgba(255,255,255,0.12);
    color: var(--text-white);
    border: 2px solid rgba(255,255,255,0.25);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--text-white);
}

.btn-sm {
    padding: 6px 18px;
    font-size: 0.75rem;
    border-radius: 50px;
}

.btn-success {
    background: #2e7d32;
    color: white;
}

.btn-success:hover {
    background: #1b5e20;
    color: white;
}

/* ---------- SECTION TITLES ---------- */
.section-title {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 12px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin-top: 10px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.text-center .section-title::after {
    margin: 10px auto 0;
}

/* ---------- HERO SECTION ---------- */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: var(--text-white);
    padding: 80px 0 70px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(201, 168, 76, 0.06);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: rgba(201, 168, 76, 0.04);
    border-radius: 50%;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--primary-dark);
    padding: 4px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: var(--font-primary);
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 18px;
    max-width: 750px;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stats .stat {
    text-align: center;
}

.hero-stats .stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent);
}

.hero-stats .stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ---------- SUBJECTS ---------- */
.subjects {
    padding: 70px 0;
    background: var(--bg-white);
}

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.subject-card {
    background: var(--bg-light);
    padding: 25px 20px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #e9ecef;
    cursor: default;
}

.subject-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

.subject-card .icon {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.subject-card h4 {
    font-size: 0.9rem;
    color: var(--primary);
}

/* ---------- PROCESS ---------- */
.process {
    padding: 70px 0;
    background: var(--bg-light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.process-step .step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    margin: 0 auto 15px;
}

.process-step h4 {
    color: var(--primary);
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ---------- CALL FOR PAPERS ---------- */
.call-for-papers {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-white);
    padding: 60px 0;
    text-align: center;
}

.call-for-papers h2 {
    font-family: var(--font-primary);
    font-size: 2.4rem;
}

.call-for-papers .highlight {
    color: var(--accent);
}

.call-for-papers .btn {
    margin-top: 20px;
}

/* ---------- PAGE HEADER ---------- */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--text-white);
    padding: 50px 0 40px;
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-primary);
    font-size: 2.8rem;
}

.page-header .breadcrumb {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 8px;
}

.page-header .breadcrumb a {
    color: var(--accent);
}

.page-header .breadcrumb a:hover {
    color: var(--accent-light);
}

/* ---------- PAGE CONTENT ---------- */
.page-content {
    padding: 60px 0;
}

/* ---------- INFO TABLE ---------- */
.info-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.info-table tr {
    border-bottom: 1px solid #e9ecef;
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table td {
    padding: 14px 25px;
}

.info-table td:first-child {
    font-weight: 600;
    color: var(--primary);
    width: 35%;
    background: var(--bg-light);
}

/* ---------- DISCIPLINE GRID ---------- */
.discipline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.discipline-item {
    background: var(--bg-white);
    padding: 20px 25px;
    border-radius: var(--radius);
    border-left: 4px solid var(--accent);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.discipline-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-hover);
}

.discipline-item h4 {
    color: var(--primary);
}

.discipline-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 5px;
}

/* ---------- ARTICLE TYPES ---------- */
.article-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.article-type {
    background: var(--bg-white);
    padding: 15px 20px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    font-weight: 500;
    border: 1px solid #e9ecef;
    transition: var(--transition);
}

.article-type:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

/* ---------- BOARD ---------- */
.board-section {
    margin-bottom: 50px;
}

.board-section h3 {
    color: var(--primary);
    font-size: 1.6rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.board-card {
    background: var(--bg-white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.board-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.board-card .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 15px;
}

.board-card .avatar.secondary {
    background: var(--secondary);
}

.board-card .avatar.accent {
    background: var(--accent-dark);
}

.board-card h4 {
    color: var(--primary);
    font-size: 1.05rem;
}

.board-card .designation {
    color: var(--accent-dark);
    font-weight: 600;
    font-size: 0.85rem;
}

.board-card .institution {
    color: var(--text-light);
    font-size: 0.85rem;
}

.board-card .email-link {
    font-size: 0.8rem;
    display: inline-block;
    margin-top: 8px;
}

/* ---------- GUIDELINES ---------- */
.guidelines-section {
    margin-bottom: 40px;
}

.guidelines-section h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.guidelines-section ul,
.guidelines-section ol {
    padding-left: 25px;
    margin-bottom: 15px;
}

.guidelines-section li {
    margin-bottom: 8px;
}

/* ---------- APC TABLE ---------- */
.apc-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.apc-table th {
    background: var(--primary);
    color: var(--text-white);
    padding: 12px 20px;
    text-align: left;
}

.apc-table td {
    padding: 12px 20px;
    border-bottom: 1px solid #e9ecef;
}

.apc-table tr:last-child td {
    border-bottom: none;
}

.apc-table .waiver {
    background: #e8f5e9;
    font-weight: 500;
}

/* ---------- CHECKLIST ---------- */
.checklist {
    list-style: none;
    padding: 0;
}

.checklist li {
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 12px;
}

.checklist li::before {
    content: '☐';
    font-size: 1.3rem;
    color: var(--accent);
}

/* ---------- SUBMIT FORM ---------- */
.submit-form {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 850px;
    margin: 0 auto;
}

.submit-form .form-group {
    margin-bottom: 25px;
}

.submit-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--primary);
}

.submit-form label .required {
    color: #dc3545;
}

.submit-form input,
.submit-form select,
.submit-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: var(--font-secondary);
}

.submit-form input:focus,
.submit-form select:focus,
.submit-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(15, 43, 69, 0.1);
}

.submit-form textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-form .file-upload {
    border: 2px dashed #e9ecef;
    padding: 30px;
    text-align: center;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.submit-form .file-upload:hover {
    border-color: var(--primary);
}

.submit-form .file-upload input {
    display: none;
}

.submit-form .file-upload .upload-icon {
    font-size: 2.5rem;
    color: var(--text-light);
}

.submit-form .file-upload p {
    color: var(--text-light);
    margin-top: 5px;
}

.submit-form .checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.submit-form .checkbox-group input {
    width: auto;
    margin-top: 4px;
}

.submit-form .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* ---------- ARCHIVES ---------- */
.issue-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
    margin-bottom: 35px;
    transition: var(--transition);
}

.issue-card:hover {
    box-shadow: var(--shadow-hover);
}

.issue-card .issue-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.issue-card .issue-header h3 {
    color: var(--primary);
    font-size: 1.5rem;
    font-family: var(--font-primary);
}

.issue-card .issue-date {
    color: var(--text-light);
    font-weight: 500;
}

.paper-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
    flex-wrap: wrap;
    gap: 10px;
}

.paper-item:last-child {
    border-bottom: none;
}

.paper-item .paper-title {
    font-weight: 500;
}

.paper-item .paper-authors {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ---------- INDEXING ---------- */
.indexing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.indexing-card {
    background: var(--bg-white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.indexing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.indexing-card .status {
    display: inline-block;
    padding: 3px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-top: 8px;
}

.indexing-card .status.active {
    background: #e8f5e9;
    color: #2e7d32;
}

.indexing-card .status.pending {
    background: #fff3e0;
    color: #e65100;
}

.indexing-card .status.inprogress {
    background: #e3f2fd;
    color: #0d47a1;
}

.indexing-card .status.planned {
    background: #f3e5f5;
    color: #6a1b9a;
}

.indexing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin: 20px 0;
}

.indexing-table th {
    background: var(--primary);
    color: var(--text-white);
    padding: 12px 18px;
    text-align: left;
}

.indexing-table td {
    padding: 12px 18px;
    border-bottom: 1px solid #e9ecef;
}

/* ---------- POLICIES ---------- */
.policy-card {
    background: var(--bg-white);
    padding: 25px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 25px;
    border-left: 4px solid var(--accent);
}

.policy-card h3 {
    color: var(--primary);
    margin-bottom: 8px;
}

.policy-card p {
    color: var(--text-light);
}

/* ---------- CONTACT ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-info .info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-info .info-item .icon {
    font-size: 1.5rem;
    min-width: 35px;
}

.contact-info .info-item h4 {
    color: var(--primary);
    font-size: 0.95rem;
}

.contact-info .info-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.contact-form {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ---------- FOOTER ---------- */
footer {
    background: var(--primary-dark);
    color: var(--text-white);
    padding: 50px 0 0;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col h4 {
    color: var(--accent);
    margin-bottom: 18px;
    font-size: 1.1rem;
}

.footer-col p,
.footer-col a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 2;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.footer-bottom .heart {
    color: #e74c3c;
}

/* ---------- UTILITY ---------- */
.text-center {
    text-align: center;
}

.mb-30 {
    margin-bottom: 30px;
}

.mt-30 {
    margin-top: 30px;
}

.max-850 {
    max-width: 850px;
    margin: 0 auto;
}

.bg-box {
    background: var(--bg-light);
    padding: 20px 25px;
    border-radius: var(--radius);
    border-left: 4px solid var(--accent);
    margin: 20px 0;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.6rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .submit-form .grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--bg-white);
        padding: 15px 0;
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: var(--shadow-hover);
        border-radius: 0 0 var(--radius) var(--radius);
    }
    
    nav ul.open {
        display: flex;
    }
    
    nav ul li a {
        padding: 10px 25px;
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        padding-left: 20px;
    }
    
    .dropdown:hover .dropdown-content {
        display: none;
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 25px;
        flex-wrap: wrap;
    }
    
    .hero-stats .stat-number {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .submit-form {
        padding: 20px;
    }
    
    .top-bar .issn {
        display: none;
    }
    
    .logo-text h1 {
        font-size: 1rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .call-for-papers h2 {
        font-size: 1.8rem;
    }
    
    .issue-card .issue-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .indexing-table {
        font-size: 0.85rem;
    }
    
    .indexing-table th,
    .indexing-table td {
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 10px 24px;
        font-size: 0.85rem;
    }
    
    .page-header h1 {
        font-size: 1.6rem;
    }
    
    .top-bar {
        font-size: 0.7rem;
    }
    
    .top-bar a {
        margin: 0 6px;
        font-size: 0.7rem;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }
    
    .logo-text h1 {
        font-size: 0.85rem;
    }
    
    .logo-text .subtitle {
        font-size: 0.55rem;
    }
    
    .info-table td {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
/* ============================================
   ENNOIA JOURNAL - ADVANCED FEATURES STYLES
   ============================================ */

/* ---------- DARK MODE ---------- */
body.dark-mode {
    --bg-light: #1a1a2e;
    --bg-white: #16213e;
    --text-dark: #e8e8e8;
    --text-light: #b0b0b0;
    --shadow: 0 4px 20px rgba(0,0,0,0.3);
    --shadow-hover: 0 8px 35px rgba(0,0,0,0.4);
}

body.dark-mode .top-bar {
    background: #0f0f1a;
}

body.dark-mode header {
    background: #16213e;
}

body.dark-mode nav ul li a {
    color: #e8e8e8;
}

body.dark-mode nav ul li a:hover {
    background: rgba(201, 168, 76, 0.15);
}

body.dark-mode .subject-card,
body.dark-mode .discipline-item,
body.dark-mode .board-card,
body.dark-mode .policy-card,
body.dark-mode .issue-card,
body.dark-mode .contact-info,
body.dark-mode .contact-form,
body.dark-mode .submit-form,
body.dark-mode .indexing-card {
    background: #1a1a2e;
    border-color: #2a2a4a;
}

body.dark-mode .info-table td:first-child {
    background: #1a1a2e;
}

body.dark-mode .info-table,
body.dark-mode .apc-table,
body.dark-mode .indexing-table {
    background: #1a1a2e;
}

body.dark-mode .info-table tr,
body.dark-mode .apc-table td,
body.dark-mode .indexing-table td {
    border-color: #2a2a4a;
}

body.dark-mode .submit-form input,
body.dark-mode .submit-form select,
body.dark-mode .submit-form textarea,
body.dark-mode .contact-form input,
body.dark-mode .contact-form select,
body.dark-mode .contact-form textarea {
    background: #1a1a2e;
    color: #e8e8e8;
    border-color: #2a2a4a;
}

body.dark-mode .submit-form input:focus,
body.dark-mode .submit-form select:focus,
body.dark-mode .submit-form textarea:focus {
    border-color: var(--accent);
}

body.dark-mode .bg-box {
    background: #1a1a2e;
}

body.dark-mode .hero {
    background: linear-gradient(135deg, #0a0a1a, #16213e);
}

/* ---------- SEARCH BAR ---------- */
.search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-white);
    padding: 5px 5px 5px 18px;
    border-radius: 50px;
    border: 2px solid #e9ecef;
    transition: var(--transition);
    max-width: 400px;
    margin: 0 auto;
}

.search-bar:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.15);
}

.search-bar input {
    border: none;
    outline: none;
    flex: 1;
    padding: 10px 0;
    font-size: 0.95rem;
    background: transparent;
    color: var(--text-dark);
}

.search-bar button {
    background: var(--accent);
    color: var(--primary-dark);
    border: none;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    white-space: nowrap;
}

.search-bar button:hover {
    background: var(--accent-dark);
}

/* Search Results Page */
.search-results {
    margin-top: 30px;
}

.search-result-item {
    background: var(--bg-white);
    padding: 20px 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 15px;
    transition: var(--transition);
    border-left: 4px solid var(--accent);
}

.search-result-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-hover);
}

.search-result-item h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.search-result-item .meta {
    font-size: 0.85rem;
    color: var(--text-light);
}

.search-result-item .excerpt {
    margin-top: 8px;
    color: var(--text-light);
}

/* ---------- DARK MODE TOGGLE ---------- */
.dark-mode-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px 10px;
    border-radius: 50px;
    transition: var(--transition);
    color: var(--text-dark);
}

.dark-mode-toggle:hover {
    background: rgba(0,0,0,0.05);
}

body.dark-mode .dark-mode-toggle:hover {
    background: rgba(255,255,255,0.05);
}

/* ---------- LOGIN / REGISTER ---------- */
.auth-container {
    max-width: 480px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.auth-container .logo-icon-small {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0 auto 20px;
    border: 2px solid var(--accent);
}

.auth-container h2 {
    text-align: center;
    font-family: var(--font-primary);
    color: var(--primary);
}

.auth-container .sub {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 25px;
}

.auth-container .form-group {
    margin-bottom: 20px;
}

.auth-container .form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--primary);
}

.auth-container .form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-white);
    color: var(--text-dark);
}

.auth-container .form-group input:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.1);
}

.auth-container .auth-link {
    text-align: center;
    margin-top: 20px;
    color: var(--text-light);
}

.auth-container .auth-link a {
    color: var(--accent-dark);
    font-weight: 600;
}

.auth-container .auth-link a:hover {
    color: var(--accent);
}

/* Password strength */
.password-strength {
    height: 4px;
    border-radius: 2px;
    margin-top: 6px;
    background: #e9ecef;
    transition: var(--transition);
}

.password-strength.weak { background: #dc3545; width: 33%; }
.password-strength.medium { background: #ffc107; width: 66%; }
.password-strength.strong { background: #28a745; width: 100%; }

/* ---------- DASHBOARD ---------- */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.dashboard-stat {
    background: var(--bg-white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.dashboard-stat:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.dashboard-stat .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
}

.dashboard-stat .label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.dashboard-table th {
    background: var(--primary);
    color: var(--text-white);
    padding: 12px 18px;
    text-align: left;
}

.dashboard-table td {
    padding: 12px 18px;
    border-bottom: 1px solid #e9ecef;
}

.dashboard-table .status-badge {
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.dashboard-table .status-badge.pending {
    background: #fff3e0;
    color: #e65100;
}

.dashboard-table .status-badge.review {
    background: #e3f2fd;
    color: #0d47a1;
}

.dashboard-table .status-badge.accepted {
    background: #e8f5e9;
    color: #2e7d32;
}

.dashboard-table .status-badge.rejected {
    background: #fce4ec;
    color: #c62828;
}

.dashboard-table .status-badge.revised {
    background: #f3e5f5;
    color: #6a1b9a;
}

/* ---------- PROFILE SECTION ---------- */
.profile-section {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.profile-section .profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.profile-section .profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
}

.profile-section .profile-info h3 {
    color: var(--primary);
    margin-bottom: 4px;
}

.profile-section .profile-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ---------- NEWSLETTER ---------- */
.newsletter {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-white);
    padding: 50px 0;
    text-align: center;
}

.newsletter h2 {
    font-family: var(--font-primary);
    font-size: 2rem;
}

.newsletter p {
    opacity: 0.9;
    max-width: 500px;
    margin: 10px auto 25px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form button {
    padding: 14px 30px;
    border: none;
    border-radius: 50px;
    background: var(--accent);
    color: var(--primary-dark);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--accent-dark);
    transform: scale(1.02);
}

/* ---------- ARTICLE VIEWS ---------- */
.views-counter {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.views-counter .icon {
    font-size: 1rem;
}

/* ---------- BULK UPLOAD (Admin) ---------- */
.bulk-upload-area {
    border: 2px dashed #e9ecef;
    padding: 40px;
    text-align: center;
    border-radius: var(--radius);
    transition: var(--transition);
    background: var(--bg-white);
}

.bulk-upload-area:hover {
    border-color: var(--accent);
}

.bulk-upload-area .icon {
    font-size: 3rem;
    color: var(--text-light);
}

.bulk-upload-area p {
    color: var(--text-light);
    margin: 10px 0;
}

/* ---------- RESPONSIVE ADDITIONS ---------- */
@media (max-width: 768px) {
    .search-bar {
        max-width: 100%;
        flex-wrap: wrap;
        padding: 8px;
        border-radius: var(--radius);
    }
    
    .search-bar input {
        width: 100%;
        padding: 10px 15px;
    }
    
    .search-bar button {
        width: 100%;
        justify-content: center;
    }
    
    .auth-container {
        padding: 25px 20px;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
        padding: 0 20px;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
    
    .dashboard-table {
        font-size: 0.85rem;
    }
    
    .dashboard-table th,
    .dashboard-table td {
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .profile-section .profile-header {
        flex-direction: column;
        text-align: center;
    }
}

/* ---------- TOAST NOTIFICATIONS ---------- */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    padding: 16px 24px;
    background: var(--bg-white);
    color: var(--text-dark);
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    border-left: 4px solid var(--accent);
    animation: slideIn 0.3s ease;
    min-width: 280px;
}

.toast.success { border-left-color: #28a745; }
.toast.error { border-left-color: #dc3545; }
.toast.info { border-left-color: #17a2b8; }

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ---------- LOADING SPINNER ---------- */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #e9ecef;
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
}