/* History II CSS - Parallax-Inspired Timeline */
/* Override production site styles with !important  Use this one BILLY */

/* Reset excluding header elements */
.hero-section,
.hero-section *,
.timeline-section,
.timeline-section *,
.footer-section,
.footer-section *,
.timeline-container,
.timeline-container * {
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

:root {
    --primary-color: #006cb7;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f8f8;
    --white: #ffffff;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
    line-height: 1.7 !important;
    color: var(--text-dark) !important;
    background: var(--white) !important;
    overflow-x: hidden !important;
}



/* Ensure the page container has no extra padding */
.page.category-page,
.page-body,
.solution-wrapper,
.solution-description {
    margin: 0 !important;
    padding: 0 !important;
}

/* Timeline container should have no constraints */
.timeline-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Hero Section with Parallax */
.hero-section {
    position: relative !important;
    height: 100vh !important;
    min-height: 700px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    margin-top:-50px !important;
}

.master-column-wrapper {
    margin-top:-20px !important;

}



.hero-background {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: url('https://i.atlasied.com/atlasied/history-ii/Newspaper-header-v7.jpg') center/cover no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    z-index: 1;
    filter: brightness(0.6);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    max-width: 900px !important;
    padding: 40px 40px !important;
    background: rgba(0, 108, 183, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 3px solid var(--white);
    border-radius: 3px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hero-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.3s;
}

.hero-title {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: -1px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.5s;
    color:white;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.7s;
}

.hero-year {
    display: inline-block;
    padding: 12px 30px !important;
    background: var(--white);
    color: var(--text-dark);
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.9s;
    margin-top: 20px !important;
}

/* Timeline Container */
.timeline-container {
    position: relative !important;
    background: var(--white) !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    margin-top: -75px !important;
    margin-bottom: -75px !important;

}

/* Timeline Section */
.timeline-section {
    position: relative !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
    background: #1a1a1a !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

.section-background {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 120%;
    height: 140%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    filter: brightness(0.4);
    z-index: 1;
    transition: transform 0.5s ease-out;
    will-change: transform;
}

.timeline-section:hover .section-background {
    transform: scale(1.02);
}

.section-content {
    position: relative !important;
    z-index: 10 !important;
    width: 100% !important;
    padding: 100px 10% !important;
    color: var(--white) !important;
}

.content-wrapper {
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
    text-align: left !important;
}

/* Alternating alignment for sections */
.timeline-section:nth-child(odd) .content-wrapper {
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left !important;
}

.timeline-section:nth-child(even) .content-wrapper {
    margin-left: auto !important;
    margin-right: 0 !important;
    text-align: right !important;
}

.timeline-section:nth-child(even) .section-stats {
    justify-content: flex-end !important;
}

.timeline-section.visible .content-wrapper {
    opacity: 1;
    transform: translateY(0);
}

.section-year {
    font-size: 5rem !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
    color: var(--white) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
    letter-spacing: -2px !important;
    text-align: left !important;
}

.section-title {
    font-size: 2.5rem !important;
    font-weight: 600 !important;
    margin-bottom: 30px !important;
    color: var(--white) !important;
    line-height: 1.2 !important;
    text-align: left !important;
}

.section-text {
    font-size: 1.2rem !important;
    line-height: 1.8 !important;
    margin-bottom: 40px !important;
    max-width: 800px !important;
    text-align: left !important;
}

.timeline-section:nth-child(even) .section-text {
    margin-left: auto !important;
    margin-right: 0 !important;
    text-align: right !important;
}

.timeline-section:nth-child(even) .section-year {
    text-align: right !important;
}

.timeline-section:nth-child(even) .section-title {
    text-align: right !important;
}

.section-text p {
    margin-bottom: 20px !important;
    text-align: inherit !important;
    line-height: 1.3 !important;
    font-weight: 500 !important;
    font-size: 1.0em;
}

.section-text strong {
    color: var(--white) !important;
    font-weight: 600 !important;
}

/* Stats */
.section-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px !important;
}

.stat-item {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 20px 30px !important;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer Section */
.footer-section {
    background: var(--text-dark);
    color: var(--white);
    padding: 100px 10% !important;
    text-align: center !important;
}

.footer-content {
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    padding: 40px 40px !important;
    background: rgba(0, 108, 183, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 3px solid var(--white);
    border-radius: 3px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    background-repeat: no-repeat;
    background-size: cover;
}



.footer-content h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    font-weight: 600;
    color:white;
}

.footer-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-logo-link {
    display: inline-block;
    margin-top: 40px;
}

.footer-logo {
    max-width: 300px;
    height: auto;
    transition: transform 0.3s ease;
    margin-top:20px !important;
}

.footer-logo:hover {
    transform: scale(1.05);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-year {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 40px 25px !important;
    }
    
    .hero-logo {
        max-width: 250px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-content {
        padding: 60px 8% !important;
    }
    
    .content-wrapper {
        padding: 0 20px !important;
    }
    
    .section-year {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-text {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-stats {
        gap: 20px;
    }
    
    .footer-content h2 {
        font-size: 2rem;
    }
    
    .footer-content p {
        font-size: 1rem;
    }
}
