/* =========================================================
   HOME PAGE CSS
   Header + Hero + Home Content + Footer + Responsive
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
    transition: box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
    background: #f6f8fc;
}

:root {
    --home-radius-lg: 24px;
    --home-radius-md: 20px;
    --home-shadow-soft: 0 6px 18px rgba(16, 24, 40, 0.06);
    --home-shadow-hover: 0 18px 38px rgba(16, 24, 40, 0.14);
    --home-shadow-hover-soft: 0 10px 22px rgba(16, 24, 40, 0.08);
    --home-text-primary: #0f172a;
    --home-text-muted: rgba(15, 23, 42, 0.7);
    --home-section-gap: 42px;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

a {
    text-decoration: none;
    color: inherit;
}

h1,
h2,
h3 {
    line-height: 1.3;
}

button,
input,
select,
textarea {
    font: inherit;
}

.visually-hidden {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* =========================================================
   HERO / HEADER WRAPPER
========================================================= */

.header {
    position: relative;
    width: 100%;
    min-height: 560px;
    overflow: hidden;
    background: #f8fafc;
    text-align: center;
}

.header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 5, 111, 0.46) 0%, rgba(0, 5, 111, 0.25) 40%, rgba(0, 0, 0, 0.14) 100%);
}

.stock-photo-225618327-icon {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 560px;
    object-fit: cover;
    z-index: 1;
}

.trave-homepage-inner {
    position: absolute;
    top: 130px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 900px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0 20px;
}

.quick-and-easy-travelvego-parent {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    max-width: 920px;
    padding: 12px 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(2px);
}

.quick-and-easy {
    margin: 0;
    font-size: 54px;
    line-height: 1;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.005em;
    text-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}

.pick-an-item {
    margin: 6px 0 0;
    font-size: 22px;
    line-height: 1.6;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.94);
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.2);
}

/* =========================================================
   SEARCH BAR IN HERO
========================================================= */

.frame-parent1 {
    position: absolute;
    top: 340px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 720px;
    margin: 0;
    background: #ffffff;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 9px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
    z-index: 15;
}

.search-1-parent {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    position: relative;
}

.search-1-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

.places-to-go {
    flex: 1;
    position: relative;
}

.places-to-go input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 19px;
    font-weight: 500;
    color: #343434;
    line-height: 1.6;
}

#autocomplete-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    z-index: 200;
    overflow: hidden;
}

#autocomplete-results:empty {
    display: none;
}

#autocomplete-results div a {
    display: block;
    padding: 12px 16px;
    color: #111827;
    border-bottom: 1px solid #f3f4f6;
}

#autocomplete-results div:last-child a {
    border-bottom: 0;
}

.search-found {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    z-index: 100;
    padding: 12px 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.search {
    border: 0;
    border-radius: 999px;
    background: #1a1f7a;
    color: #fff;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 5, 111, 0.3);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.error {
    max-width: 665px;
    margin: 20px auto;
    background: #fef2f2;
    color: #b91c1c;
    border-radius: 12px;
    padding: 12px 16px;
}

/* =========================================================
   MAIN HOME WRAPPER
========================================================= */

.frame-parent2 {
    width: 100%;
}

.frame-parent3 {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 56px 20px 52px;
    display: flex;
    flex-direction: column;
    gap: var(--home-section-gap);
    margin-bottom: 60px;
}

.section-title-parent,
.section-title-group {
    width: 100%;
}

/* =========================================================
   CITIES SECTION
========================================================= */

.city-city {
    width: 100%;
    background: #fbfcfe;
    border-radius: var(--home-radius-lg);
    padding: 28px 24px;
    border: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.city-city h2 {
    margin: 0 0 24px;
    text-align: center;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--home-text-primary);
}

.city-city-1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 200px));
    justify-content: center;
    gap: 20px;
}

.city-city-1 a {
    display: block;
}

