/* Conference Timeline Section */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.conference-timeline {
    background: linear-gradient(135deg, #0F122A 0%, #0F122A 50%,#e7e0d8 100%);
    min-height: 100vh;
    padding: 100px 20px;
    color: white;
    position: relative;
    overflow: hidden;
}

.conference-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(108, 122, 137, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Section Header */
.timeline-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.timeline-title {
    font-family: "Poppins", sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #6C7A89, #e7e0d8, #AC9D8D);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s ease-in-out infinite;
}

.timeline-subtitle {
    font-family: "Poppins", sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #E7E0D8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Timeline Track */
.timeline-track {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* Timeline Item */
.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 80px;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

/* Timeline Marker */
.timeline-marker {
    position: relative;
    flex-shrink: 0;
    width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
}

.marker-dot {
    width: 24px;
    height: 24px;
    background: linear-gradient(45deg, #6C7A89, #AC9D8D);
    border-radius: 50%;
    border: 4px solid #0F122A;
    box-shadow: 0 0 20px rgba(108, 122, 137, 0.6);
    animation: pulse 2s infinite;
}

.marker-line {
    width: 3px;
    height: 120px;
    background: linear-gradient(to bottom, #6C7A89, rgba(108, 122, 137, 0.3));
    margin-top: 10px;
}

.timeline-item:last-child .marker-line {
    display: none;
}

/* Conference Card */
.conference-card {
    flex: 1;
    margin: 0 40px;
    background: linear-gradient(135deg, rgba(108, 122, 137, 0.1), rgba(172, 157, 141, 0.1));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(231, 224, 216, 0.1);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.conference-card:hover {
    transform: translateY(-10px);
    border-color: rgba(108, 122, 137, 0.4);
    box-shadow: 0 20px 40px rgba(108, 122, 137, 0.3);
}

/* Card Image */
.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: all 0.4s ease;
}

.conference-card:hover .card-image img {
    transform: scale(1.1);
    filter: brightness(0.9);
}

.card-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
}

.conference-number {
    background: linear-gradient(45deg, #6C7A89, #AC9D8D);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(108, 122, 137, 0.3);
}

/* Card Content */
.card-content {
    padding: 30px;
}

.conference-year {
    color: #6C7A89;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-family: "Poppins", sans-serif;
}

.conference-title {
    font-family: "Poppins", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #e7e0d8;
}

.conference-theme {
    color: #AC9D8D;
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-style: italic;
}

.conference-brief {
    font-family: "Poppins", sans-serif;
    font-size: 0.95rem;
    color: #e7e0d8;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Explore Button */
.explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, #6C7A89, #AC9D8D);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 25px;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.explore-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(108, 122, 137, 0.4);
}

.explore-btn:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 1.1rem;
}

/* Popup Modal */
.popup-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 18, 42, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.popup-modal.active {
    display: flex;
}

.popup-content {
    background: linear-gradient(135deg, #0F122A 0%, #1a1f3a 100%);
    border: 2px solid rgba(108, 122, 137, 0.3);
    border-radius: 25px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: popupSlideIn 0.4s ease;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-header {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 23px 23px 0 0;
}

.popup-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(15, 18, 42, 0.8);
    border: 2px solid rgba(231, 224, 216, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: 300;
    line-height: 1;
}

.popup-close:hover {
    background: rgba(108, 122, 137, 0.8);
    transform: rotate(90deg);
}

.popup-body {
    padding: 40px;
}

.popup-year {
    color: #6C7A89;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.popup-title {
    font-family: "Poppins", sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #e7e0d8;
}

.popup-theme {
    color: #AC9D8D;
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-style: italic;
}

.popup-description {
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    color: #E7E0D8;
    line-height: 1.8;
    margin-bottom: 25px;
}

.popup-highlights {
    margin-top: 30px;
}

.popup-highlights h4 {
    font-family: "Poppins", sans-serif;
    font-size: 1.3rem;
    color: #6C7A89;
    margin-bottom: 15px;
}

.popup-highlights ul {
    list-style: none;
    padding: 0;
}

.popup-highlights li {
    font-family: "Poppins", sans-serif;
    color: #E7E0D8;
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    line-height: 1.6;
}

.popup-highlights li:before {
    content: "✦";
    position: absolute;
    left: 0;
    color: #AC9D8D;
    font-size: 1.2rem;
}

/* Animations */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes pulse {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(108, 122, 137, 0.6);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 30px rgba(108, 122, 137, 0.9);
        transform: scale(1.1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .conference-timeline {
        padding: 60px 15px;
    }
    
    .timeline-title {
        font-size: 2.5rem;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: center;
        margin-bottom: 50px;
    }
    
    .timeline-item:nth-child(even) {
        flex-direction: column !important;
    }
    
    .timeline-marker {
        order: -1;
        margin-bottom: 20px;
    }
    
    .conference-card {
        margin: 0;
        width: 100%;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .conference-title {
        font-size: 1.5rem;
    }
    
    .popup-body {
        padding: 25px;
    }
    
    .popup-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .timeline-title {
        font-size: 2rem;
    }
    
    .card-content {
        padding: 20px;
    }
}