/* ==========================================================================
   Unify Holidays - home page & footer polish (desktop + mobile)
   Loaded after the theme CSS on all website pages.
   ========================================================================== */
:root { --uh-red: #ef2853; --uh-red-dark: #d01c45; --uh-ink: #242424; --uh-muted: #6b7280; }

/* ---------- Section titles ---------- */
.section-title h2 br:first-child { display: none; }

/* ---------- Why choose us ---------- */
.why-us .why-us-item { border-radius: 14px; transition: transform .2s, box-shadow .2s; }
.why-us .why-us-item:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, .08); }

/* ---------- Top destinations ---------- */
.top-desti .desti-image { overflow: hidden; }
.top-desti .desti-image img { transition: transform .5s ease; }
.top-desti .desti-image:hover img { transform: scale(1.06); }

/* ---------- Packages ---------- */
.trending .trend-item { border-radius: 14px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.trending .trend-item:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0, 0, 0, .1); }
.trending .trend-image img { transition: transform .5s ease; }
.trending .trend-item:hover .trend-image img { transform: scale(1.05); }
.trending .trend-content h4 a { color: var(--uh-ink); }
.trending .trend-content h4 a:hover { color: var(--uh-red); }

/* ---------- Call our agents strip ---------- */
.uh-agent-strip {
    display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
    background: #fff; border-radius: 16px; padding: 22px 26px; box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
}
.uh-agent-stat { display: flex; align-items: center; gap: 14px; padding-right: 22px; border-right: 1px solid #eee; }
.uh-agent-stat i {
    width: 52px; height: 52px; border-radius: 14px; background: #fdecef; color: var(--uh-red);
    display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.uh-agent-stat strong { display: block; font-size: 28px; line-height: 1.1; color: var(--uh-ink); font-weight: 800; }
.uh-agent-stat span { font-size: 14px; color: var(--uh-muted); }
.uh-agent-actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.uh-agent-actions a {
    display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px;
    font-weight: 700; font-size: 15px; text-decoration: none !important; transition: all .2s;
}
.uh-agent-call { background: var(--uh-red); color: #fff !important; }
.uh-agent-call:hover { background: var(--uh-red-dark); }
.uh-agent-quote { border: 2px solid var(--uh-red); color: var(--uh-red) !important; }
.uh-agent-quote:hover { background: var(--uh-red); color: #fff !important; }
.travelcounter { padding-bottom: 60px !important; }

/* ---------- Blog cards ---------- */
.uh-blog-row { display: flex; flex-wrap: wrap; }
.uh-blog-col { display: flex; margin-bottom: 30px; }
.uh-blog-card {
    display: flex; flex-direction: column; width: 100%; background: #fff; border-radius: 14px; overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .08); transition: transform .2s, box-shadow .2s;
}
.uh-blog-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0, 0, 0, .12); }
.uh-blog-img { display: block; aspect-ratio: 2.76 / 1; overflow: hidden; background: #f3f4f6; }
.uh-blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.uh-blog-card:hover .uh-blog-img img { transform: scale(1.05); }
.uh-blog-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.uh-blog-date { font-size: 13px; color: var(--uh-muted); margin-bottom: 8px; }
.uh-blog-body h3 { font-size: 19px; line-height: 1.4; margin: 0 0 10px; }
.uh-blog-body h3 a { color: var(--uh-ink); text-decoration: none !important; }
.uh-blog-body h3 a:hover { color: var(--uh-red); }
.uh-blog-body p { color: var(--uh-muted); font-size: 14.5px; line-height: 1.6; margin: 0 0 16px; flex: 1; }
.uh-blog-more { color: var(--uh-red) !important; font-weight: 700; font-size: 14px; text-decoration: none !important; }
.uh-blog-more i { transition: transform .2s; margin-left: 4px; }
.uh-blog-more:hover i { transform: translateX(4px); }

/* Legacy masonry script sets this box to 0px high; the new cards size themselves */
.blog .blog-main { height: auto !important; }

/* Instagram strip was pushed 56px under the footer, hiding its button */
section.insta-main.pad-0 { top: 0; }

/* ---------- Footer ---------- */
.footer-payment .footer-logo img { background: #fff; padding: 8px 14px; border-radius: 10px; max-height: 62px; }
.footer-payment-nav ul { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 0; padding: 0; }
.footer-payment-nav ul li { list-style: none; margin: 0 !important; }
.footer-payment-nav ul li img { max-height: 34px; width: auto; }

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 767px) {
    .section-title { margin-bottom: 24px !important; }
    .section-title h2 { font-size: 24px !important; }
    .section-title p { font-size: 14px; }


    /* About: shorter text block, smaller image */
    .banner-form .why-us-about h2 { font-size: 21px !important; line-height: 1.35; }
    .banner-form .why-us-about p { font-size: 14.5px; text-align: left; }
    .banner-form .mar-top-70 { margin-top: 20px !important; }
    .banner-form .img_about img { max-height: 260px; width: 100%; object-fit: contain; }

    /* Why us: compact horizontal cards */
    .why-us .why-us-item.text-center {
        height: auto !important; display: flex; align-items: center; gap: 16px; text-align: left !important;
        padding: 18px !important; margin-bottom: 14px;
    }
    .why-us .why-us-icon { margin: 0 !important; flex-shrink: 0; }
    .why-us .why-us-icon i { font-size: 40px !important; }
    .why-us .why-us-content h3 { font-size: 17px !important; margin-bottom: 4px !important; }
    .why-us .why-us-content p { font-size: 13.5px; }

    /* Top destinations: 2-column tiles instead of full-screen images */
    .top-desti .desti-inner > .row { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
    .top-desti .desti-inner > .row > div { width: auto !important; padding: 0 !important; float: none; }
    .top-desti .desti-inner > .row > div:first-child { grid-column: 1 / -1; }
    .top-desti .desti-inner > .row > div:first-child > img { height: 210px; width: 100%; object-fit: cover; }
    /* Odd number of tiles: last one spans the full row instead of leaving an empty cell */
    .top-desti .desti-inner > .row > div:last-child:nth-child(even) { grid-column: 1 / -1; }
    .top-desti .desti-title-inner h2 { font-size: 24px !important; }
    .top-desti .desti-title-inner p { font-size: 13.5px; }
    .top-desti .desti-image { height: 170px; }
    .top-desti .desti-image img { width: 100%; height: 100%; object-fit: cover; }
    .top-desti .desti-content { padding: 10px 12px !important; left: 0; right: 0; bottom: 0; text-align: left !important; }
    .top-desti .desti-content h3 { font-size: 16px !important; }
    .top-desti .desti-content .rating span { font-size: 10px; }

    /* Packages: swipeable app-style carousel */
    .trending .trend-box > .row {
        display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
        margin: 0 -15px; padding: 4px 15px 18px; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    }
    .trending .trend-box > .row::-webkit-scrollbar { display: none; }
    .trending .trend-box > .row > div {
        flex: 0 0 80%; max-width: 80%; width: 80%; padding: 0 !important; margin: 0 !important; scroll-snap-align: start; float: none;
    }
    .trending .trend-image img { height: 190px; width: 100%; object-fit: cover; }
    .trending .trend-content { padding: 14px 16px !important; }
    .trending .trend-content h4 { font-size: 16px !important; }
    .uh-swipe-hint { display: block !important; }

    /* Best-selling slider: shorter images */
    .top-deals .slider-image img { height: 230px; width: 100%; object-fit: cover; }
    .top-deals .slider-content { margin-top: -30px !important; }

    /* Explore the world strip */
    .call-to-action h2 { font-size: 22px !important; }
    .call-to-action h3.package-name { font-size: 20px !important; }

    /* Offer banner */
    .discount-action .call-banner h2 { font-size: 26px !important; }
    .discount-action .call-banner h3 { font-size: 15px !important; }
    .discount-action .call-banner .call-banner-inner { padding: 36px 20px 40px !important; }

    /* Agents strip stacks */
    .uh-agent-strip { padding: 18px; gap: 14px; }
    .uh-agent-stat { flex: 1 1 40%; border-right: none; padding-right: 0; }
    .uh-agent-stat i { width: 42px; height: 42px; font-size: 18px; border-radius: 12px; }
    .uh-agent-stat strong { font-size: 22px; }
    .uh-agent-stat span { font-size: 12.5px; }
    .uh-agent-actions { width: 100%; margin-left: 0; }
    .uh-agent-actions a { flex: 1; justify-content: center; padding: 12px 10px; font-size: 14px; }

    /* Reviews: arrows below the card instead of over the text */
    .top-review .slick-prev, .top-review .slick-next { top: auto !important; bottom: -10px; transform: none; }

    /* Blog: swipeable cards like packages */
    .uh-blog-row {
        flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
        margin: 0 -15px; padding: 4px 15px 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    }
    .uh-blog-row::-webkit-scrollbar { display: none; }
    .uh-blog-col { flex: 0 0 82%; max-width: 82%; width: 82%; padding: 0 !important; margin: 0; scroll-snap-align: start; float: none; }
    .uh-blog-body { padding: 16px 18px 18px; }
    .uh-blog-body h3 { font-size: 17px; }

    /* Instagram: no clipped button */
    .insta-main .insta-inner .col-md-2, .insta-main .insta-inner .col-md-10 { overflow: visible; }
    .insta-title { padding: 26px 0 30px !important; height: auto !important; }

    /* Footer */
    .footer-payment .pay-main { flex-direction: column; gap: 16px; align-items: center; }
    .footer-payment .footer-logo, .footer-payment-nav { float: none !important; }
    .footer-payment-nav { width: 100%; }
    .footer-payment-nav ul { justify-content: center; gap: 14px; }
    .footer-payment ul li { width: auto !important; margin: 0 !important; }
    .footer-payment-nav ul li img { max-height: 26px; width: auto !important; }
    .footer-copyright .pull-left, .footer-copyright .pull-right { float: none !important; text-align: center; }
}

.uh-swipe-hint { display: none; text-align: center; font-size: 12.5px; color: var(--uh-muted); margin-top: -6px; }

/* Banner on phones/tablets: height follows the banner artwork ratio (~2.63:1) so nothing is cut off */
@media (max-width: 991px) {
    section.banner .slider { height: calc(100vw / 2.63) !important; min-height: 0 !important; }
    section.banner .swiper-container, section.banner .swiper-wrapper, section.banner .swiper-slide { height: 100% !important; }
    section.banner .slide-inner .slide-image { background-size: 100% 100% !important; background-position: center !important; }
    section.banner .swiper-button-next, section.banner .swiper-button-prev { transform: scale(.6); }
}

/* ---------- Top Tour Reviews ---------- */
.uh-reviews { padding: 80px 0 70px !important; background: linear-gradient(180deg, #fff7f9 0%, #fafafa 100%) !important; }
.uh-reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.uh-reviews-head > div:first-child { max-width: 640px; }
.uh-reviews-kicker {
    display: inline-block; background: #fdecef; color: var(--uh-red); font-weight: 700; font-size: 12.5px;
    letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 20px; margin-bottom: 12px;
}
.uh-reviews-head h2 { font-size: 36px; margin: 0 0 10px; color: var(--uh-ink); }
.uh-reviews-head p { margin: 0; color: var(--uh-muted); font-size: 15px; line-height: 1.6; }
.uh-reviews-side { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.uh-google-badge {
    display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #eee; border-radius: 14px;
    padding: 10px 14px; box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
}
.uh-google-badge strong { display: block; font-size: 14.5px; color: var(--uh-ink); line-height: 1.2; }
.uh-google-badge span { font-size: 12.5px; color: var(--uh-muted); }
.uh-reviews-nav { display: flex; gap: 8px; }
.uh-reviews-nav button {
    width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--uh-red); background: #fff; color: var(--uh-red);
    display: flex; align-items: center; justify-content: center; font-size: 15px; cursor: pointer; transition: all .2s;
}
.uh-reviews-nav button:hover { background: var(--uh-red); color: #fff; box-shadow: 0 8px 18px rgba(239, 40, 83, .3); }

.uh-review-slider { margin: 0 -12px; }
.uh-review-slider .slick-track { display: flex !important; }
.uh-review-slider .slick-slide { height: auto !important; display: flex !important; }
.uh-review-slider .slick-slide > div { display: flex; width: 100%; }
.uh-review-slide { padding: 12px; display: flex !important; width: 100%; }
.uh-review-card {
    position: relative; display: flex; flex-direction: column; width: 100%; background: #fff; border-radius: 18px;
    padding: 28px 26px 24px; border: 1px solid #f1f1f1; box-shadow: 0 10px 30px rgba(17, 24, 39, .06);
    transition: transform .25s, box-shadow .25s; overflow: hidden;
}
.uh-review-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--uh-red), #ff8aa5); }
.uh-review-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(17, 24, 39, .1); }
.uh-review-mark { position: absolute; right: 22px; top: 18px; font-size: 54px; color: #fdecef; }
.uh-review-stars { color: #f5a623; font-size: 16px; display: flex; gap: 3px; margin-bottom: 16px; position: relative; }
.uh-review-text { color: #374151; font-size: 15.5px; line-height: 1.7; margin: 0 0 24px; flex: 1; position: relative; }
.uh-review-author { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px dashed #eee; }
.uh-review-author img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid #fdecef; }
.uh-review-author strong { display: block; color: var(--uh-ink); font-size: 16px; }
.uh-review-author span { font-size: 13px; color: var(--uh-muted); }
.uh-review-author span i { color: #4285f4; margin-right: 3px; }

.uh-review-slider .slick-dots { position: static; display: flex !important; justify-content: center; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.uh-review-slider .slick-dots li { margin: 0; width: auto; height: auto; }
.uh-review-slider .slick-dots button {
    width: 9px; height: 9px; padding: 0; border-radius: 10px; border: none; background: #f3c3cf; font-size: 0; transition: all .25s;
}
.uh-review-slider .slick-dots button::before { display: none; }
.uh-review-slider .slick-dots .slick-active button { width: 26px; background: var(--uh-red); }

@media (max-width: 991px) {
    .uh-reviews-head { flex-direction: column; align-items: flex-start; }
    .uh-reviews-head h2 { font-size: 30px; }
}
@media (max-width: 767px) {
    .uh-reviews { padding: 50px 0 44px !important; }
    .uh-reviews-head { margin-bottom: 18px; gap: 16px; }
    .uh-reviews-head h2 { font-size: 24px !important; }
    .uh-reviews-head p { font-size: 14px; }
    .uh-reviews-side { width: 100%; justify-content: space-between; }
    .uh-google-badge { padding: 8px 12px; }
    .uh-reviews-nav button { width: 40px; height: 40px; }
    .uh-review-slider { margin: 0 -15px; }
    .uh-review-slide { padding: 8px 6px; }
    .uh-review-card { padding: 22px 20px 20px; }
    .uh-review-text { font-size: 14.5px; }
}
.uh-reviews { background: #fff7f9 !important; }
.uh-reviews .slick-list, .uh-reviews .slick-track { background: transparent !important; }
.uh-review-card, .uh-review-card p, .uh-review-author { text-align: left !important; }
.uh-reviews-head, .uh-reviews-head p { text-align: left !important; }
.uh-review-slider, .uh-review-slider.slick-slider, .uh-reviews .container { background: transparent !important; box-shadow: none !important; }
.uh-review-slider .slick-list { padding: 6px 0 34px !important; margin-bottom: -22px; }

/* ---------- Footer: balanced columns, compact spacing ---------- */
footer .footer-upper { padding-top: 60px !important; padding-bottom: 36px !important; }
footer .footer-upper h3 { margin-bottom: 18px !important; }
footer .footer-links ul li { margin-bottom: 10px; }
footer .footer-about p { margin-bottom: 10px; line-height: 1.6; }
footer .footer-about-in { margin-bottom: 22px !important; padding: 18px 20px !important; }
footer .footer-subscribe form { display: flex; gap: 8px; }
footer .footer-subscribe input[type=email] { flex: 1; min-width: 0; margin: 0 !important; height: 46px; }
footer .footer-subscribe .biz-btn { margin: 0 !important; height: 46px; white-space: nowrap; padding: 0 18px !important; }
@media (max-width: 991px) {
    footer .footer-upper .col-sm-12, footer .footer-upper .col-sm-6 { margin-bottom: 24px; }
}
@media (max-width: 767px) {
    footer .footer-upper { padding-top: 44px !important; padding-bottom: 20px !important; }
    footer .footer-upper .col-xs-6 { width: 50%; float: left; }
}
footer { padding-top: 0 !important; }
footer .footer-links ul li, footer .footer-links li { margin: 0 0 12px !important; padding: 0 !important; line-height: 1.5 !important; }

/* ---------- Blog listing grid (3 per row, stays a vertical grid on phones) ---------- */
.uh-blog-grid .uh-blog-card { border: 1px solid #f1f1f1; }
.uh-blog-grid .uh-blog-body h3 { font-size: 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.uh-blog-grid .uh-blog-body p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.uh-blog-grid .uh-blog-date { display: inline-flex; align-items: center; gap: 6px; background: #fdecef; color: var(--uh-red); font-weight: 600; font-size: 12.5px; padding: 4px 10px; border-radius: 20px; align-self: flex-start; margin-bottom: 12px; }
.uh-blog-grid .uh-blog-date i::before { margin: 0; font-size: 12px; }
@media (max-width: 767px) {
    .uh-blog-row.uh-blog-grid { flex-wrap: wrap; overflow: visible; margin: 0 -15px; padding: 0; gap: 0; scroll-snap-type: none; }
    .uh-blog-grid .uh-blog-col { flex: 0 0 100%; max-width: 100%; width: 100%; padding: 0 15px !important; margin-bottom: 18px; }
}
.blog-main { height: auto !important; }

/* ---------- Sticky header on phones & tablets ---------- */
@media (max-width: 991px) {
    .main_header_area { position: sticky !important; top: 0; z-index: 9985 !important; background: #fff; transition: box-shadow .2s; }
    .main_header_area.uh-scrolled { box-shadow: 0 4px 16px rgba(0, 0, 0, .1); }
    .main_header_area .header_menu, .main_header_area .header_menu.affix { position: relative !important; animation: none !important; box-shadow: none !important; }
    /* Long mobile menu scrolls inside the screen instead of running off it */
    .slicknav_menu .slicknav_nav { max-height: calc(100vh - 150px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
}
