/* History Page Specific Styles */

/* History hero uses common .page-hero class from style.css */
/* Additional history-specific styles can be added here if needed */

.intro-section {
    padding: 60px 0;
    background: #ffffff;
}

.intro-text {
    font-size: 1.15rem;
    line-height: 2;
    color: #555;
    margin-bottom: 30px;
}

.intro-image-wrapper {
    margin: 40px 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    background: #f0f0f0;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.intro-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro-image-placeholder {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.intro-image-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.timeline-container {
    position: relative;
    padding: 60px 0;
    background: #f8f9fa;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
    z-index: 2;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-content {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 137, 208, 0.15);
}

.timeline-number {
    position: absolute;
    left: -80px;
    top: 40px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 137, 208, 0.3);
    z-index: 3;
}

.timeline-item:nth-child(even) .timeline-number {
    left: auto;
    right: -80px;
}

.timeline-year {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeline-year i {
    font-size: 1rem;
}

.timeline-title {
    font-size: 1.8rem;
    color: #333;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.timeline-description {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 25px;
}

.timeline-media {
    margin-top: 25px;
    border-radius: 12px;
    overflow: hidden;
    background: #f0f0f0;
    aspect-ratio: 16 / 9;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.timeline-media img,
.timeline-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-media-placeholder {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.timeline-media-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.conclusion-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #e3f0ff 0%, #cce5ff 100%);
    position: relative;
    overflow: hidden;
}

.conclusion-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.conclusion-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.conclusion-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.conclusion-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 30px;
}

.conclusion-content p {
    font-size: 1.2rem;
    line-height: 2;
    color: #333;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .timeline-line {
        left: 30px;
    }
    
    .timeline-number {
        left: 0;
        right: auto;
    }
    
    .timeline-item:nth-child(even) .timeline-number {
        left: 0;
        right: auto;
    }
    
    .timeline-content {
        margin-left: 80px;
    }
    
    
    .intro-text {
        font-size: 1rem;
    }
    
    .timeline-content {
        padding: 30px 20px;
        margin-left: 70px;
    }
    
    .timeline-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        left: -5px;
    }
    
    .timeline-title {
        font-size: 1.5rem;
    }
    
    .conclusion-content h2 {
        font-size: 2rem;
    }
    
    .conclusion-content p {
        font-size: 1.1rem;
    }
}

