/* ==========================================================================
   NEXORA TECH SOLUTIONS — BRAND THEME
   Palette derived from the Nexora logo (deep navy + metallic teal + champagne)
   ========================================================================== */

:root,
body,
body.theme-blue4,
body.theme-blue6,
body.theme-blue1,
body.theme-blue2,
body.theme-blue3,
body.theme-blue5 {
    /* Core brand palette */
    --nexora-navy:        #0a2540;
    --nexora-navy-deep:   #061a30;
    --nexora-navy-soft:   #14365c;
    --nexora-teal:        #1ec8e0;
    --nexora-teal-deep:   #1389a6;
    --nexora-sky:         #4fb3ff;
    --nexora-champagne:   #d4b876;
    --nexora-gold:        #b8932f;
    --nexora-cloud:       #f4f7fb;
    --nexora-mist:        #eaf0f7;
    --nexora-ink:         #0e1a2b;
    --nexora-muted:       #5a6a82;

    /* Brand gradient (logo swirl) */
    --nexora-gradient: linear-gradient(135deg,
        #0a2540 0%,
        #14365c 30%,
        #1389a6 55%,
        #1ec8e0 75%,
        #d4b876 100%);

    /* Theme overrides — these are the variables the existing stylesheet uses */
    --theme-color:        #1389a6 !important;
    --title-color:        #0a2540 !important;
    --body-color:         #5a6a82 !important;
    --smoke-color:        #f4f7fb !important;
    --smoke-color2:       #eaf0f7 !important;
    --white-color:        #ffffff !important;
    --black-color:        #0a2540 !important;
    --light-color:        #5a6a82 !important;
    --yellow-color:       #d4b876 !important;
    --success-color:      #2bb673 !important;
    --error-color:        #d64545 !important;
    --th-border-color:    #d8e0ec !important;
}

/* ==========================================================================
   BASE TYPOGRAPHY & SURFACES
   ========================================================================== */

body {
    background-color: #ffffff !important;
    color: var(--nexora-muted) !important;
    font-family: 'Roboto', 'Barlow', sans-serif;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.title, .sec-title, .box-title, .blog-title, .service-box_title {
    color: var(--nexora-navy) !important;
    font-family: 'Barlow', sans-serif;
    letter-spacing: -0.01em;
}

a {
    color: var(--nexora-teal-deep);
    transition: color .25s ease;
}
a:hover {
    color: var(--nexora-navy) !important;
}

.sec-title { font-weight: 700; }
.sub-title,
.sec-title .text-theme,
.sub-title .text-theme {
    color: var(--nexora-teal-deep) !important;
}
.text-theme {
    color: var(--nexora-teal-deep) !important;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.th-btn,
.btn-style,
button.th-btn,
input[type="submit"].th-btn {
    background-color: var(--nexora-navy) !important;
    color: #ffffff !important;
    border: 1px solid var(--nexora-navy) !important;
    border-radius: 8px !important;
    font-weight: 600;
    letter-spacing: .02em;
    box-shadow: 0 10px 28px -14px rgba(10, 37, 64, .55);
    transition: all .35s ease;
}
.th-btn:hover,
.btn-style:hover,
button.th-btn:hover {
    background: var(--nexora-gradient) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    transform: translateY(-2px);
    box-shadow: 0 18px 38px -16px rgba(19, 137, 166, .55);
}
.th-btn::before,
.th-btn::after {
    background-color: var(--nexora-teal-deep) !important;
}

.th-btn.style2,
.th-btn.style3 {
    background: var(--nexora-teal-deep) !important;
    border-color: var(--nexora-teal-deep) !important;
}
.th-btn.style2:hover,
.th-btn.style3:hover {
    background: var(--nexora-navy) !important;
    border-color: var(--nexora-navy) !important;
}

/* Outline / ghost variants */
.th-btn.style-border,
.th-btn.style-border2 {
    background: transparent !important;
    color: var(--nexora-navy) !important;
    border: 2px solid var(--nexora-navy) !important;
}
.th-btn.style-border:hover {
    background: var(--nexora-navy) !important;
    color: #ffffff !important;
}

.icon-btn {
    background-color: var(--nexora-mist) !important;
    color: var(--nexora-navy) !important;
    border: 1px solid var(--nexora-mist) !important;
}
.icon-btn:hover {
    background-color: var(--nexora-navy) !important;
    color: #ffffff !important;
}
.icon-btn .badge {
    background-color: var(--nexora-teal-deep) !important;
    color: #fff !important;
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */

.th-header,
.header-layout1,
.header-layout2,
.header-layout3 {
    background-color: #ffffff !important;
    border-bottom: 1px solid rgba(10, 37, 64, .06);
    box-shadow: 0 6px 30px -25px rgba(10, 37, 64, .4);
}

.header-top {
    background: var(--nexora-navy) !important;
    color: #ffffff;
}
.header-top a,
.header-top li,
.header-top i {
    color: #ffffff !important;
}
.header-top a:hover {
    color: var(--nexora-teal) !important;
}

.main-menu ul li > a {
    color: var(--nexora-navy) !important;
    font-weight: 600;
}
.main-menu ul li > a:hover,
.main-menu ul li.current-menu-item > a,
.main-menu ul li.active > a {
    color: var(--nexora-teal-deep) !important;
}

.main-menu ul.sub-menu {
    background: #ffffff !important;
    border-top: 3px solid var(--nexora-teal-deep) !important;
    box-shadow: 0 20px 50px -22px rgba(10, 37, 64, .35) !important;
}
.main-menu ul.sub-menu li a {
    color: var(--nexora-navy) !important;
}
.main-menu ul.sub-menu li a:hover {
    color: var(--nexora-teal-deep) !important;
}

.menu-area { background-color: #ffffff !important; }

/* ==========================================================================
   SECTIONS
   ========================================================================== */

.bg-smoke,
.bg-smoke-color,
.gray-bg,
section.bg-smoke {
    background-color: var(--nexora-cloud) !important;
}

.bg-theme,
.background-image[data-bg-color="theme"] {
    background-color: var(--nexora-teal-deep) !important;
}

.bg-title,
.bg-dark,
.bg-black {
    background-color: var(--nexora-navy) !important;
    color: #ffffff;
}

.breadcumb-wrapper,
.breadcrumb-wrap,
.breadcrumb-area {
    background: var(--nexora-gradient) !important;
    position: relative;
}
.breadcumb-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 26, 48, .55), rgba(6, 26, 48, .85));
    z-index: 0;
}
.breadcumb-wrapper > .container,
.breadcumb-wrapper > * {
    position: relative;
    z-index: 1;
}
.breadcumb-wrapper .breadcumb-title,
.breadcumb-wrapper .breadcumb-menu li,
.breadcumb-wrapper .breadcumb-menu li a {
    color: #ffffff !important;
}

/* ==========================================================================
   CARDS / BOXES / SERVICES
   ========================================================================== */

.service-box,
.service-card,
.feature-card,
.process-card,
.team-card,
.blog-card,
.pricing-box,
.contact-feature {
    background-color: #ffffff !important;
    border: 1px solid #e6ecf4 !important;
    border-radius: 14px !important;
    box-shadow: 0 18px 40px -28px rgba(10, 37, 64, .35);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.service-box:hover,
.service-card:hover,
.feature-card:hover,
.process-card:hover,
.team-card:hover,
.blog-card:hover,
.pricing-box:hover {
    transform: translateY(-6px);
    border-color: var(--nexora-teal) !important;
    box-shadow: 0 28px 50px -22px rgba(19, 137, 166, .35);
}

.service-box .box-icon,
.service-card .box-icon,
.feature-card .box-icon {
    color: var(--nexora-teal-deep) !important;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer-wrapper,
.footer-layout1,
.footer-layout2,
.footer-layout3,
footer.footer-wrapper {
    background: var(--nexora-navy-deep) !important;
    color: #c8d2e3 !important;
}
.footer-wrapper * { color: #c8d2e3; }
.footer-wrapper a:hover { color: var(--nexora-teal) !important; }
.footer-wrapper h1, .footer-wrapper h2, .footer-wrapper h3,
.footer-wrapper h4, .footer-wrapper h5, .footer-wrapper h6,
.footer-wrapper .widget_title {
    color: #ffffff !important;
}
.footer-wrapper .widget_title::after,
.footer-wrapper .widget_title::before {
    background: var(--nexora-teal) !important;
}
.copyright-wrap,
.footer-copyright {
    background-color: #04101e !important;
    color: #c8d2e3 !important;
}

/* ==========================================================================
   FOOTER — column alignment + spacing
   Apply to every footer-layout (the Elementor IDs differ per page but the
   structure is identical: 4 columns of 25% each)
   ========================================================================== */

footer .footer-wrapper,
footer.footer-wrapper {
    padding: 80px 0 0 !important;
}

footer .elementor-section.footer-wrapper > .elementor-container,
footer .footer-wrapper > .elementor-container {
    max-width: 1320px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
}

/* The 4-column row */
footer .footer-wrapper .elementor-container .elementor-row,
footer .footer-wrapper .elementor-container > .elementor-column > .elementor-widget-wrap > section:not(.copyright-wrap) > .elementor-container {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    gap: 40px 24px !important;
}

footer .footer-wrapper .elementor-col-25 {
    flex: 1 1 240px !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: auto !important;
}

footer .footer-wrapper .elementor-widget-wrap {
    align-content: flex-start !important;
}

/* Widget title — accent bar */
.footer-wrapper .widget_title,
.footer-wrapper .footer-widget .widget_title {
    font-family: 'Barlow', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    margin: 0 0 22px !important;
    padding-bottom: 12px !important;
    position: relative;
    color: #ffffff !important;
}
.footer-wrapper .widget_title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 38px;
    height: 2px;
    background: var(--nexora-teal) !important;
    border-radius: 2px;
}

/* About-text spacing */
.footer-wrapper .th-widget-about .about-text {
    line-height: 1.7 !important;
    font-size: 14px !important;
    margin: 0 0 18px !important;
    color: #c8d2e3 !important;
}

/* Quick Links + IT Services lists */
.footer-wrapper .footer-widget .webteck-menu,
.footer-wrapper .footer-widget .menu-all-pages-container ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.footer-wrapper .footer-widget .webteck-menu li,
.footer-wrapper .footer-widget .menu-all-pages-container li {
    padding: 7px 0 !important;
    border: 0 !important;
}
.footer-wrapper .footer-widget .webteck-menu li a,
.footer-wrapper .footer-widget .menu-all-pages-container a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #c8d2e3 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: color .25s ease, transform .25s ease, padding-left .25s ease !important;
    position: relative;
}
.footer-wrapper .footer-widget .webteck-menu li a::before,
.footer-wrapper .footer-widget .menu-all-pages-container a::before {
    content: "\f105"; /* fa-angle-right */
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free", FontAwesome;
    font-weight: 900;
    color: var(--nexora-teal);
    font-size: 12px;
    transition: transform .25s ease;
}
.footer-wrapper .footer-widget .webteck-menu li a:hover,
.footer-wrapper .footer-widget .menu-all-pages-container a:hover {
    color: var(--nexora-teal) !important;
    padding-left: 4px !important;
}
.footer-wrapper .footer-widget .webteck-menu li a:hover::before {
    transform: translateX(2px);
}

/* Recent posts column */
.footer-wrapper .recent-post-wrap { display: flex; flex-direction: column; gap: 14px; }
.footer-wrapper .recent-post {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}
.footer-wrapper .recent-post .media-img {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
}
.footer-wrapper .recent-post .media-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.footer-wrapper .recent-post .post-title {
    margin: 0 0 4px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}
.footer-wrapper .recent-post .post-title a { color: #ffffff !important; }
.footer-wrapper .recent-post .post-title a:hover { color: var(--nexora-teal) !important; }
.footer-wrapper .recent-post-meta a {
    color: #8a9bb5 !important;
    font-size: 12px !important;
    text-decoration: none;
}
.footer-wrapper .recent-post-meta i { margin-right: 5px; color: var(--nexora-teal); }

/* Copyright bar */
.copyright-wrap,
.footer-copyright,
section.copyright-wrap {
    margin-top: 60px !important;
    padding: 22px 24px !important;
    border-top: 1px solid rgba(255, 255, 255, .06) !important;
    background-color: #04101e !important;
}
.copyright-wrap > .elementor-container {
    max-width: 1320px !important;
    margin: 0 auto !important;
}
.copyright-text {
    margin: 0 !important;
    font-size: 13px !important;
    color: #8a9bb5 !important;
}
.copyright-text a {
    color: var(--nexora-teal) !important;
    text-decoration: none !important;
}

/* About column social row — flush below the text */
.footer-wrapper .th-social {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}
.footer-wrapper .th-social a {
    width: 36px;
    height: 36px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    color: #c8d2e3 !important;
    font-size: 13px;
    transition: background .25s ease, color .25s ease, transform .25s ease;
    text-decoration: none !important;
}
.footer-wrapper .th-social a:hover {
    background: var(--nexora-teal);
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* ---------- responsive collapse ---------- */
@media (max-width: 1199px) {
    footer .footer-wrapper .elementor-col-25 { flex: 1 1 calc(50% - 24px) !important; }
}
@media (max-width: 767px) {
    footer .footer-wrapper { padding-top: 56px !important; }
    footer .footer-wrapper .elementor-col-25 { flex: 1 1 100% !important; }
    footer .footer-wrapper .elementor-container .elementor-row,
    footer .footer-wrapper .elementor-container > .elementor-column > .elementor-widget-wrap > section:not(.copyright-wrap) > .elementor-container {
        gap: 36px 0 !important;
    }
    .copyright-wrap > .elementor-container { padding: 0 !important; text-align: center; }
    .copyright-wrap .elementor-col-50 { width: 100% !important; flex: 1 1 100% !important; }
}

/* ==========================================================================
   APPOINTMENT FORM (contact-us)
   ========================================================================== */

.nexora-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.nexora-form-status {
    margin-top: 16px;
    padding: 0;
    font-size: 14px;
    line-height: 1.5;
    min-height: 1.5em;
}
.nexora-form-status.success {
    color: #1f7a4e;
    background: rgba(43, 182, 115, .1);
    border-left: 3px solid #2bb673;
    padding: 12px 16px;
    border-radius: 6px;
}
.nexora-form-status.error {
    color: #b3322b;
    background: rgba(214, 69, 69, .08);
    border-left: 3px solid #d64545;
    padding: 12px 16px;
    border-radius: 6px;
}

.nexora-appt-form .form-control,
.nexora-appt-form .form-select {
    background: #ffffff;
    border: 1px solid #d8e0ec;
    border-radius: 8px;
    color: var(--nexora-navy);
    padding: 14px 16px;
    font-size: 14px;
    width: 100%;
    transition: border-color .25s ease, box-shadow .25s ease;
}
.nexora-appt-form .form-control:focus,
.nexora-appt-form .form-select:focus {
    border-color: var(--nexora-teal-deep);
    box-shadow: 0 0 0 3px rgba(30, 200, 224, .15);
    outline: none;
}
.nexora-appt-form textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.nexora-btn-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 8px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: #ffffff;
    animation: nexora-spin 0.8s linear infinite;
    vertical-align: -2px;
}

/* Footer brand logo (sits above "About Company" heading) */
.nexora-footer-logo {
    display: inline-block;
    margin-bottom: 22px;
    line-height: 0;
}
.nexora-footer-logo img {
    width: 200px;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 14px rgba(30, 200, 224, .15));
    transition: transform .35s ease, filter .35s ease;
}
.nexora-footer-logo:hover img {
    transform: translateY(-2px);
    filter: drop-shadow(0 0 22px rgba(30, 200, 224, .35));
}
@media (max-width: 767px) {
    .nexora-footer-logo img { width: 200px; }
    .nexora-footer-logo { margin-bottom: 16px; }
}
.copyright-text { color: #c8d2e3 !important; }
.copyright-text a { color: var(--nexora-teal) !important; }

/* ==========================================================================
   FORMS
   ========================================================================== */

.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="search"],
input[type="url"],
input[type="number"],
textarea,
select {
    background-color: #ffffff !important;
    border: 1px solid #d8e0ec !important;
    color: var(--nexora-navy) !important;
    border-radius: 8px !important;
    transition: border-color .25s ease, box-shadow .25s ease;
}
.form-control:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: var(--nexora-teal-deep) !important;
    box-shadow: 0 0 0 3px rgba(30, 200, 224, .15) !important;
    outline: none !important;
}

/* ==========================================================================
   SCROLLBAR / MISC ACCENTS
   ========================================================================== */

::selection {
    background: var(--nexora-teal-deep);
    color: #ffffff;
}

.scroll-top {
    background-color: #ffffff !important;
    border: 2px solid var(--nexora-teal-deep) !important;
}
.scroll-top::after { color: var(--nexora-teal-deep) !important; }
.scroll-top svg.progress-circle path { stroke: var(--nexora-teal-deep) !important; }

.cursor,
.cursor2 {
    border-color: var(--nexora-teal-deep) !important;
    background-color: var(--nexora-teal-deep);
}

/* ==========================================================================
   PRELOADER — NEXORA BRAND VERSION
   - Real logo on top
   - Spinning brand ring
   - Animating "NEXORA" letters
   - "TECH SOLUTIONS" forced onto its own line
   ========================================================================== */

/* Keep the preloader visible until translation has rendered (or timeout).
   The class is added by language.js at parse time. */
html.nexora-preloader-hold body { overflow: hidden !important; }
html.nexora-preloader-hold #preloader.preloader,
html.nexora-preloader-hold .preloader {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

#preloader.preloader,
.preloader {
    background: radial-gradient(ellipse at center, #0a2540 0%, #04101e 70%, #020812 100%) !important;
    z-index: 99999 !important;
    position: fixed !important;
    inset: 0;
}

#preloader .preloaderCls {
    position: absolute;
    bottom: 36px;
    right: 36px;
    background: rgba(255, 255, 255, .08) !important;
    border: 1px solid rgba(255, 255, 255, .2) !important;
    color: #ffffff !important;
    backdrop-filter: blur(8px);
    border-radius: 8px !important;
    padding: 10px 22px !important;
    font-size: 12px !important;
    letter-spacing: .5px;
    z-index: 2;
}

#preloader #loader.th-preloader {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

#preloader .animation-preloader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    position: relative;
    padding: 24px;
}

/* === Spinning brand ring (top of preloader) ====================== */
#preloader .animation-preloader::after {
    content: "";
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background:
        conic-gradient(from 0deg,
            #1ec8e0 0deg,
            #4fb3ff 90deg,
            #d4b876 180deg,
            #1389a6 270deg,
            #1ec8e0 360deg);
    -webkit-mask: radial-gradient(circle, transparent 22px, #000 24px, #000 30px, transparent 32px);
            mask: radial-gradient(circle, transparent 22px, #000 24px, #000 30px, transparent 32px);
    animation: nexora-spin 1.8s linear infinite;
    filter: drop-shadow(0 0 12px rgba(30, 200, 224, .55));
}

/* === NEXORA letters ============================================== */
#preloader .txt-loading {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    perspective: 600px;
    max-width: 480px;
}

#preloader .txt-loading .characters {
    font-family: 'Barlow', 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 36px;
    letter-spacing: 6px;
    background: linear-gradient(135deg, #ffffff 0%, #1ec8e0 45%, #d4b876 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    opacity: 0;
    animation: nexora-fade 1.6s ease-in-out infinite;
}
#preloader .txt-loading .characters:nth-child(1){ animation-delay: 0s; }
#preloader .txt-loading .characters:nth-child(2){ animation-delay: .12s; }
#preloader .txt-loading .characters:nth-child(3){ animation-delay: .24s; }
#preloader .txt-loading .characters:nth-child(4){ animation-delay: .36s; }
#preloader .txt-loading .characters:nth-child(5){ animation-delay: .48s; }
#preloader .txt-loading .characters:nth-child(6){ animation-delay: .60s; }

/* === "TECH SOLUTIONS" — sits right under NEXORA, tight spacing == */
#preloader .txt-loading::after {
    content: "TECH SOLUTIONS";
    flex-basis: 100%;          /* breaks to a new flex line */
    width: 100%;
    display: block;
    margin-top: 2px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 7px;
    color: rgba(255, 255, 255, .7);
    text-indent: 7px;          /* compensate for trailing letter-spacing */
}

@keyframes nexora-spin {
    to { transform: rotate(360deg); }
}
@keyframes nexora-fade {
    0%, 100% { opacity: .15; transform: translateY(0); }
    50%      { opacity: 1;   transform: translateY(-4px); }
}
/* Override prior preloader text colors that may exist */
#preloader [class*="loading"] *,
.preloader [class*="loading"] * {
    color: inherit !important;
}

@media (max-width: 600px) {
    #preloader .txt-loading .characters {
        font-size: 28px;
        letter-spacing: 4px;
    }
    #preloader .txt-loading::after {
        font-size: 10px;
        letter-spacing: 5px;
        text-indent: 5px;
        margin-top: 2px;
    }
    #preloader .animation-preloader { gap: 16px; padding: 16px; }
    #preloader .animation-preloader::after { width: 50px; height: 50px; }
}

