/* ==========================================================
     Local Font Faces
     ========================================================== */
/* Maint (2026-02): Post-prune override layer; keep changes targeted and page-specific. */
@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/Space_Grotesk/SpaceGrotesk-VariableFont_wght.ttf') format('truetype');
}

@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url('../fonts/DM_Sans/DMSans-VariableFont_opsz,wght.ttf') format('truetype');
}

@font-face {
    font-family: 'DM Sans';
    font-style: italic;
    font-weight: 100 1000;
    font-display: swap;
    src: url('../fonts/DM_Sans/DMSans-Italic-VariableFont_opsz,wght.ttf') format('truetype');
}

/* Keep icon glyphs visible during load. */
@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/fontawesome/fa-brands-400.woff2') format('woff2'),
        url('../fonts/fontawesome/fa-brands-400.ttf') format('truetype');
}

@font-face {
    font-family: 'Font Awesome 6 Pro';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/fontawesome/fa-light-300.woff2') format('woff2'),
        url('../fonts/fontawesome/fa-light-300.ttf') format('truetype');
}

@font-face {
    font-family: 'Font Awesome 6 Pro';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/fontawesome/fa-regular-400.woff2') format('woff2'),
        url('../fonts/fontawesome/fa-regular-400.ttf') format('truetype');
}

@font-face {
    font-family: 'Font Awesome 6 Pro';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('../fonts/fontawesome/fa-solid-900.woff2') format('woff2'),
        url('../fonts/fontawesome/fa-solid-900.ttf') format('truetype');
}

/* ==========================================================
     Brand Configuration - CSS Custom Properties
     ========================================================== */
:root {
    --theme-color: #2d6ed2;
    --theme-color2: #1a4b8f;
    --theme-color3: #5b9ef7;
    --title-color: #0d2847;
    --body-color: #4a6a8a;
    --white-color: #ffffff;
    --smoke-color: #f5f8ff;
    --smoke-color2: #f5f8ff;
    --smoke-color3: #f5f8ff;
    --smoke-color4: #f5f8ff;
    --gray-color: #0d2847;
    --gray-color4: #f5f8ff;
    --gray-color5: #f5f8ff;
    --th-body-background: #f5f8ff;
    --black-color: #0d2847;
    --black-color2: #0d2847;
    --black-color3: #1a4b8f;
    --black-color7: #0d2847;
    --th-border-color: #b8cfed;
    --th-border-color2: #b8cfed;
    --yellow-color: #5b9ef7;
    --success-color: #28a745;
    --error-color: #dc3545;
    --title-font: "Space Grotesk", sans-serif;
    --body-font: "DM Sans", sans-serif;
    --counter-accent-1: #5b9ef7;
    --counter-accent-2: #2d6ed2;
    --counter-accent-3: #1a4b8f;
    --counter-accent-4: #0d2847;
    --qt-heading-color: #0d2847;
    --qt-subtitle-color: #2d6ed2;
    --qt-body-color: #4a6a8a;
    --qt-link-color: #2d6ed2;
    --qt-label-color: #4a6a8a;
    --qt-list-color: #0d2847;
    --qt-bullet-color: #2d6ed2;
    --qt-heading-dark: #ffffff;
    --qt-subtitle-dark: #ffffff;
    --qt-body-dark: #b0c4d8;
    --qt-link-dark: #ffffff;
    --qt-label-dark: #b0c4d8;
    --qt-list-dark: #ffffff;
    --qt-bullet-dark: #5b9ef7;
}

/* -- Quantum text-group overrides (light bg) -- */
.qt-heading {
    color: var(--qt-heading-color) !important;
}

.qt-subtitle {
    color: var(--qt-subtitle-color) !important;
}

.qt-body {
    color: var(--qt-body-color) !important;
}

.qt-link:not(.th-btn) {
    color: var(--qt-link-color) !important;
}

.qt-label {
    color: var(--qt-label-color) !important;
}

.qt-list-text {
    color: var(--qt-list-color) !important;
}

.qt-bullet {
    color: var(--qt-bullet-color) !important;
}

