:root {
    --primary-color: #05445e;
    --secondary-color: #d4f1f4;
    --background-color: #F5F5F7; 
    --text-color: #333;
    --card-background: #fff;
    --timeline-color: #ddd;
    --active-color: #189ab4;
    --section-background: #FFFFFF; 
    --light-gray: #F5F5F7; 
    --medium-gray: #E5E5EA; 
}

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

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem 1rem;
}

.timeline-nav {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.1);
    z-index: 100;
}

.timeline-nav ul {
    display: flex;
    list-style: none;
    overflow-x: auto;
    padding: 1rem;
    gap: 1rem;
    scrollbar-width: none; /* Firefox */
}

.timeline-nav ul::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.timeline-nav a {
    text-decoration: none;
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    white-space: nowrap;
    transition: background-color 0.3s;
}

.timeline-nav a:hover, .timeline-nav a.active {
    background-color: var(--active-color);
    color: white;
}

/* New styles for intro section */
.intro-section {
    background-color: var(--section-background);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.intro-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.intro-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    color: var(--primary-color);
}

.intro-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.benefits-list {
    margin: 1rem 0 1.5rem 1.5rem;
}

.benefits-list li {
    margin-bottom: 0.75rem;
}

.timeline-section {
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-intro {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    max-width: 900px;
}

.timeline-section h2 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--timeline-color);
    padding-bottom: 0.5rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.tool-card {
    background-color: var(--card-background);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.tool-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.tool-link {
    display: inline-block;
    margin-top: 1rem;
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.tool-link:hover {
    background-color: var(--primary-color);
    color: white;
}

/* FAQ Section Styles */
.faq-section {
    background-color: var(--section-background);
    padding: 3rem 1rem;
    margin: 2rem 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--medium-gray);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

/* Enhanced Footer Styles */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-section a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.copyright {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .timeline-nav ul {
        padding: 0.5rem;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .intro-section, .faq-section {
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-section {
        text-align: center;
    }
}

/* Add this to your existing CSS */
.footer-section a[href^="mailto:"] {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-section a[href^="mailto:"]:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-bottom a[href^="mailto:"] {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-bottom a[href^="mailto:"]:hover {
    opacity: 1;
    text-decoration: underline;
}