/* ==========================================================================
   "Translating…" indicator (shown while we reload to swap language)
   ========================================================================== */

#nexora-translating {
    position: fixed;
    inset: 0;
    background: rgba(4, 16, 30, .55);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
}
#nexora-translating.is-visible {
    opacity: 1;
    visibility: visible;
}
.nexora-translating-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 22px 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 24px 60px -20px rgba(10, 37, 64, .55);
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--nexora-navy);
}
.nexora-translating-spinner {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 3px solid #e6ecf4;
    border-top-color: var(--nexora-teal-deep);
    animation: nexora-spin 0.8s linear infinite;
}

/* ==========================================================================
   REMOVE HEADER SEARCH + CART (site-wide)
   ========================================================================== */

.header-button .searchBoxToggler,
.header-button .sideMenuToggler,
.header-button .icon-btn,
button.searchBoxToggler,
button.sideMenuToggler,
.popup-search-box,
.sidemenu-wrapper {
    display: none !important;
}

/* Keep the spacing tidy where icons used to sit */
.header-button {
    gap: 14px;
    display: inline-flex;
    align-items: center;
}

/* ==========================================================================
   LANGUAGE SELECTOR — shared styles (injected on every page)
   Sized to match .th-btn (Get Quote)
   ========================================================================== */

