/* Tabs Slider Styles */
.tabs-section {
    margin-bottom: 20px;
}

.tabs-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 10px;
}

.tab-item {
    position: relative;
    padding: 12px 24px;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 200px;
    text-align: center;
}

.tab-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.tab-item.active {
    background: #007bff;
    color: white;
    border-color: #0056b3;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.tab-label {
    font-weight: 600;
    font-size: 14px;
}

.tab-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: bold;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 500px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 40px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 0.5s ease;
}

/* Backgrounds for different tabs */
.featured-theme {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.testimonials-bg {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.journal-bg {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.submission-bg {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.announcement-bg {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 20px;
    max-width: 800px;
    display: none;
}

.hero-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-title span {
    color: #ffd700;
}

.article-heading {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.cta-primary {
    background: #ffd700;
    color: #000;
}

.cta-primary:hover {
    background: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 215, 0, 0.3);
}

.cta-secondary {
    background: #28a745;
    color: white;
}

.cta-secondary:hover {
    background: #34ce57;
    transform: translateY(-2px);
}

.cta-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Dynamic Content Styles */
.journal-stats {
    display: flex;
    gap: 30px;
    margin: 20px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.testimonial-author {
    font-style: italic;
    margin-bottom: 20px;
    opacity: 0.9;
    font-size: 1.1rem;
}

.submission-details,
.announcement-date {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.detail-item {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-label {
    font-weight: 600;
    min-width: 100px;
}

.detail-value {
    font-family: monospace;
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 8px;
    border-radius: 4px;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 3;
}

.nav-button {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Progress Indicator */
.progress-indicator {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    z-index: 3;
}

.progress-bar {
    width: 100px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #ffd700;
    width: 20%;
    transition: width 0.3s ease;
}

/* Recent Articles Section */
.recent-articles-section {
    margin: 60px 0;
}

/* Preprints Section */
.preprints-section {
    background: #f8f9fa;
    padding: 20px 0;
    margin: 20px 0;
}

.preprint-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

.preprint-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* Partnerships Section */
.partner-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    padding: 20px 0;
}

.partner-logo {
    height: 60px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .partner-logos {
        gap: 20px;
    }
    
    .partner-logo {
        height: 50px;
    }
}

@media (max-width: 768px) {
    .tabs-container {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-item {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-content {
        padding: 30px 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
    
    .slider-nav {
        bottom: 10px;
        right: 10px;
    }
    
    .progress-indicator {
        bottom: 10px;
        left: 10px;
    }
    
    .journal-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .partner-logos {
        gap: 15px;
    }
    
    .partner-logo {
        height: 40px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .article-heading {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .detail-label {
        min-width: auto;
    }
}