/* Heritage Legacy Section Styles */
.heritage-section {
    background-color: transparent;
    padding-top: 2rem !important;
    position: relative;
    overflow: hidden;
}

.heritage-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    color: #613F26;
    font-weight: 700;
    /* font-style: italic; */
    text-transform: uppercase;
}

.heritage-divider {
    width: 60px;
    height: 3px;
    background-color: #C5A059;
    margin: 2rem auto;
    border-radius: 50px;
}

.heritage-timeline-wrapper {
    padding: 4rem 0;
}

.timeline-rail {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, #C5A059 10%, #C5A059 90%, transparent);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4rem;
    position: relative;
}

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

.timeline-content {
    width: 45%;
    padding: 2rem;
}

.timeline-image {
    width: 45%;
    position: relative;
}

.timeline-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}


.timeline-year {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    color: rgba(197, 160, 89, 0.15);
    line-height: 1;
    margin-bottom: -1rem;
    font-weight: 900;
}

.timeline-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    color: #2D2D2D;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

.timeline-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

/* Staggered Alignment */
.staggered-left {
    flex-direction: row;
}

.staggered-left .timeline-content {
    direction: rtl;
    /* text-align: left; */
}

.staggered-right {
    flex-direction: row-reverse;
}

/* Timeline Dot */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 12px;
    background-color: #C5A059;
    border: 4px solid #FFFFFF;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    box-shadow: 0 0 0 8px rgba(197, 160, 89, 0.1);
}

/* Footer Section */
.founder-quote {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-style: italic;
    color: #2D2D2D;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.signature-text {
    font-family: 'Outfit', sans-serif;
    /* Make sure to import this font */
    font-size: 3rem;
    color: #613F26;
}

.founder-title {
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 991px) {
    .timeline-rail {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column-reverse !important;
        align-items: flex-start;
        padding-left: 70px;
    }

    .timeline-content,
    .timeline-image {
        width: 100%;
        direction: ltr !important;
    }

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

    .timeline-year {
        font-size: 3rem;
    }
}