.nexora-lang-wrap,
.language-dropdown {
    display: inline-flex;
    align-items: center;
    position: relative;
    font-family: 'Roboto', sans-serif;
}

.nexora-lang-btn,
.language-dropdown .language-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    /* Match .th-btn height: padding 20.5px + line-height 14 + padding 20.5 ≈ 55px */
    height: 56px !important;
    min-width: 180px !important;
    padding: 0 18px !important;
    background: var(--nexora-navy) !important;
    color: #ffffff !important;
    border: 1px solid var(--nexora-navy) !important;
    border-radius: 4px !important;       /* Match .th-btn radius */
    cursor: pointer;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: .3px !important;
    text-transform: none !important;
    transition: all .3s ease !important;
    box-shadow: 0 10px 26px -14px rgba(10, 37, 64, .45) !important;
    backdrop-filter: none !important;
}
.nexora-lang-btn:hover,
.language-dropdown .language-button:hover {
    background: var(--nexora-teal-deep) !important;
    border-color: var(--nexora-teal-deep) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 16px 32px -14px rgba(19, 137, 166, .55) !important;
}
.nexora-lang-btn img,
.language-dropdown .language-button img,
.language-dropdown .language-left img {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}
.nexora-lang-btn i,
.language-dropdown .language-button i {
    font-size: 11px !important;
    margin-left: 2px;
    transition: transform .25s ease;
}
.nexora-lang-wrap.is-open .nexora-lang-btn i { transform: rotate(180deg); }

