/*-----------------------------------*\
 * #ABOUT PAGE
\*-----------------------------------*/

.history {
    padding-block: 5rem;
    background-color: #f0f2f5;
}

.history .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.history-timeline {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 1rem 0;
    gap: 2rem;
}

.history-timeline::before {
    content: '';
    position: absolute;
    top: 1rem;
    left: 1rem;
    bottom: 1rem;
    width: 4px;
    background-color: #e0e0e0;
}

.history-item {
    position: relative;
    padding-left: 3rem;
    text-align: left;
}

.history-item::after {
    content: '';
    position: absolute;
    top: 0.5rem;
    left: calc(1rem - 8px);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--accent-color);
    border: 4px solid var(--background-light);
    z-index: 1;
}

.history-item__content {
    position: relative;
    background-color: var(--background-white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}

.history-item__content--top,
.history-item__content--bottom {
    top: auto;
    bottom: auto;
}

.company-details {
    padding-block: 5rem;
    background: var(--background-white);
}

.history-item__title {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: underline;
}

.history-item__text {
    color: var(--text-light);
}

.history-item__content .history-item__text.visible,
.detail-item h3.visible {
    animation-delay: 0.2s;
}

.detail-item p.visible {
    animation-delay: 0.4s;
}

.detail-item ul.visible {
    animation-delay: 0.6s;
}


.company-details {
    padding-block: 5rem;
    background: linear-gradient(135deg, #eaf2f8, #ffffff);
}

.company-details .section-title {
    margin-bottom: 4rem;
}

.details-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 900px;
    margin-inline: auto;
}

.detail-feature {
    display: flex;
    align-items: center;
    gap: 3rem;
    position: relative;
}

.detail-feature:nth-child(even) {
    flex-direction: row-reverse;
}

.detail-feature__icon-container {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--background-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 5px solid var(--accent-color);
}

.detail-feature__icon {
    width: 60px;
    height: 60px;
}

.detail-feature__content {
    flex-grow: 1;
}

.detail-feature__content h3 {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.detail-feature__content h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50%;
    height: 3px;
    background-color: var(--accent-color);
}

.detail-feature__content p,
.detail-feature__content ul {
    color: var(--text-light);
}

.detail-feature__content ul {
    list-style: none;
    padding-left: 0;
}

.detail-feature__content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.detail-feature__content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

.download-link {
    color: var(--accent-color);
    font-weight: 700;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.download-link:hover {
    color: var(--primary-color);
}

@media (min-width: 992px) {
    .details-content {
        grid-template-columns: repeat(3, 1fr);
    }
    .history-layout {
        grid-template-columns: 300px 1fr;
    }

    .history-timeline {
        flex-direction: row;
        justify-content: space-between;
        padding: 2rem 0;
        gap: 0;
    }

    .history-timeline::before {
        top: 50%;
        left: 0;
        right: 0;
        bottom: auto;
        width: auto;
        height: 4px;
        transform: translateY(-50%);
        background-color: var(--accent-color);
    }

    .history-item {
        flex: 1;
        text-align: center;
        padding: 0 2rem;
    }

    .history-item::after {
        display: none;
    }

    .history-item:not(:last-child)::after {
        display: block;
        content: '';
        position: absolute;
        top: 50%;
        right: -12.5px;
        left: auto;
        transform: translateY(-50%);
        width: 25px;
        height: 25px;
        border-radius: 50%;
        background-color: var(--accent-color);
        border: 4px solid var(--background-light);
        z-index: 1;
    }

    .history-item__content {
        padding: 2rem;
    }

    .history-item__content--top {
        bottom: 40px;
    }

    .history-item__content--bottom {
        top: 40px;
    }
}

.about-hero {
    position: relative;
    padding: 10vh 0;
    background-image: url('/siteassets/images/banners/genericbanner.jpg');
    background-size: cover;
    background-position: center;
    color: var(--background-white);
    height: auto;
}

.about-hero__content {
    text-align: left;
}

.about-hero__page-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.about-hero__title {
    color: var(--background-white);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.about-hero__description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}