img.qt-bullet {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* -- Quantum text-group overrides (dark bg) -- */
.qt-on-dark .qt-heading {
    color: var(--qt-heading-dark) !important;
}

.qt-on-dark .qt-subtitle {
    color: var(--qt-subtitle-dark) !important;
}

.qt-on-dark .qt-body {
    color: var(--qt-body-dark) !important;
}

/* Specific fix for About Tab Content text visibility on dark background */
.about-tab-content.qt-on-dark .box-text.qt-body {
    color: var(--white-color) !important;
}

.qt-on-dark .qt-link:not(.th-btn) {
    color: var(--theme-color) !important;
}

.qt-on-dark .qt-label {
    color: var(--qt-label-dark) !important;
}

.qt-on-dark .qt-list-text {
    color: var(--qt-list-dark) !important;
}

.qt-on-dark .qt-bullet {
    color: var(--qt-bullet-dark) !important;
}

/* -- Brand/Ocean color switcher button styles replaced by Glacial/Arctic -- */
.glacial-color-btn {
    color: #2d6ed2 !important;
    position: relative;
}

.quantum-color-btn.active::after,
.glacial-color-btn.active::after,
.ice-color-btn.active::after,
.arctic-color-btn.active::after,
.electric-color-btn.active::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f59e0b;
}

.ice-color-btn {
    color: #2d6ed2 !important;
    position: relative;
}

.ice-color-btn.active::after {
    background: #5b9ef7;
}

.arctic-color-btn {
    color: #2d6ed2 !important;
    position: relative;
}

.arctic-color-btn.active::after {
    background: #5b9ef7;
}

.glacial-color-btn.active::after {
    background: #5b9ef7;
}

.electric-color-btn {
    color: #2d6ed2 !important;
    position: relative;
}

.electric-color-btn.active::after {
    background: #5b9ef7;
}

.quantum-color-btn {
    color: #2d6ed2 !important;
    position: relative;
}

.quantum-color-btn.active::after {
    background: #5b9ef7;
}

/* -- Brand button overrides -- */
.th-btn.style2 {
    background-color: var(--theme-color);
    color: var(--white-color);
}

.th-btn.style2 i {
    color: var(--white-color);
}

.th-btn.style2:after {
    background: var(--theme-color2);
}

.th-btn.style2:focus,
.th-btn.style2:hover,
.th-btn.style2:active {
    color: var(--white-color);
}

.th-btn.style2:focus i,
.th-btn.style2:hover i,
.th-btn.style2:active i {
    color: var(--white-color);
}

/* -- Remove icon hover effects -- */
.about-feature-card:hover .box-icon .color-masking,
.service-card:hover .box-icon .color-masking,
.service-card5:hover .box-icon .color-masking,
.feature-card:hover .box-icon img,
.process-card5:hover .box-icon img {
    transform: none !important;
    -webkit-transform: none !important;
}

.service-card5:hover .box-icon .color-masking {
    filter: none !important;
    -webkit-filter: none !important;
}

/* -- Hide service card icons -- */
.service-card .box-icon {
    display: none;
}

/* -- Service Area cards: equal height -- */
#service-sec .row.gy-4>[class*="col-"] {
    display: flex;
}

#service-sec .service-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.qt-feature16-title {
    padding-top: 30px;
    width: 130%;
    max-width: none;
    margin-inline: -15%;
}

.testi-card2 .box-content .box-text {
    margin-top: -3.5em;
}

@media (max-width: 1199px) {
    .qt-feature16-title {
        width: 100%;
        margin-inline: 0;
    }
}

.service-card3:hover .box-thumb img,
.process-card:hover .box-thumb-wrap .box-thumb img,
.feature-card.style2:hover .box-img img {
    transform: none !important;
    -webkit-transform: none !important;
}

.th-btn:focus,
.th-btn:hover,
.th-btn:active {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(45, 110, 210, 0.35);
}

.footer-cta-wrap {
    background: linear-gradient(135deg, #1a4b8f 0%, #0d2847 100%);
}

.footer-cta-wrap .shadow-text {
    color: rgba(255, 255, 255, 0.05) !important;
}

.footer-cta-wrap .th-btn.style2 {
    background-color: var(--white-color);
    color: var(--theme-color);
}

.footer-cta-wrap .th-btn.style2 i {
    color: var(--theme-color);
}

.footer-cta-wrap .th-btn.style2:after {
    background: var(--smoke-color);
}

.footer-cta-wrap .th-btn.style2:focus,
.footer-cta-wrap .th-btn.style2:hover,
.footer-cta-wrap .th-btn.style2:active {
    color: var(--theme-color2);
}

.footer-cta-wrap .th-btn.style2:focus i,
.footer-cta-wrap .th-btn.style2:hover i,
.footer-cta-wrap .th-btn.style2:active i {
    color: var(--theme-color2);
}



/* -- Hero background video sizing + overlay -- */
.th-hero-bg {
    background: #0d2847 url('../img/bg-vid-cover.png') center center / cover no-repeat;
}

.th-hero-bg .qt-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.75s ease;
}