/* Dropdown menu */
.nexora-lang-menu,
.language-dropdown .language-menu {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    left: auto !important;
    min-width: 220px !important;
    background: #ffffff !important;
    border: 1px solid #e6ecf4 !important;
    border-radius: 12px !important;
    padding: 8px !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .25s ease !important;
    box-shadow: 0 24px 60px -20px rgba(10, 37, 64, .35) !important;
    z-index: 9999 !important;
}
.nexora-lang-wrap.is-open .nexora-lang-menu,
.nexora-lang-wrap:hover .nexora-lang-menu,
.language-dropdown:hover .language-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.nexora-lang-item,
.language-dropdown .language-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 14px !important;
    border-radius: 8px !important;
    cursor: pointer;
    color: var(--nexora-navy) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: background .2s ease, color .2s ease !important;
    background: transparent !important;
}
.nexora-lang-item:hover,
.language-dropdown .language-item:hover {
    background: var(--nexora-mist) !important;
    color: var(--nexora-teal-deep) !important;
}
.nexora-lang-item.is-active {
    background: var(--nexora-mist) !important;
    color: var(--nexora-teal-deep) !important;
}
.nexora-lang-item img,
.language-dropdown .language-item img {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}
.language-dropdown .language-left {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.language-dropdown .language-left span,
.language-dropdown .language-item span {
    color: inherit !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

/* Hide native Google Translate UI */
#google_translate_element,
.goog-te-gadget,
.goog-te-banner-frame,
.skiptranslate iframe,
.goog-logo-link,
.VIpgJd-ZVi9od-ORHb-OEVmcd {
    display: none !important;
}
body { top: 0 !important; }

/* When our JS unlocks the language column on mobile (other pages) */
.col-auto.nexora-lang-col {
    display: block !important;
}

/* ==========================================================================
   MOBILE — selector takes the logo position (matches index.html behaviour)
   ========================================================================== */

@media (max-width: 991px) {

    /* Make sure the navbar row can host absolute children */
    .menu-area .row {
        position: relative;
        min-height: 76px;
    }

    /* Hide the desktop logo on mobile so the selector can take its slot */
    .menu-area .header-logo {
        visibility: hidden;
    }

    /* The column holding the language selector keeps its space but the
       selector itself is positioned absolutely to the left of the navbar  */
    .nexora-lang-wrap,
    .language-dropdown,
    .custom-header-actions {
        position: absolute !important;
        left: 15px !important;
        top: 50% !important;
        right: auto !important;
        transform: translateY(-50%) !important;
        z-index: 999 !important;
        margin: 0 !important;
        width: auto !important;
    }

    /* The hamburger pinned to the right */
    .menu-area .th-menu-toggle {
        position: absolute !important;
        right: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 999 !important;
        margin: 0 !important;
    }

    /* Hide the Get Quote / utility group on mobile, keep just the selector */
    .header-button .th-btn,
    .custom-header-actions .th-btn {
        display: none !important;
    }

    /* Slightly tighter button on mobile but same brand look */
    .nexora-lang-btn,
    .language-dropdown .language-button {
        height: 48px !important;
        min-width: 160px !important;
        padding: 0 14px !important;
        font-size: 13px !important;
    }

    /* Drop menu aligns to the left edge on mobile */
    .nexora-lang-menu,
    .language-dropdown .language-menu {
        left: 0 !important;
        right: auto !important;
        min-width: 200px !important;
    }
}

@media (max-width: 480px) {
    .nexora-lang-btn,
    .language-dropdown .language-button {
        min-width: 140px !important;
        padding: 0 12px !important;
    }
    .nexora-lang-btn span,
    .language-dropdown .language-left span {
        font-size: 12px !important;
    }
}

/* ==========================================================================
   SERVICE-DETAILS — In-action video section
   Shown directly below the hero on every /service-details/*.html page
   ========================================================================== */

.nexora-service-video {
    background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
    padding: 80px 0 90px;
    overflow: hidden;
}
.nexora-service-video__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}
.nexora-service-video__title {
    text-align: center;
    margin-bottom: 38px;
}
.nexora-service-video__title span {
    display: inline-block;
    color: var(--nexora-teal-deep);
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.nexora-service-video__title h2 {
    color: var(--nexora-navy);
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.2;
    margin: 0;
}

.nexora-service-video__frame {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: var(--nexora-navy);
    box-shadow:
        0 30px 80px -34px rgba(10, 37, 64, .55),
        0 0 0 1px rgba(19, 137, 166, .15);
    aspect-ratio: 16 / 9;
}
.nexora-service-video__frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Soft brand gradient ring around the video frame */
.nexora-service-video__frame::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg,
        rgba(19, 137, 166, .55) 0%,
        rgba(30, 200, 224, .25) 35%,
        rgba(212, 184, 118, .25) 70%,
        rgba(10, 37, 64, .5) 100%);
    z-index: -1;
    filter: blur(18px);
    opacity: .75;
    pointer-events: none;
}

