/* Events Page Styles */
.event-countdown {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    text-align: center;
    position: relative;
    z-index: 2;
}

.event-countdown .countdown-container {
    background: white;
    color: #1a1a1a;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
    border-radius: 24px;
    padding: 40px 20px;
}

.event-countdown .countdown-header h2 {
    color: #1a1a1a;
    margin-bottom: 8px;
    font-size: 2.25rem;
    font-weight: 700;
}

.event-countdown .countdown-header p {
    color: #64748b;
    margin-bottom: 32px;
    font-size: 1.125rem;
}

.event-countdown .countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: nowrap;
    min-height: 80px;
    padding: 0 10px;
}

.event-countdown .time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    flex-shrink: 0;
    flex: 1;
    max-width: 80px;
}

.event-countdown .time-value {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    border-radius: 12px;
    padding: 12px 10px;
    width: 100%;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-countdown .time-separator {
    font-size: 1.8rem;
    font-weight: 300;
    opacity: 0.8;
    color: #1a1a1a;
    line-height: 1;
    flex-shrink: 0;
    width: 12px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    margin: 0;
    position: relative;
    top: -16px;
}

.event-countdown .time-label {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 8px;
    font-weight: 500;
    color: #1a1a1a;
    text-align: center;
    white-space: nowrap;
}

.conferences {
    padding: 120px 0;
    background: white;
    position: relative;
    z-index: 2;
}

.conferences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 64px;
}

.conference-card {
    background: white;
    padding: 48px 40px;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 2px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.conference-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.conference-card:hover::before {
    transform: scaleX(1);
}

.conference-card:hover {
    border-color: #667eea;
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(102, 126, 234, 0.2);
    z-index: 10;
}

.conference-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.conference-type {
    color: #64748b;
    margin-bottom: 24px;
    font-style: italic;
    font-size: 1.125rem;
}

.conference-details {
    margin: 32px 0;
    text-align: left;
    background: #f8fafc;
    padding: 24px;
    border-radius: 16px;
}

.conference-details p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #374151;
    font-weight: 500;
}

.conference-details p:last-child {
    margin-bottom: 0;
}

.conference-details i {
    color: #667eea;
    width: 20px;
    font-size: 1.125rem;
}

/* Essay Competition Styles */
.essay-competitions {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    text-align: center;
    position: relative;
    z-index: 2;
}

.essay-content {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 48px;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.essay-content h3 {
    text-align: center;
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 32px;
}

.essay-content h4 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin: 32px 0 16px;
    font-weight: 600;
}

.essay-content h5 {
    font-size: 1.25rem;
    color: #667eea;
    margin-bottom: 12px;
    font-weight: 600;
}

.essay-content p {
    color: #64748b;
    margin-bottom: 24px;
    font-size: 1.125rem;
    line-height: 1.6;
}

.prompt-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.prompt-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 24px;
    border-radius: 16px;
    border-left: 4px solid #667eea;
}

.essay-requirements ul,
.essay-timeline ul,
.essay-awards ul {
    list-style: none;
    padding: 0;
}

.essay-requirements li,
.essay-timeline li,
.essay-awards li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: #374151;
    font-size: 1.125rem;
}

.essay-requirements li::before,
.essay-timeline li::before,
.essay-awards li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.essay-timeline li::before {
    content: '📅';
}

.essay-awards li::before {
    content: '🏆';
}

/* Mobile responsive for events */
@media (max-width: 768px) {
    .conferences-grid {
        grid-template-columns: 1fr;
    }
    
    .prompt-cards {
        grid-template-columns: 1fr;
    }
    
    .event-countdown .countdown {
        gap: 8px;
        padding: 0 8px;
    }
    
    .event-countdown .time-unit {
        min-width: 60px;
        max-width: 65px;
    }
    
    .event-countdown .time-value {
        font-size: 2rem;
        min-height: 50px;
        padding: 10px 8px;
    }
    
    .event-countdown .time-separator {
        font-size: 1.5rem;
        width: 10px;
        height: 50px;
        top: -12px;
    }
    
    .event-countdown .time-label {
        font-size: 0.8rem;
        margin-top: 6px;
        color: #1a1a1a;
    }
}

/* Conference Details Section */
.conference-details {
    padding: 80px 0;
    background: #ffffff;
}

.conference-info {
    max-width: 900px;
    margin: 0 auto;
}

.conference-welcome h3 {
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 24px;
    text-align: center;
    font-weight: 700;
}

.conference-welcome p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 16px;
}

.committees-info {
    margin: 48px 0;
}

.committees-info h3 {
    font-size: 1.75rem;
    color: #1a1a1a;
    margin-bottom: 16px;
    font-weight: 600;
}

.committees-info > p {
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 24px;
}

.committee-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.committee-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    position: relative;
}

.committee-card h4 {
    font-size: 1.25rem;
    color: #1a1a1a;
    margin-bottom: 12px;
    font-weight: 600;
}

.difficulty-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.difficulty-badge.beginner {
    background-color: #10b981;
    color: white;
}

.difficulty-badge.advanced {
    background-color: #f59e0b;
    color: white;
}

.committee-card p {
    color: #4a5568;
    line-height: 1.6;
}

.awards-info {
    margin: 48px 0;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px;
}

.awards-info h3 {
    font-size: 1.75rem;
    color: #1a1a1a;
    margin-bottom: 16px;
    font-weight: 600;
}

.awards-info > p {
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 16px;
}

.awards-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.awards-list li {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 8px;
    font-size: 1rem;
    color: #4a5568;
}

.awards-info em {
    font-size: 1rem;
    color: #6b7280;
    display: block;
    margin-top: 24px;
    line-height: 1.6;
}

.contact-info {
    margin: 48px 0;
    text-align: center;
}

.contact-info p {
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 16px;
    line-height: 1.6;
}

.secretary-generals {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    padding: 24px;
    margin-top: 32px;
    display: inline-block;
}

.secretary-generals p {
    color: white;
    margin: 0;
}

.secretary-generals p:first-child {
    margin-bottom: 8px;
    font-size: 1rem;
}

.secretary-generals p:last-child {
    font-size: 1.25rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .committee-cards {
        grid-template-columns: 1fr;
    }
    
    .committee-card {
        margin-bottom: 16px;
    }
    
    .conference-welcome h3 {
        font-size: 1.75rem;
    }
    
    .committees-info h3,
    .awards-info h3 {
        font-size: 1.5rem;
    }
}