.th-hero-bg .qt-hero-video.qt-is-loaded {
    opacity: 1;
}

.hero-1 .hero-title {
    font-size: 58px;
}

.hero-1 .hero-title .hero-line-secondary {
    display: block;
    font-size: 0.6em;
    font-weight: 500;
}

/* Ensure headline doesn't overflow on small screens */
@media (max-width: 575px) {
    .hero-1 .hero-title {
        font-size: 40px !important;
    }

    .hero-1 .hero-style1 {
        min-height: 50vh;
    }
}

/* -- Hero content split: text top, CTA bottom -- */
.hero-1 .hero-inner {
    min-height: 85vh;
    /* Standard viewport coverage */
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.hero-1 .hero-style1 {
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 60vh;
    /* Taller content block to spread them out */
    justify-content: space-between;
}

.hero-1 .hero-inner .container {
    width: 100%;
    padding-bottom: 60px;
}

@media (max-width: 991px) {
    .hero-1 .hero-inner {
        min-height: 70vh;
        padding-top: 80px;
    }

    .hero-1 .hero-style1 {
        min-height: 45vh;
    }

    .hero-1 .hero-inner .container {
        padding-bottom: 50px;
    }
}

/* -- Hide original legacy header and mobile menu - show clean header only -- */
.th-menu-wrapper,
.th-header.header-default {
    display: none !important;
}

/* -- Option-2 style clean header nav -- */
.qt-option2-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: var(--smoke-color, #f5f8ff);
    border-bottom: 1px solid #e5e7eb;
}

.qt-option2-header-inner {
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media only screen and (min-width: 1300px) {
    .qt-option2-header-inner {
        max-width: calc(var(--main-container) + var(--container-gutters));
        padding-left: calc(var(--container-gutters) / 2);
        padding-right: calc(var(--container-gutters) / 2);
    }
}

.qt-option2-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex: 1;
}

.qt-option2-brand img {
    width: 32px;
    height: 32px;
}

.qt-option2-brand span {
    font-family: "Space Grotesk", sans-serif;
    font-size: 28px;
    line-height: 1;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    font-weight: 700;
    color: #2D6ED2;
}

.qt-option2-nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.qt-option2-nav a {
    font-family: var(--title-font, "Space Grotesk", sans-serif);
    font-size: 16px;
    font-weight: 500;
    color: var(--theme-color);
    text-decoration: none;
    transition: all ease 0.4s;
}

.qt-option2-nav a:hover {
    color: var(--title-color);
}

.qt-option2-contact {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    font-family: var(--title-font, "Space Grotesk", sans-serif);
    font-size: 16px;
    font-weight: 500;
    color: var(--theme-color);
    text-decoration: none;
    flex: 1;
}

.qt-option2-contact .material-icons {
    font-size: 18px;
    line-height: 1;
}

/* -- Mobile menu toggle button -- */
.qt-mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 100;
}

.qt-mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--theme-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.qt-mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.qt-mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.qt-mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* -- Mobile menu overlay -- */
.qt-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white-color);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    z-index: 999;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.qt-mobile-menu.active {
    right: 0;
}

.qt-mobile-menu-header {
    padding: 20px;
    border-bottom: 1px solid var(--th-border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.qt-mobile-menu-close {
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--theme-color);
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.qt-mobile-menu-nav {
    padding: 20px 0;
}

.qt-mobile-menu-nav a {
    display: block;
    padding: 12px 20px;
    font-family: var(--title-font);
    font-size: 16px;
    font-weight: 500;
    color: var(--theme-color);
    text-decoration: none;
    transition: background 0.2s;
}

.qt-mobile-menu-nav a:hover,
.qt-mobile-menu-nav a:active {
    background: var(--smoke-color);
}

.qt-mobile-menu-dropdown {
    border-top: 1px solid var(--th-border-color);
}

.qt-mobile-menu-dropdown-label {
    display: block;
    padding: 12px 20px;
    font-family: var(--title-font);
    font-size: 16px;
    font-weight: 600;
    color: var(--theme-color);
    background: var(--smoke-color);
}

.qt-mobile-menu-dropdown-content {
    background: var(--smoke-color);
}



.qt-mobile-menu-dropdown-content a {
    padding: 10px 20px 10px 40px;
    font-size: 14px;
}

.qt-mobile-menu-contact {
    padding: 20px;
    border-top: 1px solid var(--th-border-color);
    margin-top: auto;
}

.qt-mobile-menu-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--theme-color);
    color: var(--white-color);
    text-decoration: none;
    border-radius: 6px;
    font-family: var(--title-font);
    font-size: 16px;
    font-weight: 500;
}

