/**
* TOUR SECTION
**/

.tour-section {
    padding-block: 20px 64px;
    overflow-x: hidden;
}

.tour-section .tour-item {
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: #EEF2FF;
    border: 1px solid #EEF2FF;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s linear;
}

.tour-section .tour-item:hover {
    border: 1px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tour-section .tour-item:hover .title {
    color: var(--primary-color);
}

.tour-section .tour-item .icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    border-radius: 50%;
    background-color: #ffffff;
}

.tour-section .tour-item .icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.tour-section .tour-item .title {
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
    text-align: center;
    color: var(--title-color);
    margin-block: 12px 4px;
    transition: all 0.3s linear;
}

.tour-section .tour-item .amount {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    text-align: center;
    color: var(--desc-color);
}

.tour-section .slick-slide {
    margin: 0 16px;
}

.tour-section .slick-list {
    margin: 0 -16px;
}

/**
* CATEGORY SECTION
**/

.category-section {
    padding-bottom: 128px;
}

.category-section .category-grid {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 44px;
}

.category-section .category-sidebar .heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-block: 16px;
}

.category-section .category-sidebar .heading .menu {
    display: none;
}

.category-section .category-sidebar .heading .menu svg,
.category-section .category-sidebar .heading .menu img {
    fill: var(--desc-color);
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin-bottom: 2px;
}

.category-section .category-sidebar .title {
    font-size: 18px;
    line-height: 1;
    font-weight: 600;
    color: var(--title-color);
}

.category-section .category-sidebar .nav-link {
    position: relative;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: var(--desc-color);
    padding: 12px 16px;
    background-color: #ffffff;
    text-align: left;
    border-radius: 0px;
    transition: all 0.3s linear;
}

.category-section .category-sidebar .nav-link.active,
.category-section .category-sidebar .nav-link:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.category-section .category-sidebar .nav-link.active {
    font-weight: 500;
}

.category-section .category-sidebar .nav-link::after {
    content: '';
    display: block;
    width: 3px;
    height: 100%;
    background-color: var(--primary-color);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s linear;
}

.category-section .category-sidebar .nav-link.active::after,
.category-section .category-sidebar .nav-link:hover::after {
    opacity: 1;
    visibility: visible;
}

.category-section .news-section .news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/**
* RESPONSIVE
**/

@media screen and (max-width: 1200px) {
    .category-section .news-section .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 991px) {

    .tour-section {
        overflow-x: hidden;
    }

    .category-section .category-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .category-section .category-sidebar .nav {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        padding: 12px;
        border: 1px solid var(--third-color);
        border-top: none;
        border-bottom-right-radius: 4px;
        border-bottom-left-radius: 4px;
    }

    .category-section .category-sidebar .heading .menu {
        display: block;
        position: relative;
        transition: all 0.3s linear;
    }

    .category-section .category-sidebar .heading .menu svg {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        z-index: 2;
        transition: all 0.3s linear;
    }


    .category-section .category-sidebar .heading .menu svg:first-child,
    .category-section .category-sidebar .heading .menu.active svg:last-child {
        opacity: 1;
        visibility: visible;
    }

    .category-section .category-sidebar .heading .menu svg:last-child,
    .category-section .category-sidebar .heading .menu.active svg:first-child {
        opacity: 0;
        visibility: hidden;
    }

    .category-section .category-sidebar .heading {
        background-color: var(--third-color);
        padding-inline: 16px;
        border-radius: 4px;
        margin-bottom: 0;
        cursor: pointer;
    }

    .category-section .category-sidebar .nav-link {
        font-size: 14px;
        line-height: 20px;
    }
}

@media screen and (max-width: 768px) {

    .tour-section {
        padding-block: 20px 12px;
    }

    .tour-section .tour-item .title {
        font-size: 16px;
        line-height: 22px;
    }

    .category-section {
        padding-bottom: 32px;
    }

    .category-section .category-sidebar .nav {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-section .news-section .news-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}