/* History Page Styles */

/* Hero Section */
.history-hero {
    background: linear-gradient(135deg, #0a2463 0%, #1e3d72 100%);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
}

.history-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.history-hero .hero-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.history-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.history-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* History Section */
.history-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.history-intro {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.history-intro h2 {
    font-size: 2.5rem;
    color: #0a2463;
    margin-bottom: 1.5rem;
}

.history-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Timeline */
.timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #0a2463, #fb8500);
}

.timeline-item {
    display: flex;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #fb8500;
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #0a2463;
    z-index: 2;
}

.timeline-content {
    width: 45%;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    margin-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 0;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0a2463, #1e3d72);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: #0a2463;
    margin-bottom: 0.5rem;
}

.timeline-date {
    display: inline-block;
    background: #fb8500;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: #555;
    line-height: 1.7;
    font-size: 1rem;
}

/* Cultural Heritage Section */
.cultural-heritage {
    padding: 4rem 0;
    background: white;
}

.heritage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.heritage-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.heritage-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0a2463, #1e3d72);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.heritage-card h3 {
    font-size: 1.5rem;
    color: #0a2463;
    margin-bottom: 1rem;
}

.heritage-card p {
    color: #666;
    line-height: 1.7;
}

/* Conservation Section */
.conservation-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.conservation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.conservation-text h3 {
    font-size: 2rem;
    color: #0a2463;
    margin-bottom: 1.5rem;
}

.conservation-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.conservation-text ul {
    list-style: none;
    padding: 0;
}

.conservation-text ul li {
    padding: 0.8rem 0;
    color: #555;
    display: flex;
    align-items: center;
}

.conservation-text ul li i {
    color: #fb8500;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.conservation-image {
    background: linear-gradient(135deg, #0a2463, #1e3d72);
    color: white;
    padding: 4rem;
    border-radius: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.conservation-image i {
    font-size: 5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.conservation-image p {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.5;
}

/* Did You Know Section */
.did-you-know {
    padding: 4rem 0;
    background: white;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.fact-card {
    background: linear-gradient(135deg, #0a2463, #1e3d72);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.fact-card:hover {
    transform: translateY(-5px);
}

.fact-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fb8500;
}

.fact-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.fact-card p {
    line-height: 1.7;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 968px) {
    .history-hero h1 {
        font-size: 2.5rem;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-marker {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column !important;
        padding-left: 80px;
    }

    .timeline-content {
        width: 100%;
        margin: 0 !important;
    }

    .conservation-content {
        grid-template-columns: 1fr;
    }

    .heritage-grid,
    .facts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .history-hero {
        padding: 4rem 0 3rem;
    }

    .history-hero h1 {
        font-size: 2rem;
    }

    .history-hero p {
        font-size: 1.1rem;
    }

    .history-intro h2 {
        font-size: 2rem;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .timeline-content h3 {
        font-size: 1.3rem;
    }
}
