/* ============================================
   TIMELINE PAGE STYLES
   ============================================ */

/* Hero Section */
.timeline-hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    margin-top: -80px;
    z-index: 1;
}

.timeline-hero-section .container-fluid {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.timeline-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.timeline-hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.timeline-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(1, 75, 111, 0.75) 0%, rgba(23, 156, 216, 0.65) 100%);
    z-index: 2;
}

.timeline-hero-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 180px 0 100px clamp(2rem, 5vw, 4rem);
    text-align: left;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.timeline-hero-content {
    color: #ffffff;
    background: rgba(100, 150, 200, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 30px;
    padding: 60px 50px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    max-width: 550px;
    margin: 0;
    margin-left: 0;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timeline-hero-content h1 {
    font-family: "Inter", sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.timeline-hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.7;
    margin: 0;
}

/* Journey at a Glance Section */
.timeline-overview-section {
    padding: 100px 0;
    background: #ffffff;
}

.timeline-overview-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.timeline-overview-header {
    text-align: center;
    margin-bottom: 60px;
}

.timeline-overview-header h2 {
    font-family: "Inter", sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.timeline-overview-header h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #179cd8;
}

.timeline-overview-header p {
    font-size: 18px;
    color: #666;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
}

.timeline-overview-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.timeline-stat-card {
    text-align: center;
    padding: 40px 20px;
    background: #f8fafc;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.timeline-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(23, 156, 216, 0.2);
    border-color: #179cd8;
}

.stat-number {
    font-family: "Inter", sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #179cd8;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #666;
    font-weight: 600;
}

/* Main Timeline Section - Uses same styles as about page timeline */
/* All timeline styles are inherited from ../styles.css (about/styles.css) */
/* The timeline section uses .about-timeline-section, .about-timeline-wrapper, etc. */

/* Timeline dot fallback positions for this page's years (same design behavior as About timeline) */
#key-milestones .timeline-dot[data-year="2008"] {
    top: 40px;
}

#key-milestones .timeline-dot[data-year="2009"] {
    top: 200px;
}

#key-milestones .timeline-dot[data-year="2012"] {
    top: 360px;
}

#key-milestones .timeline-dot[data-year="2015"] {
    top: 520px;
}

#key-milestones .timeline-dot[data-year="2018"] {
    top: 680px;
}

#key-milestones .timeline-dot[data-year="2020"] {
    top: 840px;
}

#key-milestones .timeline-dot[data-year="2022"] {
    top: 1000px;
}

#key-milestones .timeline-dot[data-year="2023"] {
    top: 1160px;
}

#key-milestones .timeline-dot[data-year="2024"] {
    top: 1320px;
}

#key-milestones .timeline-dot[data-year="2025"] {
    top: 1480px;
}

/* Portfolio Expansion Section */
.timeline-portfolio-section {
    padding: 100px 0;
    background: #ffffff;
}

.timeline-portfolio-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.timeline-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.timeline-section-header h2 {
    font-family: "Inter", sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.timeline-section-header h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #179cd8;
}

.timeline-section-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.timeline-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.portfolio-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(135, 206, 250, 0.4);
}

.portfolio-icon {
    font-size: 48px;
    color: #179cd8;
    margin-bottom: 20px;
}

.portfolio-card h3 {
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 15px;
}

.portfolio-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* Innovation Section */
.timeline-innovation-section {
    padding: 100px 0;
    background: #f8fafc;
}

.timeline-innovation-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.timeline-innovation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.innovation-item {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.innovation-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(135, 206, 250, 0.4);
}

.innovation-icon {
    font-size: 48px;
    color: #179cd8;
    margin-bottom: 20px;
}

.innovation-item h3 {
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 15px;
}

.innovation-item p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* Awards Section */
.timeline-awards-section {
    padding: 100px 0;
    background: #ffffff;
}

.timeline-awards-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.timeline-awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.award-card {
    background: #f8fafc;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.award-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.3);
    border-color: #ffd700;
}

.award-icon {
    font-size: 48px;
    color: #ffd700;
    margin-bottom: 20px;
}

