/* Keep the menu keyboard controls visible against the dark panel. */
button.mobile-nav__close {
    border: 0;
    background: transparent;
    color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
    .page-header__inner {
        animation: page-header-enter 420ms ease-out both;
    }

    @keyframes page-header-enter {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-header__inner,
    .page-header__bg,
    .thm-btn {
        animation: none;
        transition: none;
    }

    html { scroll-behavior: auto !important; }
}

.page-header__bg--responsive {
    background-image: var(--banner-desktop);
}

.homepage-hero .main-slider-two__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgb(12 15 23 / 76%), transparent 92%);
    opacity: 1;
    transform: none;
}

.homepage-hero .swiper-container:not(.swiper-container-initialized) .swiper-slide:first-child
:is(.main-slider-two__title, .main-slider-two__text) {
    opacity: 1;
    transform: none;
}

button.mobile-nav__close {
    min-width: 44px;
    min-height: 44px;
}

@media (max-width: 767px) {
    .page-header__bg--responsive {
        background-image: var(--banner-mobile);
    }

    .homepage-hero .main-slider-two__title {
        font-size: clamp(2rem, 7vw, 2.75rem);
        line-height: 1.12;
        overflow-wrap: break-word;
    }

    .homepage-hero .main-slider-two__text br {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .homepage-hero .swiper-slide-active
    :is(.main-slider-two__bg, .main-slider-two__title, .main-slider-two__text),
    .mobile-nav__wrapper,
    .mobile-nav__wrapper.expanded,
    .mobile-nav__wrapper .mobile-nav__content {
        animation: none;
        transition: none;
        transition-delay: 0s;
    }
}

/* Retain the heading typography for short interface labels. */
p.main-slider-two__social-title,
p.contact-one__input-title {
    font-family: var(--techguru-font-two);
}

.site-skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2147483647;
    transform: translateY(-200%);
    padding: 0.65rem 1rem;
    border-radius: 0.35rem;
    color: #102018;
    background: #fff;
}

.site-skip-link:focus {
    transform: none;
    color: #102018;
}

#main-content {
    scroll-margin-top: 7rem;
}

.homepage-hero .main-slider-two__nav button {
    min-width: 44px;
    min-height: 44px;
    font: inherit;
}

.site-visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

button.navSidebar-button {
    background: transparent;
}

.sliding-text-three .sliding-text-three__list {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem 0;
    margin-bottom: 0;
}

.sliding-text-three .sliding-text-three__title {
    margin: 0 0.75rem;
    font-size: clamp(0.875rem, 1.4vw, 1.25rem);
}

.thm-btn,
.pricing-two__btn {
    background: linear-gradient(135deg, #176b38, #216c57);
    color: #fff;
}

.thm-btn:focus-visible,
.pricing-two__btn:focus-visible {
    outline: 2px solid #fff !important;
    outline-offset: 3px;
    box-shadow: 0 0 0 5px #176b38;
}

.homepage-hero .swiper-slide { isolation: isolate; }
.homepage-hero .main-slider-two__bg { z-index: 0; }
.homepage-hero .brand-two { position: relative; }
.homepage-hero .brand-two__carousel:not(.owl-loaded) {
    display: flex;
    align-items: center;
    gap: 1rem;
    overflow: hidden;
}
.homepage-hero .brand-two__carousel:not(.owl-loaded) > .item {
    flex: 0 0 115px;
}
.homepage-hero .swiper-container:not(.swiper-container-initialized) .swiper-slide:not(:first-child) {
    display: none;
}
.homepage-hero .swiper-container:not(.swiper-container-initialized) .swiper-slide:first-child
:is(.main-slider-two__sub-title-box, .main-slider-two__btns-box) {
    opacity: 1;
    transform: none;
}

.site-enquiry { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: 4.5rem; z-index: 90; max-width: calc(100vw - 2rem); color: #edfff4; font-size: 15px; line-height: 1.45; }
.site-enquiry__launch { list-style: none; display: flex; align-items: center; gap: .55rem; width: fit-content; margin-left: auto; cursor: pointer; padding: .76rem 1rem; border: 1px solid #4fa775; border-radius: 999px; background: #176b38; color: #fff; font-weight: 650; box-shadow: 0 8px 24px #0005; }
.site-enquiry__launch::-webkit-details-marker { display: none; }
.site-enquiry__panel { margin-top: .65rem; width: min(24rem, calc(100vw - 2rem)); max-height: min(38rem, calc(100dvh - 9rem)); display: flex; flex-direction: column; border: 1px solid #39664d; border-radius: 1.05rem; overflow: hidden; background: #102c20; box-shadow: 0 18px 55px #0008; }
.site-enquiry[open] .site-enquiry__launch { background: #102c20; }
.site-enquiry__header { flex: none; display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; background: #0b2118; border-bottom: 1px solid #39664d; }
.site-enquiry__header p { margin: 0; color: #b0d4bd; font-size: .82rem; }
.site-enquiry__mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: .7rem; color: #0b2118; background: #80dfa1; font-weight: 800; }
.site-enquiry__close { margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: .5rem; background: transparent; color: #fff; font: inherit; font-size: 1.6rem; }
.site-enquiry__body { overflow: auto; padding: 1rem; overscroll-behavior: contain; }
.site-enquiry__body h2 { color: #fff; font: inherit; font-size: 1.16rem; font-weight: 700; margin: 0 0 .25rem; }
.site-enquiry__body p { margin: 0 0 .55rem; }
.site-enquiry__body form { display: grid; gap: .55rem; margin: .75rem 0 0; }
.site-enquiry__body label { display: grid; gap: .25rem; font-weight: 550; }
.site-enquiry__body :is(input, textarea) { box-sizing: border-box; width: 100%; padding: .55rem .65rem; border: 1px solid #527661; border-radius: .55rem; background: #143a2a; color: #fff; font: inherit; }
.site-enquiry__body textarea { resize: vertical; }
.site-enquiry__body ::placeholder { color: #b5d0c1; opacity: 1; }
.site-enquiry__body a { color: #b9ffd2; text-decoration: underline; }
.site-enquiry__privacy, .site-enquiry__body small { color: #c2ddcc; font-size: .8rem; }
.site-enquiry__body button:disabled { opacity: .7; cursor: wait; }
.site-enquiry__body [role="status"]:not(:empty) { margin: .65rem 0 0; }
.site-enquiry__messages { display: grid; gap: .45rem; max-height: 14rem; overflow: auto; }
p.site-enquiry__message { width: fit-content; max-width: 90%; padding: .55rem .75rem; margin: 0; border-radius: .75rem; background: #234d38; white-space: pre-wrap; overflow-wrap: anywhere; }
p.site-enquiry__message--visitor { justify-self: end; background: #176b38; }
.site-enquiry__body input:autofill {
    box-shadow: 0 0 0 100px #143a2a inset;
    -webkit-text-fill-color: #fff;
}
