/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #1a2a4a;
    --navy-dark: #0f1a2e;
    --navy-light: #2a3d5f;
    --gold: #d4af37;
    --gold-light: #e5c866;
    --gold-dark: #b8941f;
    --white: #ffffff;
    --grey-light: #f5f7fa;
    --grey: #e8ecf1;
    --grey-dark: #6b7a8f;
    --text-dark: #2c3e50;
    --text-light: #5a6c7d;
    --accent: #4a90e2;
    --success: #27ae60;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-md: rgba(0, 0, 0, 0.15);
    --shadow-lg: rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100vh;
}

body.loading {
    overflow: hidden;
}

body.menu-open {
    overflow-y: hidden;
}

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    color: var(--navy);
}

.preloader-logo {
    text-align: center;
}

.preloader-logo-image {
    width: 200px;
    height: auto;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: preloaderLogoFloat 3s ease-in-out infinite;
}

.preloader-logo-img {
    width: 100%;
    height: auto;
    max-width: 200px;
    object-fit: contain;
}

.preloader-logo h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--navy);
    margin: 1rem 0 0.5rem;
    font-weight: 700;
}

.preloader-logo p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

@keyframes preloaderLogoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.preloader-book {
    perspective: 1000px;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-book-3d {
    position: relative;
    width: 200px;
    height: 280px;
    transform-style: preserve-3d;
    animation: preloaderBookFloat 3s ease-in-out infinite;
}

.preloader-book-front {
    width: 100%;
    height: 100%;
    position: relative;
    transform: rotateY(-15deg);
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    background: #f5f7fa;
}

.preloader-book-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.preloader-book-cover-upper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.preloader-book-logo-container {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}

.preloader-book-logo-pillar {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-book-logo-pillar svg {
    width: 100%;
    height: 100%;
}

.preloader-book-logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.5rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 0.8px;
}

.preloader-book-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 1.5px;
}