@media (max-width: 767px) {
    .nexora-service-video { padding: 56px 0 62px; }
    .nexora-service-video__inner { padding: 0 16px; }
    .nexora-service-video__title h2 { font-size: 26px; }
    .nexora-service-video__frame { border-radius: 14px; }
}

/* ==========================================================================
   SERVICE-DETAILS — Sound toggle pill
   Sits inside .nexora-service-video__frame, on top of the video.
   Two states:
     .is-muted              -> big "Tap for sound" prompt
     .is-playing-with-sound -> discreet "Sound on" pill in the corner
   ========================================================================== */

.nexora-service-video__frame video { cursor: pointer; }

.nexora-video-sound {
    position: absolute;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(10, 37, 64, .72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .3px;
    padding: 12px 18px;
    border-radius: 999px;
    cursor: pointer;
    transition: all .3s ease;
    box-shadow: 0 14px 36px -14px rgba(0, 0, 0, .55);
}
.nexora-video-sound:hover {
    background: var(--nexora-teal-deep);
    border-color: var(--nexora-teal-deep);
    transform: translateY(-2px);
    box-shadow: 0 20px 42px -16px rgba(19, 137, 166, .65);
}
.nexora-video-sound:focus-visible {
    outline: 2px solid var(--nexora-teal);
    outline-offset: 2px;
}
.nexora-video-sound__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}
.nexora-video-sound__label {
    line-height: 1;
    white-space: nowrap;
}

