/* =========================================
   POPULAR TOUR PACKAGES
========================================= */

.popular-packages {
    width: 100%;
    padding: 90px 0;
    background: #f7f9fc;
}

.packages-container {
    width: 100%;
    max-width: 1400px;
    margin: auto;
    padding: 0 30px;
}


/* =========================================
   HEADING
========================================= */

.packages-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 42px;
}

.heading-content {
    max-width: 720px;
}

.section-tag {
    display: inline-block;
    margin-bottom: 10px;

    color: #d7ad45;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;
}

.heading-content h2 {
    margin: 0 0 12px;

    color: #082c4c;

    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;

    font-weight: 800;
}

.heading-content h2 span {
    color: #d7ad45;
}

.heading-content p {
    max-width: 650px;

    margin: 0;

    color: #687684;

    font-size: 15px;
    line-height: 1.8;
}

/* =========================================
   CENTER ALIGN TOUR PACKAGE HEADING
========================================= */

.packages-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 18px;
    margin-bottom: 45px;
}

.heading-content {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.section-tag {
    display: block;
    margin-bottom: 12px;
    text-align: center;
}

.heading-content h2 {
    margin: 0 0 15px;
    text-align: center;
}

.heading-content p {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.view-all-btn {
    margin: 0 auto;
}


/* =========================================
   VIEW ALL
========================================= */

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 13px 20px;

    border: 1px solid #082c4c;
    border-radius: 7px;

    color: #082c4c;

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;

    transition: all 0.3s ease;
}

.view-all-btn i {
    transition: transform 0.3s ease;
}

.view-all-btn:hover {
    color: #ffffff;
    background: #082c4c;
}

.view-all-btn:hover i {
    transform: translateX(4px);
}


/* =========================================
   GRID
========================================= */

.packages-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 28px;
}


/* =========================================
   CARD
========================================= */

.package-card {
    overflow: hidden;

    background: #ffffff;

    border-radius: 14px;

    border: 1px solid rgba(8, 44, 76, 0.08);

    box-shadow: 0 8px 28px rgba(8, 44, 76, 0.06);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.package-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 18px 45px rgba(8, 44, 76, 0.14);
}


/* =========================================
   IMAGE
========================================= */

.package-image {
    position: relative;

    height: 245px;

    overflow: hidden;

    background: #e9eef3;
}

.package-image img {
    object-position: center top;
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.6s ease;
}

.package-card:hover .package-image img {
    transform: scale(1.08);
}


/* =========================================
   IMAGE BADGES
========================================= */

.destination-badge,
.duration-badge {
    position: absolute;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: #ffffff;

    font-size: 11px;
    font-weight: 700;

    background: rgba(8, 44, 76, 0.88);

    backdrop-filter: blur(5px);

    border-radius: 5px;
}

.destination-badge {
    top: 14px;
    left: 14px;

    padding: 7px 10px;
}

.destination-badge i {
    color: #f0cf78;
}

.duration-badge {
    right: 14px;
    bottom: 14px;

    padding: 7px 10px;
}


/* =========================================
   CONTENT
========================================= */

.package-content {
    padding: 23px;
}

.package-content h3 {
    margin: 0 0 20px;

    color: #082c4c;

    font-size: 20px;
    font-weight: 800;
}


/* =========================================
   FEATURES
========================================= */

.package-features {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 13px;

    padding-bottom: 20px;

    border-bottom: 1px solid #edf0f3;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 9px;

    min-width: 0;
}

.feature > i {
    width: 30px;
    height: 30px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 7px;

    color: #d7ad45;

    background: rgba(215, 173, 69, 0.1);

    font-size: 13px;
}

.feature span {
    display: flex;
    flex-direction: column;

    min-width: 0;

    color: #374957;

    font-size: 11px;
    font-weight: 600;

    line-height: 1.4;
}

.feature small {
    margin-bottom: 2px;

    color: #9aa5ae;

    font-size: 9px;

    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* =========================================
   BOTTOM
========================================= */

.package-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding-top: 20px;
}

.package-price {
    display: flex;
    flex-direction: column;
}

.package-price small {
    color: #89949e;

    font-size: 9px;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.package-price strong {
    margin-top: 2px;

    color: #082c4c;

    font-size: 23px;
    font-weight: 800;
}

.package-price span {
    color: #9aa5ae;

    font-size: 9px;
}


/* =========================================
   PACKAGE BUTTON
========================================= */

.package-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 11px 14px;

    border-radius: 7px;

    color: #ffffff;

    background: #082c4c;

    font-size: 11px;
    font-weight: 700;

    white-space: nowrap;

    transition: all 0.3s ease;
}

.package-btn i {
    transition: transform 0.3s ease;
}

.package-btn:hover {
    background: #d7ad45;
}

.package-btn:hover i {
    transform: translateX(4px);
}


/* =========================================
   LARGE TABLET
========================================= */

@media (max-width: 1100px) {

    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================
   TABLET
========================================= */

@media (max-width: 800px) {

    .popular-packages {
        padding: 45px 0;
    }

    .packages-container {
        padding: 0 20px;
    }

    .packages-heading {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 30px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .popular-packages {
        padding: 55px 0;
    }

    .packages-container {
        padding: 0 15px;
    }

    .heading-content h2 {
        font-size: 31px;
    }

    .heading-content p {
        font-size: 13px;
        line-height: 1.7;
    }

    .view-all-btn {
        padding: 11px 16px;
        font-size: 12px;
    }

    .packages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .package-image {
        height: 225px;
    }

    .package-content {
        padding: 19px;
    }

    .package-content h3 {
        font-size: 18px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .package-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .package-btn {
        width: 100%;
    }

}