/* ── PROCEEDINGS PAGE STYLES ── */

.proceedings-hero {
    width: 100%;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 140px 40px 80px;
    text-align: center;
    overflow: hidden;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.proceedings-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../assets/Research-Center-Tab-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.04);
    transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}

.proceedings-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.85) 40%,
            rgba(255, 255, 255, 0.40) 70%,
            rgba(255, 255, 255, 0.10) 100%);
}

body.image-loaded .proceedings-hero-bg {
    transform: scale(1);
}

body.image-loaded .proceedings-hero {
    opacity: 1;
}

.proceedings-hero .container {
    position: relative;
    z-index: 10;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
    max-width: 800px;
}

body.image-loaded .proceedings-hero .container {
    opacity: 1;
    transform: translateY(0);
}

.proceedings-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #1a2b4c;
    margin-bottom: 10px;
}

.proceedings-hero p {
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    color: #555;
    margin: 0 auto;
}

/* Proceedings Section */
.proceedings-section {
    padding: 100px 20px;
    background-color: #ffffff;
    position: relative;
}

.timeline-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

/* Central vertical line */
.timeline-path {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        #e5e7eb 10%, 
        #e5e7eb 90%, 
        transparent 100%);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 100%;
    margin-bottom: 80px;
    display: flex;
    justify-content: center;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 40px;
    width: 16px;
    height: 16px;
    background: #fff;
    border: 3px solid #39B54A;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 10;
    box-shadow: 0 0 0 4px rgba(57, 181, 74, 0.1);
}

.proceedings-card {
    width: 45%;
    padding: 30px;
    border-radius: 20px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.timeline-item.left .proceedings-card {
    margin-right: auto;
    text-align: right;
    transform: translateX(-20px);
}

.timeline-item.right .proceedings-card {
    margin-left: auto;
    text-align: left;
    transform: translateX(20px);
}

/* Adjust card content for alignment */
.timeline-item.left .badge-combo {
    justify-content: flex-end;
}

.timeline-item.right .badge-combo {
    justify-content: flex-start;
}

.proceedings-card:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.02) translateY(-5px) !important;
    box-shadow: 0 20px 40px rgba(57, 181, 74, 0.12);
    border-color: #39B54A;
}

.badge-combo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.logo-badge {
    background: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 2;
    border: 1.5px solid #0054A6;
    flex-shrink: 0;
}

.badge-logo {
    width: 28px;
    height: auto;
    object-fit: contain;
}

.year-badge {
    background: linear-gradient(135deg, #0054A6, #002952);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(0, 84, 166, 0.2);
    z-index: 1;
    margin-left: -15px;
    flex-shrink: 0;
}

.proceedings-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a2b4c;
    margin-bottom: 12px;
}

.proceedings-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #39B54A;
    color: #fff;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #39B54A;
    font-family: 'Outfit', sans-serif;
}

.download-btn:hover {
    background-color: transparent;
    color: #39B54A;
}

.download-btn.disabled {
    background-color: #f3f4f6;
    border-color: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .timeline-path {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-item {
        justify-content: flex-start;
        padding-left: 60px;
    }
    
    .proceedings-card {
        width: 100%;
        text-align: left !important;
        transform: none !important;
    }
    
    .timeline-item.left .badge-combo,
    .timeline-item.right .badge-combo {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .proceedings-hero h1 {
        font-size: 2rem;
    }
    
    .proceedings-card {
        padding: 20px;
    }
}
