/* Homepage-only refinements for the hero and Services title. */

.travlink-home .travlink-hero {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100vh;
    height: 100svh;
    min-height: 100svh !important;
    margin-bottom: 0;
    overflow: hidden !important;
    padding: 0 !important;
    background-color: transparent !important;
    background-image: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
}

.travlink-home .travlink-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background-color: transparent !important;
    background-image: none !important;
    background-position: center 55% !important;
    background-size: cover !important;
    animation: travlinkHeroImageDrift 22s ease-in-out infinite alternate;
    will-change: transform;
}

.travlink-home .travlink-hero__video,
.travlink-home .travlink-hero__picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.travlink-home .travlink-hero__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
}

.travlink-home .travlink-hero__overlay {
    display: none !important;
    background: transparent !important;
}

@media (max-width: 767.98px) {
    .travlink-home .travlink-hero__image {
        object-position: center center;
    }

    .travlink-home .travlink-hero__overlay {
        display: none !important;
        background: transparent !important;
    }
}

@keyframes travlinkHeroImageDrift {
    from {
        transform: scale(1.02) translate3d(-.4%, 0, 0);
    }

    to {
        transform: scale(1.07) translate3d(.6%, -.5%, 0);
    }
}

.travlink-home .travlink-hero::before {
    background: transparent !important;
}

.travlink-home .travlink-hero::after {
    display: none !important;
}

.travlink-home .travlink-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
}

.travlink-home .travlink-hero__inner>.container {
    width: 100%;
    max-width: 1440px !important;
    padding-right: clamp(20px, 4vw, 64px) !important;
    padding-left: clamp(20px, 4vw, 64px) !important;
    margin-right: auto;
    margin-left: auto;
}

.travlink-home .travlink-hero__inner .row {
    width: 100%;
    margin-right: 0 !important;
    margin-left: 0 !important;
    justify-content: flex-start !important;
}