.qt-mobile-menu-contact .material-icons {
    font-size: 18px;
}

/* -- Mobile menu backdrop -- */
.qt-mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.qt-mobile-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 991px) {

    .qt-option2-nav,
    .qt-option2-contact {
        display: none;
    }

    .qt-mobile-menu-toggle {
        display: block;
    }
}

/* -- Dropdown nav -- */
.qt-nav-dropdown {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: -10px;
}

.qt-nav-dropdown-trigger {
    font-family: var(--title-font);
    font-size: 16px;
    font-weight: 500;
    color: var(--theme-color);
    text-decoration: none;
}

.qt-nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white-color);
    border: 1px solid var(--th-border-color);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

/* Bridge any remaining gap between trigger and dropdown */
.qt-nav-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    height: 12px;
}

.qt-nav-dropdown:hover .qt-nav-dropdown-menu {
    display: block;
}

.qt-nav-dropdown-menu a {
    display: block;
    padding: 8px 20px;
    color: var(--theme-color2);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.qt-nav-dropdown-menu a:hover {
    background: var(--smoke-color);
    color: var(--theme-color);
}

/* Section 42 dark form + dummy footer */
.qt-sec42-form-wrap {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    padding: 24px;
}

.qt-sec42-note {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.qt-sec42-form .form-label {
    color: var(--white-color);
    font-size: 14px;
    margin-bottom: 6px;
}

.qt-sec42-form .form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white-color);
}

.qt-sec42-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.qt-sec42-form .form-check-label {
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
}

.qt-dummy-footer {
    background: var(--smoke-color, #f5f8ff);
    border-top: 1px solid var(--th-border-color);
    padding: 52px 0 18px;
}

.qt-dummy-footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--title-font);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--theme-color);
    margin-bottom: 8px;
}


@media (max-width: 991px) {
    .qt-dummy-footer-brand {
        justify-content: center;
    }
}

.qt-dummy-footer-brand img {
    width: 30px;
    height: 30px;
}

.qt-dummy-footer-copy {
    color: var(--title-color);
    margin: 0;
}

.qt-dummy-footer .th-social a {
    color: var(--theme-color);
}

.qt-dummy-footer .th-social a:hover {
    color: #fff;
}

/* Hide floating reCAPTCHA badge — inline branding text used instead (per Google ToS) */
.grecaptcha-badge {
    visibility: hidden !important;
}

.qt-recaptcha-branding {
    font-size: 11px;
    color: var(--body-color);
    margin-left: auto;
}

.qt-recaptcha-branding a {
    color: var(--theme-color);
    text-decoration: none;
}

.qt-dummy-footer-links a {
    display: block;
    color: var(--theme-color);
    margin-bottom: 10px;
}

.qt-dummy-footer-links a:hover {
    color: var(--theme-color3);
}

.qt-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.qt-footer-nav a {
    color: var(--theme-color);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.qt-footer-nav a:hover {
    color: var(--theme-color3);
}

.qt-footer-top-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--theme-color);
    border: 1px solid var(--th-border-color);
    border-radius: 8px;
    padding: 10px 14px;
}