.preloader-book-spine-3d {
    position: absolute;
    left: -15px;
    top: 0;
    width: 15px;
    height: 100%;
    background: linear-gradient(135deg, #1a2a4a 0%, #0f1a2e 100%);
    transform: rotateY(90deg) translateZ(7.5px);
    border-radius: 2px 0 0 2px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

.preloader-book-shadow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 15px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(8px);
}

@keyframes preloaderBookFloat {
    0%, 100% {
        transform: translateY(0) rotateY(-15deg);
    }
    50% {
        transform: translateY(-10px) rotateY(-10deg);
    }
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(26, 42, 74, 0.2);
    border-top-color: var(--navy);
    border-radius: 50%;
    margin: 2rem auto 0;
    animation: spin 1s linear infinite;
}

@keyframes bookFloat {
    0%, 100% {
        transform: translateY(0) rotateY(-5deg);
    }
    50% {
        transform: translateY(-10px) rotateY(5deg);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Hero Book Cover Styles */
.hero-book-cover {
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-3d {
    position: relative;
    width: 400px;
    height: 540px;
    transform-style: preserve-3d;
    animation: book3dFloat 6s ease-in-out infinite;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .book-3d {
        width: 350px;
        height: 470px;
    }
}

@media (max-width: 968px) {
    .book-3d {
        width: 320px;
        height: 430px;
    }
}

.book-front {
    width: 100%;
    height: 100%;
    position: relative;
    transform: rotateY(-15deg);
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    background: #f5f7fa;
}

.book-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* New Book Cover Styles */
.book-cover-upper {
    flex: 0 0 auto;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--navy);
    margin-bottom: 1rem;
}

.book-logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.book-logo-pillar {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-logo-pillar svg {
    width: 100%;
    height: 100%;
}

.book-logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 1px;
}

.book-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.book-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.55rem;
    font-weight: 500;
    color: var(--navy);
    text-align: center;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.book-issue-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.5rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 0.5px;
}

.book-cover-lower {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.book-panel {
    position: relative;
    overflow: hidden;
}

.book-panel-left {
    background: var(--navy);
}

.book-panel-middle {
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.book-pillar-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
}

.book-pillar-image svg {
    width: 80%;
    height: auto;
}

.book-panel-right {
    background: linear-gradient(135deg, #4a90e2 0%, #2a3d5f 50%, #1a2a4a 100%);
    position: relative;
}

.book-geometric-pattern {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.geometric-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.shape-1 {
    width: 20px;
    height: 20px;
    top: 10%;
    left: 20%;
    transform: rotate(0deg);
}

.shape-2 {
    width: 15px;
    height: 15px;
    top: 30%;
    right: 15%;
    transform: rotate(45deg);
}

.shape-3 {
    width: 25px;
    height: 25px;
    bottom: 20%;
    left: 15%;
    transform: rotate(90deg);
}

.shape-4 {
    width: 18px;
    height: 18px;
    bottom: 40%;
    right: 25%;
    transform: rotate(135deg);
}

.shape-5 {
    width: 12px;
    height: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(180deg);
}

.book-cover-bottom {
    flex: 0 0 auto;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(26, 42, 74, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.45rem;
    color: var(--navy);
}

.book-bottom-text {
    font-weight: 500;
}

.book-date {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.book-spine-3d {
    position: absolute;
    left: -20px;
    top: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(135deg, #1a2a4a 0%, #0f1a2e 100%);
    transform: rotateY(90deg) translateZ(10px);
    border-radius: 2px 0 0 2px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

.book-shadow {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 20px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(10px);
}

@keyframes book3dFloat {
    0%, 100% {
        transform: translateY(0) rotateY(-15deg);
    }
    50% {
        transform: translateY(-15px) rotateY(-10deg);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: var(--white);
    color: var(--navy);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow);
    border-bottom: 1px solid var(--grey);
    width: 100%;
    box-sizing: border-box;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    position: relative;
    z-index: 10;
}

.mobile-menu-toggle {
    flex: 0 0 auto;
    z-index: 1001;
    position: relative;
}

.logo-icon {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

/* Homepage logo stays large */
body.homepage .logo-icon {
    height: 100px !important;
}

.logo-icon img {
    height: 100% !important;
    width: auto;
    object-fit: contain;
    max-height: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-quant {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}

.logo-analytics {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ff6b35;
    margin: 0;
    margin-top: 2px;
}

.logo-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    color: var(--navy);
    letter-spacing: 0.5px;
}

.logo-text span {
    font-size: 0.7rem;
    color: var(--text-light);
    display: block;
    margin-top: -4px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
    flex: 1 1 auto;
    justify-content: flex-end;
}

/* Hide mobile menu content on desktop */
.mobile-menu-content {
    display: none;
}

.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 180px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid var(--grey);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--navy);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background: var(--grey-light);
    color: var(--navy-dark);
    border-left-color: var(--navy);
}

.dropdown-item.active {
    background: var(--grey-light);
    color: var(--navy-dark);
    border-left-color: var(--navy);
    font-weight: 600;
}

.nav-link {
    color: var(--navy);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #07527E;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: black;
}

.nav-link.btn-submit {
    background: #132039;
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-link.btn-submit:hover {
    background: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    color: #0f1a2e;
}

@media (max-width: 1200px) {
    .nav-link.btn-submit {
        padding: 0.5rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 968px) {
    .nav-link.btn-submit {
        display: none;
    }
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    min-width: 40px;
    min-height: 40px;
    justify-content: center;
    align-items: center;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--navy);
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Page Hero (for inner pages) */
.page-hero {
    background: transparent !important;
    color: var(--navy-dark);
    padding: 2rem 0 1rem !important;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    display: block !important;
    visibility: visible !important;
}

.page-hero-content {
    text-align: left;
    display: block !important;
    visibility: visible !important;
}

.page-hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 0.5rem;
    line-height: 1.2;
    display: block !important;
    visibility: visible !important;
}

.page-hero-content .page-subtitle {
    font-size: 1.1rem;
    color: #5a6c7d;
    margin-bottom: 0;
    display: block !important;
    visibility: visible !important;
}

/* Page Header (for inner pages) */
.page-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--grey);
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text-content {
    text-align: left;
}

.hero-book-cover {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-align: left;
}

.hero-tagline {
    font-size: 1.5rem;
    color: #5b9bd5;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--grey);
    margin-bottom: 3rem;
}

.hero-search {
    display: flex;
    max-width: 100%;
    margin: 0 0 2rem 0;
    background: var(--white);
    border-radius: 50px;
    padding: 4px;
    box-shadow: 0 10px 40px var(--shadow-lg);
}

.search-input {
    flex: 1;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border-radius: 50px;
    outline: none;
    color: var(--text-dark);
}

.search-input::placeholder {
    color: var(--grey-dark);
}

.search-btn {
    background: var(--navy);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: var(--navy-light);
    transform: scale(1.05);
}

.hero-stats {
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: #5b9bd5;
    margin-bottom: 0.25rem;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--grey);
}

/* Quick Links Bar */
.quick-links-bar {
    background: var(--grey-light);
    padding: 2rem 0;
    border-bottom: 1px solid var(--grey);
}

.quick-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--white);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--shadow);
}

.quick-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow-md);
    color: var(--navy);
}

.quick-link svg {
    color: var(--navy);
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section:nth-child(even) {
    background: var(--grey-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #5b9bd5, #7bb3f0);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.lead-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-md);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #5b9bd5;
}

.feature-card h3 {
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Scope Section */
.scope-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.aims-box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow);
}

.aims-box h3 {
    color: var(--navy);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.aims-list {
    list-style: none;
    padding: 0;
}

.aims-list li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-dark);
    border-bottom: 1px solid var(--grey);
}

.aims-list li:last-child {
    border-bottom: none;
}

.aims-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #5b9bd5;
    font-weight: bold;
    font-size: 1.2rem;
}

.thematic-areas h3 {
    color: var(--navy);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    text-align: center;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.topic-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-md);
}

.topic-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.topic-icon img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.editorial-board-icon {
    font-size: 0;
    margin-bottom: 1rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.editorial-board-card-image {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.research-icon,
.contact-icon {
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.research-icon svg,
.contact-icon svg {
    width: 100%;
    height: 100%;
    max-width: 80px;
    max-height: 80px;
}

.topic-card h4 {
    color: var(--navy);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.topic-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Article Types Section */
.article-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.article-type-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s ease;
    border-left: 4px solid var(--gold);
}

.article-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-md);
}

.article-type-card h4 {
    color: var(--navy);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.word-count {
    color: #5b9bd5;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.article-type-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.review-note {
    margin-top: 2rem;
    text-align: center;
    padding: 1.5rem;
    background: var(--navy);
    color: var(--white);
    border-radius: 12px;
}

/* Editorial Section */
.editorial-board-image-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 3rem;
    text-align: center;
}

.editorial-board-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow);
}

.editorial-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.editor-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow);
    display: flex;
    gap: 2rem;
    align-items: start;
}

.editor-card.featured {
    border: 2px solid var(--gold);
}

.editor-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.editor-placeholder {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
}

