/* Global Reset and Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #2D3748;
    background-color: #F7FAFC;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1A365D 0%, #2B6CB0 100%);
    color: white;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem 5%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.75;
}

.hero-content {
    max-width: 700px;
    margin: auto 0;
    padding: 4rem 0;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background-color: #D69E2E;
    color: #1A202C;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #B7791F;
}

/* Sections */
.section {
    padding: 5rem 10%;
    text-align: center;
}

.section h2 {
    font-size: 2.5rem;
    color: #1A365D;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #4A5568;
    margin-bottom: 3rem;
}

.alt-bg {
    background-color: #EDF2F7;
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    text-align: left;
}

.card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.card h3 {
    color: #2B6CB0;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.card p {
    color: #4A5568;
    font-size: 0.95rem;
}

/* Interactive Timeline Tabs */
.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.timeline-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #E2E8F0;
    padding-bottom: 1rem;
}

.tab-btn {
    background: none;
    border: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #718096;
    cursor: pointer;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

.tab-btn.active {
    color: #2B6CB0;
    border-bottom: 3px solid #2B6CB0;
    margin-bottom: -1.15rem;
}

.timeline-content {
    display: none;
}

.timeline-content.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.timeline-content h3 {
    color: #1A365D;
    margin-bottom: 0.75rem;
}

/* Footer */
footer {
    background-color: #1A365D;
    color: white;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .nav-links {
        display: none;
    }
    .timeline-tabs {
        flex-direction: column;
        align-items: center;
    }
    .tab-btn.active {
        margin-bottom: 0;
        border-bottom: none;
        background: #EDF2F7;
        width: 100%;
        border-radius: 4px;
    }
}