.qt-footer-bottom {
    margin-top: 30px;
    padding-top: 16px;
    border-top: 1px solid var(--th-border-color);
    color: var(--title-color);
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.qt-footer-legal-links {
    display: flex;
    gap: 24px;
}

.qt-footer-legal-links a {
    color: var(--theme-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.qt-footer-legal-links a:hover {
    color: var(--theme-color3);
}

@media (max-width: 991.98px) {
    .qt-dummy-footer .row>[class*="col"] {
        text-align: center !important;
        flex: unset;
        width: 100%;
    }

    .qt-dummy-footer .th-social {
        justify-content: center;
    }

    .qt-footer-bottom {
        justify-content: center;
        text-align: center;
    }

    .qt-footer-legal-links {
        justify-content: center;
        width: 100%;
    }

    .qt-founded-line {
        display: block;
    }
}

@media (min-width: 768px) {
    .about-wrap10 .img-box10 .circle-tag {
        left: 475px;
    }
}

.img-box10 .img1 img,
.img-box10 .img2 img {
    background: var(--smoke-color, #f5f8ff);
    border: 1px solid var(--th-border-color);
}

/* -- Process timeline (Section 14) -- */
.qt-process-timeline {
    --qt-process-line-y: 250px;
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 12px;
}

.qt-process-timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    top: var(--qt-process-line-y);
    height: 2px;
    background: var(--th-border-color2);
}

.qt-process-item {
    position: relative;
    text-align: center;
}

.qt-process-top {
    min-height: 232px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qt-process-thumb {
    width: 168px;
    height: 168px;
    border-radius: 22px;
    overflow: hidden;
    background: #dfe5ef;
    box-shadow: 0 10px 24px rgba(13, 40, 71, 0.12);
}

.qt-process-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.qt-process-number {
    margin: 14px 0 0;
    line-height: 1;
    font-size: 64px;
    font-weight: 700;
    color: var(--title-color);
}

.qt-process-dot {
    position: absolute;
    top: var(--qt-process-line-y);
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 4px solid var(--white-color);
    background: var(--theme-color);
    z-index: 2;
}

.qt-process-bottom {
    padding-top: 44px;
    max-width: 300px;
    margin: 0 auto;
}

.qt-process-title {
    margin: 0 0 10px;
    text-transform: uppercase;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 700;
}

.qt-process-text {
    margin: 0;
    font-size: 18px;
    line-height: 1.55;
}

@media (max-width: 1199px) {
    .qt-process-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 30px;
    }

    .qt-process-timeline::before {
        display: none;
    }

    .qt-process-top {
        min-height: 0;
    }

    .qt-process-dot {
        position: static;
        transform: none;
        display: inline-block;
        margin: 14px auto 18px;
    }

    .qt-process-bottom {
        padding-top: 0;
    }

    .qt-process-title {
        font-size: 26px;
    }

    .qt-process-text {
        font-size: 17px;
    }
}

@media (max-width: 575px) {
    .qt-process-timeline {
        grid-template-columns: 1fr;
    }

    .qt-process-thumb {
        width: 148px;
        height: 148px;
    }

    .qt-process-number {
        font-size: 52px;
    }

    .qt-process-title {
        font-size: 24px;
    }

    .qt-process-text {
        font-size: 16px;
    }
}

/* -- Counter Area Section 28 - all text white, no spacing gap -- */


#service-sec-top .counter-card5 .box-number,
#service-sec-top .counter-card5 .box-text,
#service-sec-top .counter-card5 .qt-heading,
#service-sec-top .counter-card5 .qt-body {
    color: #fff !important;
}

#service-sec-top .counter-card5 {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.counter-card5 .box-number {
    margin-bottom: 0;
}

.counter-card5 .box-text {
    margin-top: 4px;
}

/* -- Unified heading system (Index, non-H1) -- */
.qt-index .qt-heading:not(.h1):not(.box-number):not(.qt-process-number) {
    font-family: var(--title-font);
    font-weight: 700;
    line-height: 1.185;
    letter-spacing: 0;
    text-transform: none;
    color: var(--title-color);
}

.qt-index .qt-on-dark .qt-heading:not(.h1):not(.box-number):not(.qt-process-number),
.qt-index .qt-heading.text-white:not(.h1):not(.box-number):not(.qt-process-number) {
    color: var(--white-color);
}

.qt-index h2.qt-heading:not(.h1):not(.box-number):not(.qt-process-number) {
    font-size: clamp(2rem, 4vw, 3.375rem);
    margin-bottom: 18px;
}

.qt-index h3.qt-heading:not(.box-number):not(.qt-process-number) {
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    line-height: 1.25;
    font-weight: 700;
}

.qt-index h4.qt-heading {
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    line-height: 1.3;
    font-weight: 700;
}

.qt-index h5.qt-heading {
    font-size: clamp(1.25rem, 1.8vw, 1.5rem);
    line-height: 1.3;
    font-weight: 700;
}

/* ==========================================================
     Sunya Page Custom Styles (Migrated from inline)
     ========================================================== */

/* -- Variant toggle (Legacy - replaced by palette switcher but keeping for ref) -- */
.qt-variant-toggle {
    text-align: center;
    padding: 16px;
    background: var(--smoke-color);
    border-bottom: 1px solid var(--th-border-color);
}

.qt-variant-toggle span {
    font-weight: 600;
    color: var(--title-color);
    margin-right: 8px;
}

.qt-variant-btn {
    background: transparent;
    border: 1px solid var(--th-border-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--title-color);
    cursor: pointer;
    margin: 0 4px;
    transition: all 0.3s;
}

.qt-variant-btn.active {
    background: var(--theme-color);
    color: #fff;
    border-color: var(--theme-color);
}

/* -- Tab panels -- */
.qt-tab-panel {
    display: none;
}

.qt-tab-panel.active {
    display: block;
}

/* -- Side tabs (Variant A) -- */
.qt-sunya-variant {
    margin: 0 auto;
    max-width: calc(var(--main-container) + var(--container-gutters));
    padding: 0 calc(var(--container-gutters) / 2);
}

.qt-side-layout {
    display: flex;
    min-height: calc(100vh - 80px);
}

.qt-side-tabs {
    width: 240px;
    flex-shrink: 0;
    background: var(--smoke-color);
    border-right: 1px solid var(--th-border-color);
    position: sticky;
    top: 80px;
    max-height: calc(100vh);
    overflow-y: auto;
}

.qt-side-tab {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 24px;
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 500;
    color: var(--body-color);
    cursor: pointer;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.qt-side-tab:hover {
    color: var(--theme-color);
    background: rgba(45, 110, 210, 0.05);
}

.qt-side-tab.active {
    color: var(--theme-color);
    font-weight: 700;
    border-left-color: var(--theme-color);
    background: rgba(45, 110, 210, 0.08);
}

.qt-side-content {
    flex: 1;
    padding: 40px;
}

.qt-side-tab-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.qt-side-mobile-wrapper {
    display: none;
}

.qt-side-mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(13, 40, 71, 0.15);
    background: var(--white-color);
    color: var(--body-color);
    font-family: var(--title-font);
    font-size: 15px;
    font-weight: 600;
    padding: 12px 16px;
    cursor: pointer;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.qt-side-mobile-toggle .material-icons.arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

@media (max-width: 991px) {
    .qt-side-layout {
        flex-direction: column;
    }

    .qt-side-tabs {
        width: 100%;
        display: block;
        padding: 12px;
        position: static;
        height: auto;
        max-height: none;
        border-right: none;
        border-bottom: 1px solid var(--th-border-color);
    }

    .qt-side-tab-list {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }

    .qt-side-tab {
        width: auto;
        border-left: none;
        border-bottom: 2px solid transparent;
        padding: 8px 16px;
        font-size: 13px;
    }

    .qt-side-tab.active {
        border-left: none;
        border-bottom-color: var(--theme-color);
    }

    .qt-side-content {
        padding: 24px 16px;
    }
}

@media (max-width: 900px) {
    .qt-side-mobile-wrapper {
        display: block;
        margin-bottom: 12px;
    }

    .qt-side-mobile-toggle[aria-expanded="true"] {
        border-color: var(--theme-color);
        color: var(--theme-color);
    }

    .qt-side-tabs .qt-side-tab-list {
        display: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

    .qt-side-tabs.is-open .qt-side-tab-list {
        display: flex;
        flex-direction: column;
        max-height: 1200px;
    }

    .qt-side-mobile-toggle[aria-expanded="true"] .material-icons.arrow {
        transform: rotate(180deg);
    }

    .qt-side-tab {
        width: 100%;
        margin: 2px 0;
    }
}

/* -- Top tabs (Variant B) -- */
.qt-top-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    border-bottom: 2px solid var(--th-border-color);
    padding: 0 0 0;
    margin-bottom: 40px;
}

.qt-top-tab {
    padding: 12px 20px;
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 500;
    color: var(--body-color);
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.qt-top-tab:hover {
    color: var(--theme-color);
}

.qt-top-tab.active {
    color: var(--theme-color);
    font-weight: 700;
    border-bottom-color: var(--theme-color);
}

.qt-top-content {
    padding: 0 0 60px;
}

/* -- Application cards -- */
.qt-app-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.qt-app-card {
    display: flex;
    background: var(--white-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.qt-app-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.qt-app-card-img {
    width: 40%;
    flex-shrink: 0;
}

.qt-app-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qt-app-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.qt-app-card-body h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 4px;
}

.qt-app-card-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--title-color);
    margin-bottom: 8px;
}

.qt-app-card-text {
    font-size: 0.8125rem;
    color: var(--body-color);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .qt-app-card {
        flex-direction: column;
    }

    .qt-app-card-img {
        width: 100%;
        height: 200px;
    }
}

/* -- White paper card -- */
.qt-whitepaper-card {
    background: var(--smoke-color);
    border: 1px solid var(--th-border-color);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
}

.qt-whitepaper-icon {
    margin-bottom: 20px;
}

.qt-whitepaper-icon .material-icons {
    font-size: 48px;
    color: var(--theme-color);
}

.qt-whitepaper-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 12px;
}

.qt-whitepaper-card p {
    font-size: 1rem;
    color: var(--body-color);
    max-width: 500px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.qt-whitepaper-form {
    margin-top: 30px;
    text-align: left;
    border-top: 1px solid var(--th-border-color);
    padding-top: 24px;
}

.qt-whitepaper-form h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 16px;
}

.qt-whitepaper-form .form-control {
    background: var(--white-color);
    border: 1px solid var(--th-border-color);
    color: var(--title-color);
}

.qt-whitepaper-form .form-control:focus {
    border-color: var(--theme-color);
    box-shadow: none;
}

/* ── Extracted inline styles from index.html ── */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 40, 71, 0.6);
    z-index: 1;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
}