.editor-info h3 {
    color: #5b9bd5;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.editor-info h4 {
    color: var(--navy);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.editor-affiliation,
.editor-location {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.editor-email {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.editor-email:hover {
    color: var(--navy);
}

.associate-editors {
    margin-top: 3rem;
}

.associate-editors h3 {
    color: var(--navy);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.5rem;
}

.associate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.associate-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow);
    text-align: center;
}

.associate-item h4 {
    color: var(--navy);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.associate-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Review Policy Section */
.review-process {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow);
    position: relative;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-md);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.process-step h4 {
    color: var(--navy);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.process-step p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.review-timelines {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow);
}

.review-timelines h3 {
    color: var(--navy);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
}

.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--grey-light);
    border-radius: 8px;
    border-left: 4px solid var(--gold);
}

.timeline-label {
    color: var(--text-dark);
    font-weight: 500;
}

.timeline-value {
    color: var(--navy);
    font-weight: 600;
}

/* Submissions Section */
.submissions-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.submission-info {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow);
}

.submission-info h3,
.rich-content .submission-info h3,
.submissions-content .submission-info h3 {
    color: var(--navy);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.submission-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
}

.submission-info a {
    word-break: break-all;
    overflow-wrap: anywhere;
    display: inline-block;
    max-width: 100%;
    hyphens: auto;
}

.btn-primary {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow);
}

.btn-primary:hover {
    background: var(--navy-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow-md);
}

.apc-info {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow);
}

.apc-info h3,
.rich-content .apc-info h3,
.submissions-content .apc-info h3 {
    color: var(--navy);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.apc-box {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: 12px;
    color: var(--white);
}

.apc-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #5b9bd5;
    margin-bottom: 0.5rem;
}

.apc-box > p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.apc-details {
    list-style: none;
    text-align: left;
    max-width: 300px;
    margin: 0 auto;
    padding: 0;
}

.apc-details li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.apc-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #5b9bd5;
    font-weight: bold;
}

/* Ethics Section */
.ethics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.ethics-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s ease;
}

.ethics-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-md);
}

.ethics-card h4 {
    color: var(--navy);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.ethics-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Contact Section */
.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow);
    display: flex;
    gap: 1.5rem;
    align-items: start;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-md);
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--navy);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.contact-details p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-details a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--navy);
}

/* Indexing Partners Section */
.indexing-partners-section {
    background: var(--white);
    padding: 3rem 0;
    border-top: 1px solid var(--grey);
    border-bottom: 1px solid var(--grey);
}

.indexing-partners-title {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.indexing-partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.partner-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    padding: 0 1.5rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.7;
}

.partner-logo-item:hover {
    transform: translateY(-3px);
    opacity: 1;
}