/* === Muted state — large, attention-grabbing, centered ============= */
.nexora-service-video__frame.is-muted .nexora-video-sound {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 16px 26px;
    font-size: 14px;
    background: rgba(10, 37, 64, .8);
    animation: nexora-pulse 2.4s ease-in-out infinite;
}
.nexora-service-video__frame.is-muted .nexora-video-sound:hover {
    transform: translate(-50%, calc(-50% - 2px));
}
@keyframes nexora-pulse {
    0%, 100% {
        box-shadow: 0 14px 36px -14px rgba(0, 0, 0, .55),
                    0 0 0 0 rgba(30, 200, 224, .45);
    }
    50% {
        box-shadow: 0 14px 36px -14px rgba(0, 0, 0, .55),
                    0 0 0 14px rgba(30, 200, 224, 0);
    }
}

/* Subtle dimming over the video while it's muted, so the prompt stands out */
.nexora-service-video__frame.is-muted::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 37, 64, .12), rgba(10, 37, 64, .35));
    pointer-events: none;
    z-index: 4;
    transition: opacity .3s ease;
}

/* === Sound-on state — small pill anchored top-right ================ */
.nexora-service-video__frame.is-playing-with-sound .nexora-video-sound {
    top: 16px;
    right: 16px;
    padding: 9px 14px;
    font-size: 12px;
    background: rgba(10, 37, 64, .6);
}

@media (max-width: 600px) {
    .nexora-service-video__frame.is-muted .nexora-video-sound {
        font-size: 13px;
        padding: 14px 22px;
    }
    .nexora-service-video__frame.is-playing-with-sound .nexora-video-sound {
        top: 12px;
        right: 12px;
        padding: 7px 12px;
        font-size: 11px;
    }
    .nexora-video-sound__label { letter-spacing: .2px; }
}