.hero-style1 .hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    /* Reserve vertical space to prevent CLS during font swap */
    min-height: 4.5em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-line-secondary {
    display: block;
    font-size: 0.6em;
    margin-top: 0.5em;
    background: linear-gradient(to right, var(--theme-color3), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(1px 1px 1px rgba(255, 255, 255, 0.2));
}

.hero-style1 .btn-wrap {
    margin-top: 3rem;
}

.qt-hidden-section {
    display: none;
    padding: 80px 0 0;
}

.qt-service-top-heading {
    margin-bottom: -50px;
}

@media (min-width: 1200px) {
    .about-wrap10 .title-area .sec-title {
        white-space: nowrap;
    }
}

/* Architecture cards */
.about-wrap10 .arch-showcase .counter-card {
    padding: 10px;
}

.about-wrap10 .arch-showcase .counter-card .box-text {
    font-size: 20px;
    line-height: 1.3;
}

/* Circular ribbon text foundation.
   The old theme relied on global .circle-title-anime and .charN rules that were pruned. */
.arch-ribbon__text .circle-title-anime {
    position: absolute;
    inset: 0;
    display: block;
    margin: 0;
    font-family: var(--title-font, "Space Grotesk", sans-serif);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1;
    animation: spin 20s linear infinite;
    transform-origin: 50% 50%;
}

.arch-ribbon__text .circle-title-anime span {
    position: absolute;
    display: inline-flex;
    justify-content: center;
    align-items: flex-start;
    transform-origin: bottom center;
    white-space: pre;
}

/* Keep side images full-height when middle stats cards grow taller */
@media (min-width: 768px) {
    .about-wrap10 .arch-showcase {
        align-items: stretch;
    }

    .about-wrap10 .arch-showcase__col--img {
        display: flex;
    }

    .about-wrap10 .arch-showcase__col--img img {
        height: 100%;
        aspect-ratio: auto;
        object-fit: cover;
    }
}

.qt-reality-heading-line1 {
    display: block;
    text-align: center;
}

.qt-reality-heading-line2 {
    display: block;
    margin-top: 0.25em;
    text-align: center;
    white-space: normal;
}

@media (min-width: 1200px) {
    .qt-reality-heading-line2 {
        white-space: nowrap;
    }
}

.qt-reality-body {
    max-width: 68%;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 991px) {
    .qt-reality-body {
        max-width: none;
    }
}

/* Keep key section paragraphs in sync across desktop/mobile. */
#service-sec-top .qt-copy-paragraph,
.about-wrap10 .qt-copy-paragraph,
.about-wrap9 .qt-copy-paragraph,
.qt-process-section .qt-copy-paragraph {
    font-size: 20px;
    line-height: 1.75;
}

.qt-copy-paragraph p {
    font-size: inherit;
    line-height: inherit;
    margin: 0;
}

.qt-copy-paragraph p+p {
    margin-top: 1em;
}

@media (max-width: 991px) {

    #service-sec-top .qt-copy-paragraph,
    .about-wrap10 .qt-copy-paragraph,
    .about-wrap9 .qt-copy-paragraph,
    .qt-process-section .qt-copy-paragraph {
        font-size: 18px;
        line-height: 1.5;
    }
}

.qt-process-section .qt-process-row {
    align-items: flex-end !important;
}

.qt-process-section .process-img-box2 {
    width: min(100%, 275px);
    max-width: 275px;
    max-height: 275px;
    aspect-ratio: 1 / 1;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.qt-process-section .process-img-box2 img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center bottom;
}

.qt-reality-img {
    height: 300px !important;
    object-fit: cover;
    object-position: top;
}

.qt-reality-images {
    gap: 2rem 3rem;
}

@media (max-width: 767px) {
    .qt-reality-images {
        gap: 1.5rem 0;
    }
}

.qt-icon-32 {
    width: 32px;
    height: 32px;
}

.qt-contact-subheading {
    color: var(--body-color);
    font-size: 17px;
}

.qt-textarea-default {
    min-height: 120px;
    resize: vertical;
}

/* Keep CTA buttons from requesting removed legacy mask asset. */
.th-btn:after {
    -webkit-mask-image: none;
    mask-image: none;
}

/* Remove one of the two vertical spacers between "Today's quantum reality" and "Partner with us". */
.qt-process-section.space {
    padding-top: 0;
}

/* Architecture section: 2x2 layout at 991px and below with equal card heights. */
@media (max-width: 991px) {
    .about-wrap10 .arch-showcase {
        --qt-arch-card-height: clamp(160px, 22vw, 220px);
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        align-items: stretch;
    }

    .about-wrap10 .arch-showcase>.arch-showcase__col--img:first-child {
        grid-column: 1;
        grid-row: 1;
    }

    .about-wrap10 .arch-showcase>.arch-showcase__col--img:last-child {
        grid-column: 2;
        grid-row: 1;
    }

    .about-wrap10 .arch-showcase__col--img {
        flex: none;
        max-width: none;
        width: 100%;
    }

    .about-wrap10 .arch-showcase__col--img img {
        width: 100%;
        height: var(--qt-arch-card-height);
        min-height: var(--qt-arch-card-height);
        object-fit: cover;
    }

    .about-wrap10 .arch-showcase__col--stats {
        grid-column: 1 / -1;
        grid-row: 2;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        width: 100%;
    }

    .about-wrap10 .arch-showcase__col--stats .counter-card {
        min-height: var(--qt-arch-card-height);
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .about-wrap10 .arch-showcase__col--stats .arch-ribbon {
        grid-column: 1 / -1;
        justify-self: center;
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    .about-wrap10 .arch-showcase {
        --qt-arch-card-height: clamp(132px, 34vw, 156px);
        gap: 12px;
    }

    .about-wrap10 .arch-showcase__col--stats {
        gap: 12px;
    }

    .about-wrap10 .arch-showcase .counter-card {
        padding: 8px 10px;
    }

    .about-wrap10 .arch-showcase .counter-card .box-text {
        font-size: 15px;
        line-height: 1.25;
    }
}

/* Partner section: center lead copy, remove indentation, and keep image below text at <= 991px. */
@media (max-width: 991px) {
    .qt-process-section .qt-process-row {
        flex-direction: column !important;
        align-items: stretch !important;
        row-gap: 32px;
    }

    .qt-process-section .qt-process-row>.col-xl-6:first-child {
        order: 2;
    }

    .qt-process-section .qt-process-row>.col-xl-6:last-child {
        order: 1;
    }

    .qt-process-section .title-area {
        text-align: center;
    }

    .qt-process-section .title-area .qt-process-body {
        margin-left: auto;
        margin-right: auto;
    }

    .qt-process-section .process-wrap2 {
        max-width: 760px;
        margin: 0 auto;
    }

    .qt-process-section .process-card2:nth-child(n) {
        margin-left: 0 !important;
    }

    .qt-process-section .process-card2 .box-content {
        text-align: left;
    }

    .qt-process-section .process-card2 .box-text {
        max-width: none;
    }
}