/* History Section */
.history {
    padding: 60px 0;
}

.history .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.history .section-header.reverse {
    flex-direction: row-reverse;
}

.history .section-title-block {
    max-width: 570px;
}

.history .history-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.history .history-icons img {
    width: auto;
    height: 126px;
    object-fit: contain;
}

.history .history-content {
    display: flex;
    gap: 60px;
    align-items: stretch;
}

.history .history-image {
    flex: 0 0 584px
}

.history .history-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.history .history-text {
    flex: 1;
    position: relative;
    padding-bottom: 100px;
}

.history .history-text h2 {
    font-size: 38px;
    margin-bottom: 30px;
}

.history .history-description {
    font-size: 22px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

.history .history-description p {
    margin-bottom: 20px;
}

.history .history-decor {
    position: absolute;
    bottom: 0px;
    right: 0;
    height: 368px;
    width: 100%;
    pointer-events: none;
}

@media (max-width:1425px) {
    .history .history-decor {
        display: none;
    }
}

.history .history-decor img {
    width: 100%;
    height: auto;
}

.history .btn-more {
    display: inline-block;
    padding: 15px 40px;
    background: #4A7C59;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    text-transform: uppercase;
    transition: background 0.3s;
    position: relative;
    z-index: 2;
}

.history .btn-more:hover {
    background: #3d6548;
}

@media (max-width: 1024px) {
    .history .history-content {
        flex-direction: column;
    }

    .history .history-image {
        flex: 0 0 auto;
        width: 100%;
    }

    .history .history-decor {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .history .section-header {
        flex-direction: column !important;
        gap: 30px;
    }

    .history .history-icons {
        flex-wrap: wrap;
        justify-content: center;

        display: none;
    }

    .history .history-icons img {
        width: 60px;
        height: 60px;
    }

    .history .section-title-block h2 {
        font-size: 32px;
    }

    .history .history-text h2 {
        font-size: 28px;
    }

    .history .history-description {
        font-size: 16px;
    }

    .history .history-decor {
        width: 250px;
    }
    .history .history-text {
        padding-bottom: 0px;
    }
}