.city-city-cart {
    background: #fff;
    border-radius: var(--home-radius-md);
    overflow: hidden;
    text-align: center;
    padding-bottom: 16px;
    box-shadow: var(--home-shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.city-city-cart img {
    width: 100%;
    height: 176px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.city-city-cart h3 {
    margin: 15px 12px 0;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
    color: #00056f;
}

/* =========================================================
   WHY BOOK WITH US
========================================================= */

.section-title {
    width: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-radius: var(--home-radius-lg);
    padding: 56px 28px;
    text-align: center;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.frame-parent4 {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.content-wrapper,
.content,
.heading {
    width: 100%;
}

.heading h2 {
    margin: 0;
    font-size: 36px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--home-text-primary);
}

.travelvego {
    color: #00056f;
}

.frame-parent5 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.calendar-cancel-1-parent {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    text-align: start;
    background: #ffffff;
    border-radius: var(--home-radius-md);
    padding: 24px 20px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

.calendar-cancel-1-icon {
    width: 44px;
    height: 44px;
    padding: 8px;
    object-fit: contain;
    flex-shrink: 0;
    background: #f1f5ff;
    border-radius: 12px;
}

.free-cancellation-parent {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.free-cancellation {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.45;
    color: #00056f;
}

.stay-flexible-on {
    font-size: 15px;
    line-height: 1.75;
    color: var(--home-text-muted);
}

/* =========================================================
   TRIPS SECTION
========================================================= */

.mx-trips-section {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px 0 58px;
    margin-bottom: 60px;
}

.mx-trips-heading-wrap {
    text-align: center;
    margin-bottom: 38px;
}

.mx-trips-heading {
    margin: 0;
    font-size: 38px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--home-text-primary);
}

.mx-trips-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    justify-content: center;
    align-items: stretch;
}

.mx-trip-link {
    display: block;
    height: 100%;
}

.mx-trip-card {
    background: #fbfcfe;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: var(--home-radius-lg);
    overflow: hidden;
    box-shadow: var(--home-shadow-soft);
    transition: transform 0.32s ease, box-shadow 0.32s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mx-trip-image-wrap {
    position: relative;
    height: 224px;
    overflow: hidden;
    flex-shrink: 0;
}

.mx-trip-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.mx-trip-card:hover .mx-trip-image {
    transform: scale(1.08);
}

.mx-trip-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0.04) 55%, rgba(0, 0, 0, 0.14) 100%);
    pointer-events: none;
}

.mx-trip-price-box {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    inset-inline-end: 12px;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    gap: 4px 8px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.mx-trip-price-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #00056f;
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 0.01em;
    padding: 10px 15px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    box-shadow: 0 10px 22px rgba(0, 5, 111, 0.3);
    line-height: 1.05;
    min-height: 40px;
    backdrop-filter: blur(2px);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.mx-trip-price-current small,
.mx-trip-price-current sup,
.mx-trip-price-current .currency {
    font-size: 0.72em;
    font-weight: 700;
    line-height: 1;
    opacity: 0.9;
    margin-inline-end: 2px;
    align-self: flex-start;
    transform: translateY(1px);
}

.mx-trip-price-old {
   display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    color: rgb(255 255 255);
    font-size: 18px;
    font-weight: bolder;
    letter-spacing: 0;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    padding: 0 0 2px;
    border-radius: 0;
    background: transparent;
    border: 0;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    margin-bottom: 2px;
}

.mx-trip-content {
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mx-trip-rating-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.mx-trip-stars {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.mx-trip-star-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mx-trip-star-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    display: block;
}

.mx-trip-rate-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--home-text-muted);
    white-space: nowrap;
}

.mx-trip-info-block {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mx-trip-location-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.mx-trip-location-text {
    font-size: 13.5px;
    color: var(--home-text-muted);
    line-height: 1.4;
}

.mx-trip-title {
    margin: 0 0 15px;
    font-size: 20px;
    line-height: 1.45;
    font-weight: 700;
    color: var(--home-text-primary);
    min-height: 60px;
    word-break: break-word;
}

.mx-trip-meta-list {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-top: auto;
}

.mx-trip-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.mx-trip-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.mx-trip-meta-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.mx-trip-meta-text {
    font-size: 13.5px;
    color: var(--home-text-muted);
    line-height: 1.55;
}

.mx-trip-pickup-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    color: #374151;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

/* =========================================================
   OFFERS TITLE SECTION
========================================================= */

.section-title-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.section-title1 {
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
}

.content1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.heading1 {
    width: 100%;
    font-size: 36px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--home-text-primary);
}

.heading1 h2 {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
}

.text {
    font-size: 17px;
    line-height: 1.85;
    color: var(--home-text-muted);
    max-width: 760px;
    margin-inline: auto;
}

/* =========================================================
   TESTIMONIALS
========================================================= */

.testimonials {
    width: 100%;
    background: linear-gradient(180deg, #effaf7 0%, #e9f7f3 100%);
    padding: 82px 20px;
    border-top: 1px solid #e2f0ed;
    border-bottom: 1px solid #e2f0ed;
    margin-bottom: 60px;
}

.title-parent {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 46px;
    align-items: center;
}

.title {
    width: 100%;
}

.card-parent {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.card1 {
    border-radius: var(--home-radius-md);
    background: #fbfcfe;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 10px 28px rgba(16, 24, 40, 0.09);
    overflow: hidden;
    padding: 28px 24px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.content4 {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.frame-parent115 {
    display: flex;
    align-items: center;
    gap: 16px;
}

.frame-wrapper41 {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #fff;
    border: 2px solid #eef2ff;
}

.frame-child69 {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.heading-parent {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.heading3 {
    font-size: 20px;
    font-weight: 700;
    color: #1c2b38;
    line-height: 1.3;
}

.frame-parent116 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.noun-star-3234064-parent30 {
    display: flex;
    align-items: center;
    gap: 4px;
}

.noun-star-3234064-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.text2 {
    font-size: 15px;
    line-height: 1.9;
    color: var(--home-text-muted);
}

@media (hover: hover) and (pointer: fine) {
    .search:hover {
        background: #161b6d;
        transform: translateY(-1px);
        box-shadow: 0 8px 18px rgba(0, 5, 111, 0.22);
    }

    .city-city-cart:hover {
        transform: translateY(-2px);
        box-shadow: var(--home-shadow-hover-soft);
    }

    .calendar-cancel-1-parent:hover {
        transform: translateY(-2px);
        box-shadow: var(--home-shadow-hover-soft);
    }

    .mx-trip-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--home-shadow-hover-soft);
    }

    .card1:hover {
        transform: translateY(-2px);
        box-shadow: var(--home-shadow-hover-soft);
    }


}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {
    .city-city-1 {
        grid-template-columns: repeat(auto-fit, minmax(180px, 200px));
        justify-content: center;
    }

    .frame-parent5 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mx-trips-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }

    .card-parent {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 992px) {
    .header {
        min-height: 500px;
    }

    .stock-photo-225618327-icon {
        height: 500px;
    }

    .trave-homepage-inner {
        top: 115px;
        max-width: 700px;
    }

    .quick-and-easy {
        font-size: 40px;
    }

    .pick-an-item {
        font-size: 18px;
        line-height: 1.55;
    }
.frame-parent1 {
        top: 320px;
        max-width: calc(100% - 30px);
    }

    .city-city-1 {
        grid-template-columns: repeat(auto-fit, minmax(170px, 200px));
        justify-content: center;
    }

    .mx-trips-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .mx-trips-heading,
    .city-city h2,
    .heading h2,
    .heading1 {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .header {
        min-height: 460px;
    }

    .stock-photo-225618327-icon {
        height: 460px;
    }

    .trave-homepage-inner {
        top: 100px;
        padding: 0 16px;
    }

    .quick-and-easy-travelvego-parent {
        padding: 8px 10px;
        border-radius: 14px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.01));
    }

    .quick-and-easy {
        font-size: 32px;
    }

    .pick-an-item {
        font-size: 16px;
    }



    .frame-parent1 {
        top: 295px;
        max-width: calc(100% - 24px);
        border-radius: 24px;
        flex-direction: column;
        align-items: stretch;
    }

    .search {
        width: 100%;
    }

    .frame-parent5,
    .card-parent,
    .city-city-1,
    .mx-trips-grid {
        grid-template-columns: 1fr;
    }

    .frame-parent3 {
        padding: 36px 14px 34px;
        gap: 30px;
    }

    .city-city,
    .section-title {
        padding: 22px 16px;
    }

    .heading h2,
    .mx-trips-heading,
    .city-city h2,
    .heading1 {
        font-size: 26px;
    }

    .text {
        font-size: 16px;
        line-height: 1.8;
    }
}

@media (max-width: 576px) {
    .header {
        min-height: 430px;
    }

    .stock-photo-225618327-icon {
        height: 430px;
    }

    .trave-homepage-inner {
        top: 85px;
    }

    .quick-and-easy-travelvego-parent {
        padding: 6px 8px;
        border-radius: 12px;
    }

    .quick-and-easy {
        font-size: 27px;
        line-height: 1.25;
    }

    .pick-an-item {
        font-size: 14px;
    }

.frame-parent1 {
        top: 270px;
    }

    .search-1-parent {
        padding: 0 12px;
    }

    .places-to-go input {
        font-size: 16px;
    }

    .city-city-cart img {
        height: 160px;
    }

    .mx-trip-image-wrap {
        height: 210px;
    }

    .mx-trip-title {
        font-size: 18px;
        min-height: auto;
    }

    .mx-trip-content {
        padding: 16px;
    }

    .card1 {
        padding: 18px;
    }

    .frame-parent115 {
        align-items: flex-start;
    }

    .frame-child75 {
        width: 150px;
    }

    .provide-you-well,
    .tahrir-st-bab,
    .git-shops,
    .git-shops a {
        font-size: 14px;
    }
}