.award-card h3 {
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 15px;
}

.award-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* Regional Footprint Section */
.timeline-footprint-section {
    padding: 100px 0;
    background: #f8fafc;
}

.timeline-footprint-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.footprint-content {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-top: 60px;
    background: #ffffff;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.footprint-map {
    font-size: 120px;
    color: #179cd8;
    flex-shrink: 0;
}

.footprint-text h3 {
    font-family: "Inter", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
}

.footprint-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* CSR Section */
.timeline-csr-section {
    padding: 100px 0;
    background: #ffffff;
}

.timeline-csr-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.csr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.csr-item {
    background: #f8fafc;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.csr-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(135, 206, 250, 0.4);
}

.csr-icon {
    font-size: 48px;
    color: #179cd8;
    margin-bottom: 20px;
}

.csr-item h3 {
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 15px;
}

.csr-item p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* Future Outlook Section */
.timeline-future-section {
    padding: 100px 0;
    background: #f8fafc;
}

.timeline-future-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.future-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.future-item {
    background: #ffffff;
    padding: 40px 25px;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.future-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(135, 206, 250, 0.4);
}

.future-icon {
    font-size: 48px;
    color: #179cd8;
    margin-bottom: 20px;
}

.future-item h3 {
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 15px;
}

.future-item p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* CTA Section */
.timeline-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #179cd8 0%, #245575 100%);
    color: #ffffff;
}

.timeline-cta-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.timeline-cta-wrapper h2 {
    font-family: "Inter", sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.timeline-cta-wrapper p {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.timeline-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.timeline-cta-buttons .btn-primary {
    background: #ffffff;
    color: #179cd8;
    border: 2px solid #ffffff;
    border-radius: 25px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.timeline-cta-buttons .btn-primary:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.timeline-cta-buttons .btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 25px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.timeline-cta-buttons .btn-secondary:hover {
    background: #ffffff;
    color: #179cd8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .timeline-overview-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline-portfolio-grid,
    .timeline-innovation-grid,
    .timeline-awards-grid,
    .csr-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .future-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footprint-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footprint-map {
        font-size: 80px;
    }
}

@media (max-width: 767.98px) {
    .timeline-hero-section .container-fluid,
    .timeline-overview-section .container-fluid,
    #key-milestones .container-fluid,
    .timeline-portfolio-section .container-fluid,
    .timeline-innovation-section .container-fluid,
    .timeline-awards-section .container-fluid,
    .timeline-footprint-section .container-fluid,
    .timeline-csr-section .container-fluid,
    .timeline-future-section .container-fluid,
    .timeline-cta-section .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }

    .timeline-hero-overlay {
        /* Match About page hero tint on mobile too */
        background: linear-gradient(135deg, rgba(1, 75, 111, 0.75) 0%, rgba(23, 156, 216, 0.65) 100%) !important;
        z-index: 2 !important;
    }

    .timeline-hero-section {
        min-height: 80vh;
    }
    
    .timeline-hero-wrapper {
        padding: 150px 10px 60px;
    }
    
    .timeline-hero-content {
        padding: 30px 25px;
    }
    
    .timeline-overview-wrapper,
    .timeline-portfolio-wrapper,
    .timeline-innovation-wrapper,
    .timeline-awards-wrapper,
    .timeline-footprint-wrapper,
    .timeline-csr-wrapper,
    .timeline-future-wrapper,
    .timeline-cta-wrapper {
        padding: 0 10px;
    }
    
    .timeline-overview-header h2,
    .timeline-section-header h2,
    .timeline-cta-wrapper h2 {
        font-size: 32px;
    }
    
    .timeline-overview-stats {
        grid-template-columns: 1fr;
    }
    
    .timeline-portfolio-grid,
    .timeline-innovation-grid,
    .timeline-awards-grid,
    .csr-grid,
    .future-grid {
        grid-template-columns: 1fr;
    }
    
    .footprint-content {
        padding: 40px 25px;
    }
    
    .footprint-map {
        font-size: 60px;
    }
    
    .stat-number {
        font-size: 36px;
    }
}
