/* Custom OJS Footer Base Wrappers */
.custom-ojs-footer-wrapper {
    width: 100%;
    background-color: #003660; /* Primary Deep Blue */
    font-family: sans-serif;
    box-sizing: border-box;
    margin-top: 40px;
    clear: both;
}

/* 1. INDEXED BY MARQUEE SLIDER STYLING */
.indexed-by-slider-container {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-top: 4px solid #77DA61; /* Secondary Lime Green Accent */
    border-bottom: 1px solid #e1e1e1;
    padding: 12px 20px;
    overflow: hidden;
}

.indexed-title-badge {
    background-color: #eef4f8;
    color: #003660;
    font-weight: bold;
    font-size: 13px;
    padding: 8px 15px;
    border-radius: 4px;
    white-space: nowrap;
    margin-right: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.indexed-title-badge i {
    color: #77DA61; 
    margin-right: 5px;
}

.marquee-window {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    width: max-content;
    align-items: center;
    animation: scrollLeft 20s linear infinite;
}

/* Pause sliding animation when cursor hovers */
.marquee-window:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-item {
    padding: 0 40px;
}

.marquee-item img {
    height: 35px;
    width: auto;
    object-fit: contain;
}

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 2. MAIN FOOTER GRID STYLING */
.footer-columns-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 40px 20px;
}

.footer-col {
    color: #ffffff;
}

.col-title {
    color: #ffffff;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

/* Accent decorative lines below headers */
.col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 2px;
    background-color: #77DA61; 
}

.about-text {
    font-size: 13px;
    line-height: 1.6;
    color: #d1dfeb;
}

/* Navigation List Elements & Hover Transitions */
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: #d1dfeb;
    font-size: 13px;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.25s ease, color 0.25s ease;
}

/* Dynamic Hover Arrow Movement Effect */
.footer-links-list a::before {
    content: '>\00a0';
    color: #77DA61;
    font-weight: bold;
    display: inline-block;
    transition: transform 0.25s ease;
}

.footer-links-list a:hover {
    color: #77DA61; 
    transform: translateX(6px); /* Arrow slightly pushes item right */
}

/* Contact Info Column Styling */
.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.contact-info-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 13px;
    color: #d1dfeb;
}

.contact-info-list i {
    color: #77DA61;
    width: 20px;
    font-size: 14px;
    margin-right: 10px;
}

/* Social Icon Blocks */
.social-icons-row {
    display: flex;
    gap: 10px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

/* Social Hover Transition to Secondary Lime Green */
.social-btn:hover {
    background-color: #77DA61; 
    color: #003660; 
    transform: translateY(-3px);
}

/* 3. BOTTOM BASEBAR STYLING */
.footer-copyright-bar {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    box-sizing: border-box;
}

.copyright-left, .copyright-right {
    font-size: 12px;
    color: #a4b9cc;
}

.copyright-left a:hover, .copyright-right a:hover {
    text-decoration: underline !important;
}

/* Responsive Structural Breakpoints for Tables/Phones */
@media (max-width: 768px) {
    .footer-columns-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-copyright-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-columns-grid {
        grid-template-columns: 1fr;
    }
    .indexed-by-slider-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
.pkp_footer_content {
    padding: 0;
}


.ojs-sidebar-card {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    font-family: inherit;
    overflow: hidden;
}
.sidebar-header {
    background-color: #1e3a8a; /* Deep OJS Blue */
    color: #ffffff;
    padding: 12px 15px;
    border-bottom: 2px solid #1d4ed8;
}
.sidebar-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff !important;
}
.sidebar-body {
    padding: 15px;
}
.sidebar-instruction {
    font-size: 13px;
    color: #64748b;
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.4;
}
.download-btn {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    margin-bottom: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out;
    background: #f8fafc;
}
.download-btn:last-child {
    margin-bottom: 0;
}
.download-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}
.btn-icon {
    font-size: 20px;
    margin-right: 12px;
}
.btn-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.file-title {
    font-size: 14px;
    font-weight: 600;
}
.file-sub {
    font-size: 11px;
    color: #64748b;
}
/* Individual Border Accents */
.btn-english { border-left: 4px solid #3b82f6 !important; color: #1d4ed8 !important; }
.btn-french { border-left: 4px solid #ef4444 !important; color: #b91c1c !important; }
.btn-arabic { border-left: 4px solid #10b981 !important; color: #047857 !important; }
.btn-update { border-left: 4px solid #f59e0b !important; color: #b45309 !important; }