.partner-logo {
    max-height: 100%;
    max-width: 220px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.partner-logo-item:hover .partner-logo {
    filter: grayscale(0%);
}

/* Footer */
.footer {
    background: var(--navy-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: var(--grey);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-tagline {
    color: var(--gold-light) !important;
    font-style: italic;
}

.footer-project {
    font-size: 0.85rem !important;
    margin-top: 0.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--grey);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--gold);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--navy-light);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--grey);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .header-content {
        flex-wrap: nowrap;
    }

    .logo {
        flex: 1 1 auto;
        min-width: 0;
        max-width: calc(100% - 55px);
    }

    .logo-icon {
        height: 50px;
    }

    /* Homepage logo stays larger on mobile */
    body.homepage .logo-icon {
        height: 70px !important;
    }

    .logo-text h1 {
        font-size: 1.1rem;
    }

    .logo-text span {
        font-size: 0.65rem;
    }

    /* Welcome to PIRJ section - Tablet and below */
    .about-content {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }

    .about-features {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 100%;
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for mobile */
        background: var(--white);
        flex-direction: column;
        padding: 0;
        transition: right 0.3s ease;
        gap: 0;
        overflow: hidden;
        z-index: 9999;
        display: flex;
        box-shadow: -2px 0 20px rgba(0, 0, 0, 0.15);
    }

    .nav-menu.active {
        right: 0;
    }

    /* Prevent body scroll when mobile menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }

    html.menu-open {
        overflow: hidden;
    }

    /* Hide direct nav-links on mobile (they're in mobile-menu-content) */
    .nav-menu > .nav-link {
        display: none !important;
    }

    /* Hide desktop navigation dropdowns on mobile */
    .nav-menu > .nav-dropdown {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }

    /* Hide desktop dropdown menus on mobile */
    .nav-dropdown .dropdown-menu {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }

    /* Hide secondary menu items on mobile */
    .nav-menu > .nav-link.secondary {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }

    /* Hide desktop CTA button on mobile (it's in mobile menu) */
    .nav-menu > .nav-link.btn-submit {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }

    /* Show nav-links inside mobile-menu-content */
    .mobile-menu-content .nav-link {
        display: block !important;
    }

    /* Show mobile menu content on mobile */
    .mobile-menu-content {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
        padding: 0;
        overflow: hidden;
    }

    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.5rem 2rem;
        border-bottom: 1px solid var(--grey-light);
        flex-shrink: 0;
        background: var(--white);
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .mobile-menu-logo {
        height: 50px;
        flex-shrink: 0;
    }

    .mobile-menu-logo img {
        max-height: 50px;
        width: auto;
        object-fit: contain;
        display: block;
    }
    

    .mobile-menu-close {
        background: none !important;
        border: none !important;
        color: var(--navy);
        cursor: pointer;
        padding: 0 !important;
        margin: 0 !important;
        width: 40px;
        height: 40px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        transition: transform 0.2s ease;
        line-height: 1;
        position: relative;
        overflow: visible;
        font-size: 2rem;
        font-weight: 300;
    }

    .mobile-menu-close::before {
        content: '×';
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        line-height: 1;
        color: var(--navy);
    }

    .mobile-menu-close::after {
        display: none !important;
        content: none !important;
    }

    .mobile-menu-close:hover {
        transform: scale(1.1);
    }

    .mobile-menu-close:active {
        transform: scale(0.95);
    }

    .mobile-menu-divider {
        height: 1px;
        background: var(--grey-light);
        margin: 0;
        flex-shrink: 0;
    }

    .mobile-nav-links {
        display: flex;
        flex-direction: column;
        padding: 0;
        width: 100%;
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
        scroll-behavior: smooth;
    }

    /* Custom scrollbar for mobile menu */
    .mobile-nav-links::-webkit-scrollbar {
        width: 6px;
    }

    .mobile-nav-links::-webkit-scrollbar-track {
        background: var(--grey-light);
    }

    .mobile-nav-links::-webkit-scrollbar-thumb {
        background: var(--navy);
        border-radius: 3px;
    }

    .mobile-nav-links::-webkit-scrollbar-thumb:hover {
        background: var(--navy-dark);
    }

    .nav-links-column {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .nav-links-column .nav-link {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .mobile-dropdown {
        width: 100%;
    }

    .mobile-dropdown .nav-link {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-dropdown-toggle {
        font-size: 0.7rem;
        transition: transform 0.3s ease;
        cursor: pointer;
    }

    .mobile-dropdown.active .mobile-dropdown-toggle {
        transform: rotate(180deg);
    }

    .mobile-dropdown-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        padding-left: 1rem;
        background: var(--grey-light);
    }

    .mobile-dropdown.active .mobile-dropdown-menu {
        max-height: 500px;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-dropdown-menu .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        color: var(--text-light);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .mobile-dropdown-menu .nav-link:last-child {
        border-bottom: none;
    }

    .mobile-menu-content .nav-link {
        display: block !important;
        color: var(--navy);
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1rem;
        font-weight: 500;
        transition: all 0.2s ease;
        text-decoration: none;
        border-bottom: 1px solid var(--grey-light);
        visibility: visible !important;
        opacity: 1 !important;
        min-height: 48px; /* Minimum touch target size */
        display: flex;
        align-items: center;
    }

    .mobile-menu-content .nav-link:hover,
    .mobile-menu-content .nav-link.active {
        background: var(--grey-light);
        color: var(--navy-dark);
        font-weight: 600;
        border-left: 4px solid var(--navy);
    }

    .mobile-menu-content .nav-link.btn-submit {
        margin: 1rem 2rem;
        text-align: center;
        border-radius: 6px;
        border: none;
        flex-shrink: 0;
        position: sticky;
        bottom: 0;
        background: var(--white);
        z-index: 10;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    }

    .nav-menu .nav-link:hover {
        background: var(--grey-light);
        color: var(--navy-dark);
    }

    .nav-menu .nav-link.active {
        background: var(--grey-light);
        color: var(--navy-dark);
        font-weight: 600;
        border-left: 4px solid var(--navy);
    }

    .nav-menu .nav-link.active::after {
        display: none;
    }

    .nav-dropdown {
        width: 100%;
    }

    .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--white);
        background: transparent;
        cursor: pointer;
        text-decoration: none;
        border: none;
    }

    .dropdown-toggle:hover {
        background: rgba(255, 255, 255, 0.08);
        color: #5b9bd5;
    }

    .dropdown-arrow {
        transition: transform 0.3s ease;
        font-size: 0.8rem;
    }

    .nav-dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        position: static;
        background: rgba(0, 0, 0, 0.2);
        margin: 0;
        padding: 0;
        border: none;
        display: none;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            max-height: 0;
        }
        to {
            opacity: 1;
            max-height: 300px;
        }
    }

    .nav-dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-item {
        color: var(--white);
        padding: 0.7rem 1.5rem 0.7rem 2.5rem;
        font-size: 0.9rem;
        font-weight: 400;
        transition: all 0.2s ease;
        display: block;
        text-decoration: none;
    }

    .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.08);
        color: #5b9bd5;
    }

    .dropdown-item.active {
        background: rgba(91, 155, 213, 0.15);
        color: #5b9bd5;
        font-weight: 600;
    }

    .nav-menu .nav-link.btn-submit {
        display: block;
        background: var(--navy);
        color: var(--white);
        margin: 1rem 2rem;
        margin-top: auto;
        padding: 1rem 1.5rem;
        border-radius: 6px;
        text-align: center;
        font-weight: 600;
        font-size: 1rem;
        border: none;
        transition: all 0.2s ease;
        width: calc(100% - 4rem);
        box-sizing: border-box;
    }

    .nav-menu .nav-link.btn-submit:hover {
        background: var(--navy-dark);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative;
        z-index: 10000;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Show mobile menu toggle on mobile */
    .mobile-menu-toggle {
        display: flex;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-text-content {
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .page-hero-content h1 {
        font-size: 2rem;
    }

    .page-hero-content .page-subtitle {
        font-size: 1rem;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }
}

/* Ensure page-hero and issue card are visible on desktop */
@media (min-width: 769px) {
    .page-hero {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .page-hero-content {
        display: block !important;
        visibility: visible !important;
    }

    .page-hero-content h1 {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .page-hero-content .page-subtitle {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .ojs-current-issue-card {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .issue-card-header {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .issue-card-content {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .issue-card-title {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    /* Submissions Page - Tablet and Desktop (769px and above) */
    .submissions-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .submission-info,
    .apc-info {
        width: 100%;
        box-sizing: border-box;
    }

    .submission-info a {
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .apc-details {
        max-width: 100%;
        width: auto;
    }

    .indexing-partners-logos {
        gap: 2rem;
    }

    .partner-logo-item {
        height: 75px;
        padding: 0 1rem;
    }

    .partner-logo {
        max-width: 180px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 0 3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-hero-content h1 {
        font-size: 1.75rem;
    }

    .page-hero-content .page-subtitle {
        font-size: 0.95rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .nav-menu .nav-link.btn-submit {
        margin: 1rem 1.5rem;
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
        width: calc(100% - 3rem);
    }

    .book-3d {
        width: 280px;
        height: 380px;
    }

    .book-main-title {
        font-size: 1.4rem;
    }

    .book-subtitle {
        font-size: 0.45rem;
    }

    .book-cover-lower {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }

    /* Welcome to PIRJ section - Make responsive */
    .about-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .about-features {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .about-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    .book-panel-middle {
        grid-column: 1 / -1;
    }

    .quick-links {
        flex-direction: column;
        align-items: stretch;
    }

    .indexing-partners-section {
        padding: 2rem 0;
    }

    .indexing-partners-logos {
        gap: 1.5rem;
    }

    .partner-logo-item {
        height: 65px;
        padding: 0 0.75rem;
    }

    .partner-logo {
        max-width: 150px;
    }

    .indexing-partners-title {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .topics-grid {
        grid-template-columns: 1fr;
    }

    .article-types-grid {
        grid-template-columns: 1fr;
    }

    .editor-card {
        flex-direction: column;
        text-align: center;
    }

    .editor-image {
        margin: 0 auto;
    }

    /* Submissions Page Responsive - Mobile/Tablet */
    .submissions-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .submission-info {
        padding: 1.5rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .submission-info h3,
    .rich-content .submission-info h3,
    .submissions-content .submission-info h3 {
        font-size: 1.25rem !important;
        word-wrap: break-word !important;
    }

    .submission-info p {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .submission-info p strong {
        display: block !important;
        margin-bottom: 0.25rem !important;
    }

    .submission-info a {
        word-break: break-all !important;
        overflow-wrap: anywhere !important;
        display: inline-block !important;
        max-width: 100% !important;
        hyphens: auto !important;
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
    }

    .apc-info {
        padding: 1.5rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .apc-info h3,
    .rich-content .apc-info h3,
    .submissions-content .apc-info h3 {
        font-size: 1.25rem !important;
        margin-bottom: 1rem !important;
        word-wrap: break-word !important;
    }

    .apc-box {
        padding: 1.5rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .apc-amount {
        font-size: 2rem !important;
        word-wrap: break-word !important;
    }

    .apc-box > p {
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
        word-wrap: break-word !important;
    }

    .apc-details {
        max-width: 100% !important;
        font-size: 0.9rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .apc-details li {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        padding-right: 0.5rem !important;
    }

    .btn-primary {
        padding: 0.875rem 1.5rem !important;
        font-size: 0.95rem !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        display: block !important;
        box-sizing: border-box !important;
        word-wrap: break-word !important;
    }
}

@media (max-width: 480px) {
    .logo-text h1 {
        font-size: 1.2rem;
    }

    .logo-text span {
        font-size: 0.65rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .page-title {
        font-size: 1.75rem;
    }

    /* Mobile Menu Responsive Styles */
    .mobile-menu-header {
        padding: 1rem 1.5rem;
    }

    .mobile-menu-logo {
        height: 45px;
    }

    .mobile-menu-logo img {
        max-height: 45px;
    }

    .mobile-menu-content .nav-link {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .mobile-dropdown-menu .nav-link {
        padding: 0.625rem 1rem;
        font-size: 0.85rem;
    }

    /* Submissions Page - Extra Small Devices (480px and below) */
    .submissions-content {
        gap: 1.5rem !important;
    }

    .submission-info {
        padding: 1.25rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .submission-info h3,
    .rich-content .submission-info h3,
    .submissions-content .submission-info h3 {
        font-size: 1.1rem !important;
        word-wrap: break-word !important;
        line-height: 1.4 !important;
    }

    .submission-info p {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .submission-info p strong {
        display: block !important;
        margin-bottom: 0.25rem !important;
    }

    .submission-info a {
        word-break: break-all !important;
        overflow-wrap: anywhere !important;
        font-size: 0.85rem !important;
        display: inline-block !important;
        max-width: 100% !important;
        hyphens: auto !important;
        line-height: 1.5 !important;
    }

    .apc-info {
        padding: 1.25rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .apc-info h3,
    .rich-content .apc-info h3,
    .submissions-content .apc-info h3 {
        font-size: 1.1rem !important;
        word-wrap: break-word !important;
        line-height: 1.4 !important;
    }

    .apc-box {
        padding: 1.25rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .apc-amount {
        font-size: 1.75rem !important;
        word-wrap: break-word !important;
        line-height: 1.2 !important;
    }

    .apc-box > p {
        font-size: 0.95rem !important;
        word-wrap: break-word !important;
        line-height: 1.5 !important;
    }

    .apc-details {
        font-size: 0.85rem !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .apc-details li {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        padding-right: 0.5rem !important;
        line-height: 1.5 !important;
    }

    .btn-primary {
        padding: 0.75rem 1.25rem !important;
        font-size: 0.9rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        word-wrap: break-word !important;
    }

    .mobile-nav-links {
        padding: 0;
    }

    .nav-menu .nav-link.btn-submit {
        margin: 1rem 1rem;
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
        width: calc(100% - 2rem);
    }

    /* Welcome to PIRJ section - Extra small screens */
    .about-content {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .about-features {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .about-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .book-3d {
        width: 240px;
        height: 320px;
    }

    .partner-logo-item {
        height: 55px;
        padding: 0 0.5rem;
    }

    .partner-logo {
        max-width: 120px;
    }

    .book-main-title {
        font-size: 1.2rem;
    }

    .book-subtitle {
        font-size: 0.4rem;
    }

    .book-cover-lower {
        grid-template-columns: 1fr;
    }

    .hero-search {
        flex-direction: column;
        border-radius: 12px;
    }

    .search-input {
        border-radius: 12px;
    }

    .search-btn {
        border-radius: 12px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Current Issue & Archive Styles */
.loading-container {
    text-align: center;
    padding: 4rem 2rem;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(26, 42, 74, 0.2);
    border-top-color: var(--navy);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    animation: spin 1s linear infinite;
}

.loading-container p {
    color: var(--text-light);
    font-size: 1rem;
}

.error-message {
    text-align: center;
    padding: 4rem 2rem;
}

.error-content {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
}

.error-content h3 {
    color: var(--navy);
    margin-bottom: 1rem;
}

.error-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.btn-retry {
    background: var(--navy);
    color: var(--white);
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-retry:hover {
    background: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.no-issue-message {
    text-align: center;
    padding: 4rem 2rem;
}

.no-issue-content {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
}

.no-issue-content h3 {
    color: var(--navy);
    margin-bottom: 1rem;
}

.no-issue-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.btn-archive {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-archive:hover {
    background: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Issue Header */
.issue-header {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.issue-cover-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.issue-cover-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: block;
    margin: 0 auto;
    object-fit: cover;
    object-position: center;
}

/* Override for archive cards - center the image */
.issue-card .issue-card-cover img.issue-cover-image {
    width: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    margin: 0 auto !important;
    display: block !important;
}

.issue-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.issue-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}

.issue-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.issue-date,
.issue-volume,
.issue-number {
    font-size: 0.95rem;
    color: var(--text-light);
    padding: 0.5rem 1rem;
    background: var(--grey-light);
    border-radius: 6px;
    font-weight: 500;
}

.issue-description {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1rem;
}

/* Articles Section */
.articles-section {
    margin-top: 3rem;
}

.articles-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gold);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.article-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.article-title a {
    color: var(--navy);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: var(--navy-dark);
}

.article-authors {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.article-actions {
    margin-top: auto;
    padding-top: 1rem;
    display: flex;
    gap: 1rem;
}

.btn-pdf {
    background: var(--navy);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-pdf:hover {
    background: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-view {
    background: transparent;
    color: var(--navy);
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--navy);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-view:hover {
    background: var(--navy);
    color: var(--white);
}

/* Archive Issues Grid */
.issues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.issue-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    min-height: fit-content;
}

.issue-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.issue-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.issue-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.issue-card-meta span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.issue-card-actions {
    margin-top: auto;
    padding-top: 1rem;
}

.btn-view-articles {
    width: 100%;
    background: var(--navy);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.btn-view-articles:disabled {
    opacity: 0.7;
    cursor: wait;
}

.btn-view-articles:hover {
    background: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.articles-list {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease, margin 0.4s ease, border 0.4s ease;
}

.articles-list.show {
    max-height: 2000px;
    opacity: 1;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--grey);
}

.article-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--grey-light);
}

.article-item:last-child {
    border-bottom: none;
}

.article-item-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.article-item-title a {
    color: var(--navy);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-item-title a:hover {
    color: var(--navy-dark);
}

.article-item-authors {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.article-item-link {
    color: var(--navy);
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 500;
}

.article-item-link:hover {
    text-decoration: underline;
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem 0;
}

.pagination-btn {
    background: var(--navy);
    color: var(--white);
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.pagination-btn:disabled {
    background: var(--grey);
    cursor: not-allowed;
    opacity: 0.5;
}

.page-info {
    color: var(--text-light);
    font-weight: 500;
}

/* Responsive Design for Issue Pages */
@media (max-width: 968px) {
    .issue-header {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .issue-cover-container {
        justify-content: center;
    }

    .issue-title {
        font-size: 2rem;
    }

    .articles-grid,
    .issues-grid {
        grid-template-columns: 1fr;
    }

    .pagination-container {
        flex-direction: column;
        gap: 1rem;
    }
}

/* OJS Announcements Styles */
.ojs-announcements {
    margin-top: 3rem;
}

.announcements-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.announcement-item {
    background: var(--white);
    border: 1px solid var(--grey);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px var(--shadow);
    transition: all 0.3s ease;
}

.announcement-item:hover {
    box-shadow: 0 4px 12px var(--shadow-md);
    transform: translateY(-2px);
}

.announcement-title {
    color: var(--navy-dark);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.announcement-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.announcement-summary {
    color: var(--text-dark);
    line-height: 1.8;
}

/* OJS Current Issue Styles */
.ojs-current-issue {
    margin-top: 2rem;
}

.issue-header {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 2rem;
}

.issue-cover-container {
    display: flex;
    align-items: center;
}

.issue-cover-image {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--shadow-md);
}

/* Force center alignment for archive issue covers */
.issue-card .issue-card-cover .issue-cover-image {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
    margin: 0 auto !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    float: none !important;
}

.issue-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.issue-title {
    color: var(--navy-dark);
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

.issue-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-light);
    font-size: 1rem;
}

.issue-meta span {
    padding: 0.5rem 1rem;
    background: var(--grey-light);
    border-radius: 4px;
}

.issue-description {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.1rem;
}

.articles-section {
    margin-top: 3rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.article-card {
    background: var(--white);
    border: 1px solid var(--grey);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px var(--shadow);
    transition: all 0.3s ease;
}

.article-card:hover {
    box-shadow: 0 4px 12px var(--shadow-md);
    transform: translateY(-2px);
}

.article-title {
    color: var(--navy-dark);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.article-authors {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.article-abstract {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--grey);
}

.article-doi {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* OJS Archive Issues Styles - Professional Design */
.ojs-archive-issues {
    margin-top: 3rem;
    padding: 0;
}

.issues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2.5rem;
    justify-items: center;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.issue-card-cover {
    width: 100% !important;
    height: 320px !important; /* make issue cover taller so full image is clearly visible */
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center !important;
    position: relative;
    border-bottom: 2px solid rgba(15, 26, 46, 0.08);
}

.issue-card-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(15, 26, 46, 0.02) 0%, transparent 100%);
    pointer-events: none;
}

.issue-card-cover img,
.issue-card-cover .issue-cover-image {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important; /* show full cover image without cropping */
    object-position: center center !important;
    display: block !important;
    margin: 0 auto !important;
    position: relative;
    left: auto !important;
    right: auto !important;
    float: none !important;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .issue-card-cover {
        height: 260px !important; /* a bit smaller on mobile but still clear */
    }
}

.issue-card:hover .issue-card-cover img {
    transform: scale(1.03);
}

.issue-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(15, 26, 46, 0.06);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(15, 26, 46, 0.08);
    width: 100%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.issue-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.issue-card:hover::before {
    opacity: 1;
}

.issue-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(15, 26, 46, 0.1);
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.3);
}

.issue-card-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.issue-card-body h3 {
    color: #0F1A2E;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.35;
    letter-spacing: -0.3px;
}

.issue-published {
    color: #5a6c7d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.issue-published::before {
    content: '📅';
    font-size: 0.85rem;
}

.issue-card-body p {
    font-size: 0.95rem;
    color: #5a6c7d;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.issue-card-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 26, 46, 0.08);
}

.btn-view-articles {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #0F1A2E 0%, #1a2a4a 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(15, 26, 46, 0.2);
    letter-spacing: 0.3px;
}

.btn-view-articles:hover {
    background: linear-gradient(135deg, #1a2a4a 0%, #2a3d5f 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 26, 46, 0.3);
}

.btn-view-articles.active {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #0F1A2E;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-view-articles:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.issue-articles-container {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(15, 26, 46, 0.1);
}

.articles-list {
    margin-top: 1.5rem;
}

/* Center-aligned Articles Grid */
.articles-grid-responsive {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    gap: 2rem !important;
    margin: 2rem auto 0 !important;
    justify-items: center !important;
    max-width: 1400px !important;
    padding: 0 1rem !important;
}

/* Vertical Articles List (for archive page) - Always vertical for all devices */
.articles-list-vertical {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    margin: 0 auto !important;
    max-width: 900px !important;
    padding: 0 1rem !important;
    width: 100% !important;
}

.article-card-responsive {
    width: 100% !important;
    max-width: 100% !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
}

.article-card-responsive:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.article-card-responsive .article-card-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.4 !important;
    max-height: calc(1.4em * 3) !important;
    margin: 0 0 1rem 0 !important;
    word-break: break-word !important;
}

.article-card-responsive .article-card-title a,
.article-card-responsive .article-card-title span {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: 100% !important;
    word-break: break-word !important;
}

/* Responsive styles for vertical articles list - Always vertical for all devices */
@media (max-width: 768px) {
    .articles-list-vertical {
        gap: 1.25rem !important;
        padding: 0 0.75rem !important;
    }

    .article-card-responsive .article-card-body {
        padding: 1.5rem !important;
    }

    .article-card-responsive .article-card-title {
        font-size: 1.15rem !important;
        -webkit-line-clamp: 3 !important;
        line-clamp: 3 !important;
        max-height: calc(1.4em * 3) !important;
    }

    .article-card-responsive .article-card-footer {
        padding: 1rem 1.5rem !important;
        flex-direction: column !important;
    }

    .article-card-responsive .btn-pdf,
    .article-card-responsive .btn-view-article {
        width: 100% !important;
        justify-content: center !important;
    }
}

@media (max-width: 480px) {
    .articles-list-vertical {
        gap: 1rem !important;
        padding: 0 0.5rem !important;
    }

    .article-card-responsive {
        border-radius: 8px !important;
    }

    .article-card-responsive .article-card-body {
        padding: 1.25rem !important;
    }

    .article-card-responsive .article-card-title {
        font-size: 1.05rem !important;
        margin-bottom: 0.75rem !important;
        -webkit-line-clamp: 3 !important;
        line-clamp: 3 !important;
        max-height: calc(1.4em * 3) !important;
        line-height: 1.4 !important;
    }

    .article-card-responsive .article-card-authors {
        font-size: 0.85rem !important;
        margin-bottom: 0.75rem !important;
    }

    .article-card-responsive .article-card-footer {
        padding: 0.875rem 1.25rem !important;
        gap: 0.5rem !important;
    }

    .article-card-responsive .btn-pdf,
    .article-card-responsive .btn-view-article {
        padding: 0.55rem 1rem !important;
        font-size: 0.8rem !important;
    }
}

/* Responsive adjustments */
@media (max-width: 968px) {
    .issues-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 2rem;
    }

    .issue-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .issue-header {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .issue-cover-container {
        justify-content: center;
    }

    .issues-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .issue-card {
        max-width: 100%;
    }

    .issue-card-cover {
        height: 220px !important;
    }

    .issue-card-body {
        padding: 1.5rem;
    }

    .issue-card-body h3 {
        font-size: 1.2rem;
    }

    .articles-grid-responsive {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 0 !important;
    }

    .article-card-responsive {
        max-width: 100% !important;
    }
}

@media (max-width: 480px) {
    .issues-grid {
        gap: 1.5rem;
    }

    .issue-card-cover {
        height: 200px !important;
    }

    .issue-card-body {
        padding: 1.25rem;
    }

    .issue-card-body h3 {
        font-size: 1.1rem;
    }

    .btn-view-articles {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* New Professional Current Issue Card Design */
.current-issue-wrapper {
    width: 100%;
    margin: 4rem 0;
    padding: 0;
    display: block;
    visibility: visible;
    opacity: 1;
}

.current-issue-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.current-issue-card {
    background: linear-gradient(135deg, #0F1A2E 0%, #1a2a4a 50%, #2a3d5f 100%);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: row;
    min-height: 480px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.current-issue-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.current-issue-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 1;
    pointer-events: none;
}

.current-issue-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
    z-index: 2;
}

.current-issue-cover-section {
    flex: 0 0 38%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 2.5rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.current-issue-cover-wrapper {
    width: 100%;
    max-width: 320px;
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 40px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.current-issue-cover-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.15),
        inset 0 0 50px rgba(0, 0, 0, 0.25);
}

.current-issue-cover-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    filter: brightness(1.05) contrast(1.05);
}

.current-issue-content-section {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 4rem 3.5rem;
    position: relative;
    z-index: 1;
}

.current-issue-content-inner {
    width: 100%;
    color: #ffffff;
}

.current-issue-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.75rem;
    line-height: 1.25;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.current-issue-date {
    font-size: 1.15rem;
    color: #d4af37;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-size: 0.95rem;
    gap: 0.5rem;
}

.current-issue-date svg {
    filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.3));
}

.current-issue-description {
    font-size: 1.15rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
    max-width: 650px;
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .current-issue-wrapper {
        margin: 3rem 0;
    }

    .current-issue-container {
        padding: 0 1.5rem;
    }

    .current-issue-card {
        flex-direction: column;
        min-height: auto;
        border-radius: 20px;
    }

    .current-issue-cover-section {
        flex: 0 0 auto;
        padding: 2.5rem 2rem;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .current-issue-cover-wrapper {
        max-width: 260px;
        height: 360px;
    }

    .current-issue-content-section {
        padding: 2.5rem 2rem;
    }

    .current-issue-title {
        font-size: 2.25rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .current-issue-date {
        justify-content: center;
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .current-issue-description {
        text-align: center;
        font-size: 1.05rem;
        max-width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .current-issue-wrapper {
        margin: 2.5rem 0;
    }

    .current-issue-container {
        padding: 0 1rem;
    }

    .current-issue-card {
        border-radius: 18px;
    }

    .current-issue-cover-section {
        padding: 2rem 1.5rem;
    }

    .current-issue-cover-wrapper {
        max-width: 220px;
        height: 300px;
    }

    .current-issue-content-section {
        padding: 2rem 1.5rem;
    }

    .current-issue-title {
        font-size: 1.9rem;
        margin-bottom: 1.25rem;
        line-height: 1.3;
    }

    .current-issue-date {
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
    }

    .current-issue-description {
        font-size: 1rem;
        line-height: 1.75;
    }
}

@media (max-width: 480px) {
    .current-issue-wrapper {
        margin: 2rem 0;
    }

    .current-issue-container {
        padding: 0 1rem;
    }

    .current-issue-card {
        border-radius: 16px;
    }

    .current-issue-cover-section {
        padding: 1.5rem 1rem;
    }

    .current-issue-cover-wrapper {
        max-width: 200px;
        height: 280px;
    }

    .current-issue-content-section {
        padding: 1.5rem 1rem;
    }

    .current-issue-title {
        font-size: 1.65rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }

    .current-issue-date {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }

    .current-issue-description {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

/* Current Issue Card Layout (Old - keeping for backward compatibility) */
.ojs-current-issue-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.issue-card-header {
    display: flex !important;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    visibility: visible !important;
    opacity: 1 !important;
}

.issue-card-cover {
    flex-shrink: 0;
    width: 200px;
    height: 280px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.issue-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.issue-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.issue-card-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    line-height: 1.3;
}

.issue-card-date {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.issue-card-description {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.95;
}

.articles-section-card {
    padding: 2rem;
}

.articles-section-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--navy);
    border-bottom: 3px solid var(--gold);
    padding-bottom: 0.5rem;
}

.articles-grid-responsive {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.article-card-responsive {
    background: var(--white);
    border: 1px solid var(--grey);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.article-card-responsive:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    border-color: var(--gold);
}

.article-card-body {
    flex: 1;
    margin-bottom: 1rem;
}

.article-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--navy);
    line-height: 1.4;
}

.article-card-authors {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.article-card-authors strong {
    color: var(--text-dark);
}

.article-card-abstract {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

.article-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--grey);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.article-card-doi {
    font-size: 0.85rem;
    color: var(--text-light);
}

.btn-pdf-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--navy);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-pdf-download:hover {
    background: var(--navy-light);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-pdf-download span {
    font-size: 1.1rem;
}

/* Responsive Design for Issue Card */
@media (max-width: 768px) {
    .issue-card-header {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    .issue-card-cover {
        width: 100%;
        max-width: 200px;
        height: auto;
        aspect-ratio: 3/4;
        margin: 0 auto;
    }
    
    .issue-card-title {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .issue-card-content {
        text-align: center;
    }
    
    .articles-grid-responsive {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .articles-section-card {
        padding: 1.5rem;
    }
    
    .article-card-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-pdf-download {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .ojs-current-issue-card {
        margin: 1rem 0;
    }
    
    .issue-card-header {
        padding: 1rem;
    }
    
    .issue-card-title {
        font-size: 1.25rem;
    }
    
    .articles-section-card {
        padding: 1rem;
    }
    
    .article-card-responsive {
        padding: 1rem;
    }
}