.travlink-home .travlink-hero__inner .row>[class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.travlink-home .travlink-hero__content {
    display: flex !important;
    width: 100%;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-end !important;
    margin: 0 !important;
    padding: 0 0 clamp(64px, 8.5vh, 104px) 0 !important;
    text-align: left !important;
}

.travlink-home .travlink-hero__title {
    width: 100% !important;
    max-width: min(920px, 85vw) !important;
    margin: 0 !important;
    color: #fff !important;
    font-size: clamp(44px, 4.6vw, 72px) !important;
    font-weight: 800 !important;
    line-height: .94 !important;
    text-align: left !important;
}

.travlink-home .travlink-hero__title .title-blue {
    display: block;
    width: 100%;
    color: #fff !important;
    text-align: left !important;
}

.travlink-home .travlink-hero__title-lead,
.travlink-home .travlink-hero__title-connect {
    display: block;
    text-align: left !important;
}

.travlink-home .travlink-hero__title-connect {
    margin-top: .02em;
    font-size: clamp(82px, 9vw, 146px);
    line-height: .88;
    letter-spacing: -.07em;
    color: #79c7ff !important;
    text-shadow: 0 8px 30px rgba(18, 103, 177, .34);
}

.travlink-home .travlink-hero__meta {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: 24px;
    text-align: left;
}

.travlink-home .travlink-hero__meta .travlink-hero__copy {
    margin: 0 !important;
    font-size: clamp(16px, 1.25vw, 19px) !important;
    line-height: 1.6 !important;
    text-align: left !important;
    color: rgba(255, 255, 255, .92);
    white-space: nowrap;
}

.travlink-home .travlink-hero__explore {
    display: inline-flex;
    min-width: 200px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-left: auto;
    padding: 7px 19px;
    border: 1px solid rgba(255, 255, 255, .68);
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    flex-shrink: 0;
}

.travlink-home .travlink-hero__explore span {
    font-size: 18px;
    line-height: 1;
    transition: transform .25s ease;
}

@media (hover: hover) {
    .travlink-home .travlink-hero__explore:hover {
        background: rgba(255, 255, 255, .14);
        box-shadow: 0 14px 30px rgba(5, 24, 52, .2);
        transform: translateY(-3px);
    }

    .travlink-home .travlink-hero__explore:hover span {
        transform: translateX(4px);
    }
}

.travlink-home .travlink-hero-services {
    position: absolute;
    z-index: 7;
    right: 50%;
    bottom: -48px;
    display: grid;
    width: min(75%, 1376px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(15, 36, 61, .1);
    border-bottom: 0;
    border-radius: 16px 16px 0 0;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 -14px 40px rgba(5, 25, 48, .16);
    transform: translateX(50%);
    animation: travlinkHeroStripIn .75s cubic-bezier(.22, 1, .36, 1) .2s both;
}

@keyframes travlinkHeroStripIn {
    from {
        opacity: 0;
        transform: translate(50%, 18px);
    }

    to {
        opacity: 1;
        transform: translate(50%, 0);
    }
}

.travlink-home .travlink-hero-service {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 96px;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 18px 12px;
    border-right: 1px solid rgba(15, 36, 61, .1);
    color: #173555;
    text-align: center;
    text-decoration: none;
    transition: color .28s ease, background-color .28s ease, box-shadow .28s ease;
}

.travlink-home .travlink-hero-service:last-child {
    border-right: 0;
}

.travlink-home .travlink-hero-service::after {
    position: absolute;
    right: 18px;
    bottom: 0;
    left: 18px;
    height: 3px;
    background: #1769b5;
    content: "";
    opacity: 0;
    transform: scaleX(.35);
    transition: opacity .28s ease, transform .28s ease;
}

.travlink-home .travlink-hero-service i {
    flex: 0 0 auto;
    color: inherit;
    font-size: 22px;
    transition: transform .28s ease;
}

.travlink-home .travlink-hero-service span {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

@media (hover: hover) {
    .travlink-home .travlink-hero-service:hover {
        background: #f3f8fd;
        color: #0e47a1;
        box-shadow: inset 0 0 24px rgba(23, 105, 181, .06);
    }

    .travlink-home .travlink-hero-service:hover::after {
        opacity: 1;
        transform: scaleX(1);
    }

    .travlink-home .travlink-hero-service:hover i {
        transform: translateY(-3px);
    }
}

.travlink-home .travlink-hero__scroll {
    display: none !important;
}

@media (min-width: 992px) {
    .travlink-home .travlink-service-intro__title {
        width: max-content;
        max-width: none;
        white-space: nowrap;
    }
}

/* Match the compact type scale used by the Travel service page on phones. */
@media (max-width: 767.98px) {

    .travlink-home main :is(.travlink-service-intro .travlink-section-heading,
        .travlink-possibilities__heading,
        .travlink-about-showcase .travlink-section-heading,
        .travlink-contact-heading,
        .travlink-destination-banner__quote) {
        font-size: 28px !important;
        line-height: 1.12 !important;
    }

    .travlink-home .travlink-service-intro .travlink-section-heading :is(strong, em) {
        font-size: inherit !important;
    }

    .travlink-home main :is(.travlink-service-intro__copy,
        .travlink-possibilities__subheading,
        .travlink-destination-banner__tagline,
        .travlink-about-showcase__footer p) {
        font-size: 14px !important;
        line-height: 1.55 !important;
    }

    .travlink-home .travlink-service-card__title {
        font-size: 24px !important;
    }

    .travlink-home .travlink-service-card__description {
        font-size: 14px !important;
    }

    .travlink-home .travlink-benefit__content h2,
    .travlink-home .travlink-possibilities__title,
    .travlink-home .travlink-about-showcase__story h3 {
        font-size: 16px !important;
        line-height: 1.25 !important;
    }

    .travlink-home main :is(.travlink-benefit__content p,
        .travlink-possibilities__reveal p,
        .travlink-about-showcase__story p,
        .ca-location-icbox-text :is(a, .travlink-whatsapp-card__copy)) {
        font-size: 13px !important;
        line-height: 1.55 !important;
    }

    .travlink-home .contact-3-area :is(.ca-contact-title-2, label) {
        font-size: 14px !important;
    }

    .travlink-home .contact-3-area :is(input, textarea, select, .nice-select, .travlink-clean-submit) {
        font-size: 13px !important;
    }
}

@media (max-width: 767px) {
    .travlink-home .travlink-hero__media {
        background-position: 62% center !important;
        background-size: cover !important;
    }

    .travlink-home .travlink-hero-services {
        right: 0;
        bottom: -36px;
        width: 100%;
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 10px;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        transform: none;
        animation-name: travlinkHeroStripInMobile;
        -webkit-overflow-scrolling: touch;
    }

    .travlink-home .travlink-hero-services::-webkit-scrollbar {
        display: none;
    }

    .travlink-home .travlink-hero-service {
        min-width: 190px;
        min-height: 72px;
        flex: 0 0 190px;
        gap: 8px;
        padding: 13px 10px;
        scroll-snap-align: start;
    }

    .travlink-home .travlink-hero-service i {
        font-size: 19px;
    }

    .travlink-home .travlink-hero-service span {
        font-size: 13px;
    }

    .travlink-home .travlink-service-intro__title {
        width: auto;
        max-width: 100%;
        white-space: normal;
    }
}

/* Homepage contact: form on the left, direct contact options on the right. */
.travlink-home .travlink-contact-layout {
    width: min(100%, 1160px);
    margin-inline: auto;
}

.travlink-home .travlink-contact-layout>[class*="col-"] {
    display: flex;
}

.travlink-home .travlink-contact-layout .ca-contact-from {
    width: 100%;
    height: 100%;
    padding: 34px;
    border: 1px solid rgba(29, 99, 184, .14);
    border-radius: 18px;
    background: rgba(255, 255, 255, .94) !important;
    box-shadow: 0 22px 55px rgba(18, 60, 106, .1);
}

.travlink-home .travlink-contact-layout>.col-lg-5>.row {
    width: 100%;
    align-content: center;
}

.travlink-home .travlink-contact-layout .ca-form-loca-3,
.travlink-home .travlink-contact-layout .ca-location-3,
.travlink-home .travlink-contact-layout .ca-location-icbox {
    height: 100%;
}

.travlink-home .travlink-contact-layout .ca-location-icbox {
    min-height: 156px;
    padding: 28px;
    border: 1px solid rgba(29, 99, 184, .14);
    border-radius: 16px;
    background: rgba(255, 255, 255, .94) !important;
    box-shadow: 0 18px 44px rgba(18, 60, 106, .09);
}

.travlink-home .travlink-contact-layout .ca-location-icbox-img span {
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border-radius: 50%;
    background: #e8f1ff;
}

.travlink-home .travlink-contact-layout .ca-location-icbox-img {
    margin-right: 18px;
}

.travlink-home .travlink-contact-layout .ca-location-icbox:hover {
    border-color: #1d63b8;
    background: #1d63b8 !important;
}

@media (max-width: 991.98px) {
    .travlink-home .travlink-contact-layout>.col-lg-5 {
        margin-top: 8px;
    }
}

@media (max-width: 767.98px) {
    .travlink-home .travlink-contact-layout .ca-contact-from {
        padding: 24px 20px;
    }

    .travlink-home .travlink-contact-layout .ca-location-icbox {
        min-height: 118px;
        padding: 20px;
    }
}

@keyframes travlinkHeroStripInMobile {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .travlink-home .travlink-hero-services {
        animation: none;
    }

    .travlink-home .travlink-hero__media {
        animation: none;
        transform: none;
    }

    .travlink-home .travlink-hero__video {
        display: block;
    }
}

/* Lower-left editorial hero composition. */
@media (min-width: 768px) {
    .travlink-home .travlink-hero__content {
        max-width: none !important;
        align-items: flex-start !important;
        justify-content: flex-end !important;
        padding: 0 clamp(24px, 4vw, 80px) clamp(64px, 8.5vh, 104px) !important;
        text-align: left !important;
    }

    .travlink-home .travlink-hero__title {
        width: min(920px, 76vw) !important;
        max-width: min(920px, 76vw) !important;
        margin: 0 !important;
        font-size: clamp(44px, 4.6vw, 72px) !important;
        line-height: .94 !important;
        text-align: left !important;
    }

    .travlink-home .travlink-hero__title .title-blue {
        text-align: left !important;
    }

    .travlink-home .travlink-hero__title-lead,
    .travlink-home .travlink-hero__title-connect {
        display: block;
        text-align: left !important;
    }

    .travlink-home .travlink-hero__title-connect {
        margin-top: .02em;
        font-size: clamp(82px, 9vw, 146px);
        line-height: .88;
        letter-spacing: -.07em;
    }

    .travlink-home .travlink-hero__copy {
        max-width: none !important;
        margin: 0 !important;
        font-size: clamp(16px, 1.25vw, 19px) !important;
        white-space: nowrap;
        text-align: left !important;
    }
}

@media (max-width: 767.98px) {
    .travlink-home .travlink-hero {
        height: 100vh !important;
        height: 100svh !important;
        height: 100dvh !important;
        min-height: 100vh !important;
        min-height: 100svh !important;
        min-height: 100dvh !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
    }

    .travlink-home .travlink-hero__inner>.container {
        padding-right: 20px !important;
        padding-left: 20px !important;
    }

    .travlink-home .travlink-hero__content {
        min-height: auto !important;
        padding: 0 0 clamp(32px, 5vh, 48px) 0 !important;
        align-items: flex-start !important;
        justify-content: flex-end !important;
        text-align: left !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .travlink-home .travlink-hero__title {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: clamp(28px, 8vw, 38px) !important;
        line-height: 1.02 !important;
        letter-spacing: -.03em !important;
        text-align: left !important;
        white-space: normal !important;
    }

    .travlink-home .travlink-hero__title .title-blue {
        text-align: left !important;
        display: block;
    }

    .travlink-home .travlink-hero__title-lead {
        display: block;
        font-size: clamp(24px, 7vw, 34px) !important;
        line-height: 1.05 !important;
        text-align: left !important;
    }

    .travlink-home .travlink-hero__title-connect {
        display: block;
        margin-top: .04em;
        font-size: clamp(52px, 15vw, 76px) !important;
        line-height: .9 !important;
        letter-spacing: -.06em !important;
        text-align: left !important;
    }

    .travlink-home .travlink-hero__meta {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        text-align: left !important;
        width: 100% !important;
        margin-top: 14px !important;
        gap: 16px !important;
    }

    .travlink-home .travlink-hero__meta .travlink-hero__copy {
        max-width: 320px !important;
        margin: 0 !important;
        font-size: clamp(13px, 3.8vw, 15px) !important;
        line-height: 1.5 !important;
        text-align: left !important;
        white-space: normal !important;
    }

    .travlink-home .travlink-hero__explore {
        min-width: 180px;
        min-height: 38px;
        margin-left: 0 !important;
        margin-right: auto !important;
        align-self: flex-start !important;
        padding: 6px 18px;
        font-size: 11px;
    }
}

/* Hero accent and reference-style divider. */
.travlink-home .travlink-hero__title-connect {
    color: #79c7ff !important;
    text-shadow: 0 8px 30px rgba(18, 103, 177, .34);
}

.travlink-home .travlink-hero__content::after {
    display: none;
    content: none;
}

/* One-line gaps within the possibilities introduction. */
.travlink-home .travlink-possibilities__heading,
.travlink-home .travlink-possibilities__subheading {
    margin-bottom: 1rem;
}

.travlink-home .travlink-possibilities__header {
    margin-bottom: 2rem !important;
}



/* Keep the Contact heading as one balanced desktop line. */
@media (min-width: 992px) {
    .travlink-home .contact-3-area .travlink-contact-heading {
        width: max-content;
        max-width: 100%;
        margin-right: auto;
        margin-left: auto;
        font-size: clamp(34px, 2.8vw, 40px) !important;
        white-space: nowrap;
    }
}

/* Reduce excessive bottom padding in contact section on mobile */
@media (max-width: 767px) {
    .travlink-home .contact-3-area {
        padding-bottom: 20px !important;
    }

    .travlink-home .contact-design-element {
        margin-bottom: 0 !important;
    }
}