/* =========================================
   RESEARCH SECTION OVERHAUL
   ========================================= */
.research {
    background: var(--second-bg-color) !important;
    padding: 8rem 9% 8rem;
}

.research-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.paper-card {
    background: var(--bg-color);
    border-radius: 3rem;
    padding: 4rem;
    box-shadow: 0 0 2rem rgba(0, 0, 0, 0.3);
    border: 2px solid var(--main-color);
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 1000px;
    width: 100%;
    transition: 0.5s ease;
}

.paper-card:hover {
    box-shadow: 0 0 4rem var(--main-color);
    transform: translateY(-5px);
}

/* Glowing Background Effect */
.paper-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 238, 255, 0.1) 0%, transparent 70%);
    opacity: 0.5;
    z-index: 0;
    animation: rotateGlow 10s linear infinite;
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.badge-container {
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
}

.publication-badge {
    background: var(--main-color);
    color: var(--bg-color) !important;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 0 15px var(--main-color);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.paper-title {
    position: relative;
    z-index: 1;
    font-size: 3.2rem;
    color: var(--text-color) !important;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.authors {
    position: relative;
    z-index: 1;
    margin-bottom: 3rem;
    color: #e2e2e2;
    font-size: 1.6rem;
}

.authors p {
    color: #e2e2e2 !important;
    margin-bottom: 1rem;
}

.highlight-author {
    color: var(--main-color) !important;
    font-weight: 700;
    text-decoration: underline;
}

.affiliations {
    font-size: 1.4rem;
    color: #bbb !important;
    margin-top: 1rem;
    font-style: italic;
}

.abstract-box {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.05);
    /* Glassmorphism */
    border-radius: 2rem;
    padding: 3rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: justify;
}

.abstract-box h4 {
    font-size: 2rem;
    color: var(--main-color);
    margin-bottom: 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.abstract-box p {
    font-size: 1.6rem;
    color: #ddd !important;
    line-height: 1.8;
}

.abstract-box strong {
    color: #fff;
}

.keywords {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.key-tag {
    background: transparent;
    border: 1px solid var(--main-color);
    color: var(--main-color) !important;
    padding: 0.8rem 2rem;
    border-radius: 5rem;
    font-size: 1.4rem;
    transition: 0.3s;
}

.key-tag:hover {
    background: var(--main-color);
    color: var(--bg-color) !important;
    box-shadow: 0 0 15px var(--main-color);
}

.read-paper-btn {
    position: relative;
    z-index: 1;
    margin-top: 1rem;
}