:root {
    --primary-color: #00629B; /* IEEE Blue */
    --secondary-color: #002855; /* Darker Navy */
    --accent-color: #FDB515; /* Gold/Yellow accent */
    --text-color: #1a1a1a;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --font-family: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4rem 0;
    gap: 3rem;
}

.hero-content {
    max-width: 800px;
}

.badge {
    background-color: rgba(0, 98, 155, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.lead {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 2rem;
}

/* Image Styling */
.hero-image {
    width: 100%;
    max-width: 900px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.responsive-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.shadow-lg {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Details Section */
.details {
    margin: 4rem 0;
    text-align: center;
}

.card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
}

h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

/* Timeline Section */
.timeline {
    margin: 4rem 0;
    text-align: center;
}

h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.timeline-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.year {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ddd;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.timeline-item:hover .year {
    color: var(--primary-color);
}

.timeline-item.highlight .year {
    color: var(--accent-color);
}

.timeline-item.highlight {
    background: var(--secondary-color);
    color: white;
}

.timeline-item.highlight .location,
.timeline-item.highlight .date {
    color: rgba(255,255,255,0.9);
}

.location {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.date {
    font-size: 0.9rem;
    color: #777;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: #777;
    font-size: 0.9rem;
    border-top: 1px solid #eee;
    margin-top: 4rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .card {
        padding: 2rem;
    }
}
