/* Base */
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
:root {
  --page-pad-x: 1rem;
  --container-max: 1200px;
  --radius: 8px;
  --bg: #08090a;
  --text: #fff;
  --muted: #acadaf;
  --shadow-stack-low: 0px 8px 2px 0px transparent, 0px 5px 2px 0px rgba(0, 0, 0, .01), 0px 3px 2px 0px rgba(0, 0, 0, .04), 0px 1px 1px 0px rgba(0, 0, 0, .07), 0px 0px 1px 0px rgba(0, 0, 0, .08);
}
a, a:link, a:visited {
    color: #fff;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  padding-left: var(--page-pad-x);
  padding-right: var(--page-pad-x);
  margin: 0 auto;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin:-1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Header */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
  background: transparent;
}
.site-header .header-inner { height: 96px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: Inter, sans-serif; font-weight: 800; font-size: 36px; color: #fff; text-decoration: none; }
.nav { display: flex; gap: 2rem; }
.nav a { color: #bbb; text-decoration: none; font-weight: 500; font-size: 14px; }
.nav a:hover, .nav a.active { color: #fff; }
.partner-link { color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; }
.site-header.home .nav { display: none; }
.site-header.scrolled {
  background: rgba(0,0,0,.50);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}

/* Footer */
.footer-stripe { width: 100%; background: rgba(0.05,0.05,0.05,0.50); bac height: 4rem; margin-top: 5rem; padding: 0.5rem 0; }
.footer-stripe-content { margin: 0px auto; max-width: 1000px; }
.footer-stripe-right { float: right; margin-top: 3px; }
.footer-stripe-left { }

/* Mobile Navigation */
.mobile-nav-toggle {
  display: none;
  background: transparent; border: none; padding: 0; cursor: pointer; z-index: 100;
}
.hamburger-box { display: inline-block; position: relative; width: 30px; height: 24px; }
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
  position: absolute; width: 30px; height: 2px; background-color: #fff; border-radius: 4px;
  transition: transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger-inner { top: 50%; transform: translateY(-50%); }
.hamburger-inner::before, .hamburger-inner::after { content: ''; }
.hamburger-inner::before { top: -10px; }
.hamburger-inner::after { bottom: -10px; }
.mobile-nav-toggle[aria-expanded="true"] .hamburger-inner { transform: rotate(225deg); transition-delay: 0.12s; transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
.mobile-nav-toggle[aria-expanded="true"] .hamburger-inner::before { top: 0; opacity: 0; transition: top 0.1s ease-out, opacity 0.1s 0.12s ease-out; }
.mobile-nav-toggle[aria-expanded="true"] .hamburger-inner::after { bottom: 0; transform: rotate(-90deg); transition: bottom 0.1s ease-out, transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1); }
.mobile-nav-label {
    font-size: 1.5rem; color: #efefef; font-weight: 400; vertical-align: top;
}

.mobile-nav {
  display: none;
  position: fixed; inset: 0; background: rgba(8, 9, 10, 0.95);
  backdrop-filter: blur(16px); padding-top: 100px; z-index: 40;
  transform: translateX(100%); transition: transform 0.3s ease-in-out;
}
.mobile-nav[data-visible="true"] { transform: translateX(0%); }
.mobile-nav nav { display: flex; flex-direction: column; align-items: center; gap: 2rem; padding: 2rem; }
.mobile-nav nav a { color: #bbb; text-decoration: none; font-size: 1.5rem; font-weight: 500; }
.mobile-nav nav a.active, .mobile-nav nav a:hover { color: #fff; }
body.nav-open { overflow: hidden; }

/* Video Layer */
.videoLayer { position: fixed; inset: 0; z-index: -1; background-color: #000; }
.videoLayer .bg_layer {
  position: absolute; inset: 90px 0px 90px 0px;
  --mask-ease: rgba(0, 0, 0, .2); --vertical-size: 160px; --mask-visible: black; --mask-invisible: transparent;
  --mask-bottom: linear-gradient(to bottom, var(--mask-visible) calc(100% - var(--vertical-size)), var(--mask-ease) calc(100% - (var(--vertical-size) / 4)), var(--mask-invisible) 100%);
  -webkit-mask-image: var(--mask-bottom); mask-image: var(--mask-bottom);
}
.videoLayer .video { width: 100%; height: 100%; object-fit: cover; display: block; transition: filter .4s ease-in-out; }
.videoLayer .blur_layer { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); position: absolute; inset: 0; }
.videoLayer .coverLeft { background: linear-gradient(to right, #08090a, transparent); width: 70%; position: absolute; top: 0; bottom: 0; left: 0; }

/* Home Page Fullscreen Paging */
.home-page { overflow: hidden; }
.fullscreen { position: relative; min-height: 100dvh; height: 100dvh; perspective: 1000px; }
.page { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr auto; visibility: hidden; pointer-events: none; }
.page.active { visibility: visible; pointer-events: auto; }
.page-main { display: grid; align-content: center; min-height: 100%; }
.mainText { max-width: 740px; }
.mainText.fade-in { animation: fadeBlurIn .7s ease both; }
.mainText.fade-out { animation: fadeBlurOut .7s ease both; }

/* UI Framework Styles */
.titleText {
  font-family: "Inter", sans-serif;
  font-size: 2.5rem; line-height: 1.1; letter-spacing: -.022em; font-weight: 510;
  margin: 12px 0 1rem; color: #fff;
  text-shadow: 3px 3px #000000;
}
.titleText.small { font-size: 1.75rem; }
.descriptionText {
  font-family: "Inter", sans-serif;
  font-size: .9375rem; font-weight: 400; line-height: 1.6; letter-spacing: -.011em;
  color: #dadde2; text-wrap: balance; margin: 0 0 1rem;
  text-shadow: 2px 2px #000000;
}
.subtleText { font-size: .75rem; line-height: 1.4; letter-spacing: 0; color: #8a8f98; }
.pill { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; }
.pill.small { padding: 4px 10px; }
.subtleBg { border: 1px solid rgba(255,255,255,0.05); background: rgba(255,255,255,.16); }
.focusTranslucentBg {
  backdrop-filter: blur(24px) !important; background: rgba(255,255,255,0.1) !important;
  border: 1px solid rgba(255,255,255,0.1) !important; border-radius: var(--radius) !important;
}
.focusTranslucentBg:hover { box-shadow: rgba(0,0,0,.35) 0px 7px 32px 0px; }
.whiteBackground {
  box-shadow: var(--shadow-stack-low); background: #e6e6e6 !important;
  border: 1px solid #e6e6e6; border-radius: var(--radius);
}
.whiteBackgroundText {
  font-family: "Inter", sans-serif; color: #08090a !important;
  font-weight: 510; font-size: 13px; line-height: 32px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: 0 16px; height: 40px;
  border-radius: var(--radius); border: 1px solid transparent; color: #fff; background: transparent;
  cursor: pointer; text-decoration: none; font-weight: 510; font-size: 13px; transition: all .2s ease;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }

/* Home Page Bottom Section */
.bottom-wrap { padding: 1rem 0 2rem; align-self: end; }
.bottom-head { margin-bottom: 1rem; }
.bottom-head.fade-in { animation: fadeBlurIn .7s ease both .1s; }
.bottom-head.fade-out { animation: fadeBlurOut .7s ease both; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; align-items: end; }
.service-card { position: relative; text-decoration: none; color: inherit; transition: transform 0.35s ease; }
.service-card .thumb {
  position: relative; height: 120px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05); display: grid; place-items: center; transition: all .35s ease;
  backdrop-filter: blur(24px); transform-origin: left center;
}
.service-card .overlay-label { position: absolute; left: 8px; top: 8px; padding: 4px 8px; border-radius: 999px; opacity: 0; transition: opacity .35s ease; }
.service-card .meta { padding: 8px 4px 0; transition: opacity .25s ease, transform .25s ease; }
.service-card .hover-cta {
  bottom: 0; left: 0; right: 0; margin-top: -12px; height: 36px; display: flex;
  align-items: center; justify-content: center; font-size: 13px; font-weight: 600; opacity: 0; transition: opacity .35s ease, background .3s ease;
}
.service-card .bottomCardTextMono { font-family: "Berkeley Mono", monospace; font-size: 11px; line-height: 14px; color: #6266bd; text-transform: uppercase; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.service-card .bottomCardText { font-size: .75rem; line-height: 1.4; color: #d0d6e0; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.service-card:hover .thumb { transform: scale(1.2); background: rgba(255,255,255,.10); box-shadow: rgba(0,0,0,.35) 0px 7px 32px 0px; z-index: 10; }
.service-card:hover ~ .service-card { transform: translateX(40px); }
.service-card:hover .overlay-label, .service-card:hover .hover-cta { opacity: 1; }
.service-card:hover .meta { opacity: 0; transform: translateY(6px); }

/* Animations */
.item-fade-in { animation: gridItemFadeIn .5s ease-out forwards; opacity: 0; }
.item-fade-out { animation: gridItemFadeOut .4s ease-in forwards; }
@keyframes fadeBlurIn { from { opacity: 0; filter: blur(10px); transform: translateZ(-20px); } to { opacity: 1; filter: blur(0); transform: translateZ(0); } }
@keyframes fadeBlurOut { from { opacity: 1; filter: blur(0); transform: translateZ(0); } to { opacity: 0; filter: blur(10px); transform: translateZ(-20px); } }
@keyframes gridItemFadeIn { from { opacity: 0; filter: blur(5px); transform: translateY(20px) translateZ(-20px); } to { opacity: 1; filter: blur(0); transform: translateY(0) translateZ(0); } }
@keyframes gridItemFadeOut { from { opacity: 1; filter: blur(0); transform: translateY(0) translateZ(0); } to { opacity: 0; filter: blur(5px); transform: translateY(20px) translateZ(-20px); } }

/* Marquee */
.marquee { overflow: hidden; position: relative; width: 100%; display: flex; -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); }
.marquee-content { display: flex; animation: marquee 40s linear infinite; white-space: nowrap; gap: 24px; padding: 8px 0; }
.partner-pill { display: grid; place-items: center; height: 80px; padding: 0 48px; color: rgba(255,255,255,.6); font-weight: 600; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.05); backdrop-filter: blur(24px); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Subpages General Layout */
.page-content { padding: 120px 0 64px; }
.top-pad { padding-top: 40px; }
.section-gap { padding-top: 64px; padding-bottom: 32px; }
.max-3xl { max-width: 48rem; }
.max-2xl { max-width: 42rem; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.cta-section { padding: 64px 0; background: rgba(0,0,0,.20); margin-top: 48px; }
.cta-section .btn { margin-top: 1rem; }
.bulleted { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .5rem; }
.bulleted li { display: flex; align-items: center; gap: .75rem; }
.quote { border-left: 2px solid rgba(255,255,255,.2); padding-left: 1rem; font-style: italic; margin: 1.5rem 0; }

/* Subpage Cards */
.cards-grid { display: grid; grid-template-columns: repeat(1, minmax(0,1fr)); gap: 1rem; margin-top: 1.5rem; }
.cards-grid.three { grid-template-columns: repeat(1, minmax(0,1fr)); }
.spotlight-grid { display: grid; grid-template-columns: repeat(1, minmax(0,1fr)); }
@media (min-width: 768px) {
  .cards-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cards-grid.three { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
  .spotlight-grid { display: grid; repeat(auto-fit, minmax(300px, 1fr)); }
}
@media (min-width: 1024px) { .cards-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.card {
  border-radius: var(--radius); padding: 1.5rem; border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05); transition: background .3s ease; backdrop-filter: blur(24px);
  display: flex; flex-direction: column; gap: 0.5rem;
}
.card:hover { background: rgba(255,255,255,.08); }
.card h3 { margin: 0; font-weight: 500; font-size: 1.125rem; }
.card h4 { margin: 0 0 .5rem; font-weight: 500; font-size: 1rem; color: #e0e4ea;}
.card p.descriptionText { margin-bottom: 0; }
.card-top { display: flex; align-items: center; justify-content: space-between; }
.step-no { color: rgba(255,255,255,.2); font-weight: 800; font-size: 1.5rem; }
.details-list { list-style: none; padding: 0; margin: 0.75rem 0 0; display: flex; flex-direction: column; gap: 0.5rem; }
.details-list li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; }
.details-list li .icon-16 { margin-top: 3px; flex-shrink: 0; color: #fff; }
.details-list li span { color: #8a8f98; }

/* Two-Column Layout for complex sections */
.two-col-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media(min-width: 1024px) { .two-col-grid { grid-template-columns: 1fr 1fr; align-items: start;} }
.card.primary-card { background: rgba(230, 230, 230, 0.1); border-color: rgba(230, 230, 230, 0.15); }
.card.primary-card h3, .card.primary-card .descriptionText { color: #fff; }
.card.primary-card .details-list div { display: flex; flex-direction: column; gap: 0.25rem; }
.card.primary-card .details-list h4 { margin: 0; font-size: 1rem; font-weight: 500; }
.card.primary-card .details-list p { margin: 0; font-size: 0.875rem; color: #aeb1b8; }

/* Stats Grid */
.stats-grid { display: grid; grid-template-columns: repeat(1, minmax(0,1fr)); gap: 12px; margin-top: 1.5rem; max-width: 42rem; }
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.stat { display: flex; align-items: center; gap: 12px; padding: 1rem; border-radius: var(--radius); }
.stat.amber {     border: 2px solid rgb(175 169 66);
  background: rgb(93 81 37); }
.stat .descriptionText { margin: 0; }
.stat strong { color: #fff; }

/* Top descriptionText */
.top-description { max-width: 60%; }
@media (max-width: 1024px) {
    .top-description { max-width: 100%; }
}
/* Tabs for Infrastructure */
.tabs-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.tab-trigger {
  padding: 8px 16px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius);
  background-color: rgba(255,255,255,.05); color: #8a8f98; cursor: pointer;
  font-size: 0.875rem; font-weight: 500; transition: all .2s ease;
}
.tab-trigger:hover { background-color: rgba(255,255,255,.1); color: #fff; }
.tab-trigger.active { background-color: #e6e6e6; color: #08090a; border-color: #e6e6e6; }
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeBlurIn .5s ease; }
.partner-card { background: rgba(255,255,255, .08); }
.partner-card .partner-list { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }
.partner-card .partner-item { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.partner-card .partner-item:last-child { border-bottom: none; }
.partner-card .partner-item .pill { font-size: 0.7rem; background: rgba(0,0,0,0.2); border: none; }

/* Icons */
.icon-40 { width: 40px; height: 40px; } .icon-32 { width: 32px; height: 32px; }
.icon-28 { width: 28px; height: 28px; } .icon-20 { width: 20px; height: 20px; }
.icon-16 { width: 16px; height: 16px; }

/* Responsive Styles */
@media (max-width: 1024px) {
  .videoLayer .coverLeft {
    width: 50%; /* Less aggressive gradient on tablets */
  }
}

@media (max-width: 768px) {
  :root { --page-pad-x: 1.5rem; }

  /* Header & Mobile Nav */
  .site-header .header-inner { height: 80px; }
  .logo { font-size: 28px; }
  .logo img { width: 80%; height: 80%; }
  .site-header:not(.home) .nav,
  .site-header:not(.home) .partner-link { display: none; }
  .site-header:not(.home) .mobile-nav-toggle { display: block; }
  .mobile-nav { display: block; }

  /* Typography */
  .titleText { font-size: 2rem; }
  .titleText.small { font-size: 1.5rem; }
  
  /* Layout */
  .page-content { padding-top: 100px; padding-bottom: 48px; }
  .top-pad { padding-top: 20px; }
  .section-gap { padding-top: 48px; padding-bottom: 24px; }
  .videoLayer .coverLeft {
    width: 20%;
    background: linear-gradient(to right, #08090a 20%, transparent);
  }
  .home-page .page-main {
    align-content: center;
    padding-top: 0;
  }
  
  /* Home Page Specifics */
  .service-card:hover .thumb {
    transform: scale(1.05);
  }
  .service-card:hover ~ .service-card {
    transform: translateX(0px); /* Disable sibling shift on tap/hover */
  }
  .bottom-wrap { padding: 1rem 0 1.5rem; }
  .services-grid { gap: 8px; }
  .service-card .thumb { height: 100px; }
  .marquee-content { gap: 16px; animation-duration: 25s; }
  .partner-pill { height: 60px; padding: 0 24px; font-size: 0.875rem; }
  
  /* Subpages */
  .two-col-grid { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { justify-content: center; }
}



/* Animated CTA Button */

.animated-cta-button-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 9999px;
    padding: 1.5px;
    vertical-align: middle;
}

.animated-cta-buttonX {
    position: relative;
    display: inline-flex;
    height: 100%;
    width: 100%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background-color: hsl(var(--background));
    font-size: 0.75rem;
    font-weight: var(--font-weight-medium);
    color: hsl(var(--foreground));
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    border: 1px solid hsl(var(--background) / 0.5);
    transition: all 0.3s ease;
    padding: 0.5rem 1.5rem;
    background-image: linear-gradient(to top right, var(--zinc-300-5), var(--sirvis-blue-light-20), transparent);
    text-decoration: none;
}

.animated-cta-button {
    position: relative;
    display: inline-flex;
    height: 100%;
    width: 100%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background-color: #1f1f1f;
    font-size: 0.75rem;
    color: #efefef;
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    border: 1.5px solid hsl(240 10% 3.9% / 0.5);
    transition: all 0.3s ease;
    padding: 0.5rem 1.5rem;
    text-decoration: none;
}

.animated-cta-spinner {
    position: absolute;
    width: 100px;
    height: 100px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(0);
    will-change: transform;
    border-radius: 50%;
    animation: spin 2s linear infinite;
    background: conic-gradient(from 90deg at 50% 50%, #b9eefd, #094669, #b9eefd);
    pointer-events: none;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}







.card-quote {
    padding: 8px 25px;
}

.card-quote img {
    width: 32px;
    margin: 8px 15px 0;
    float: right;
}

.card-quote p {
    font-size: .875rem;
    font-style: italic;
}
.card-quote {
    min-width: 25%;
}
.spotlightCardText {
    font-weight: bold; color: #9296ed; text-decoration: underline;
}
.spotlight-cta { font-size: .9rem; }
.spotlight-cta:link, .spotlight-cta:visited, .spotlight-cta:hover {  text-decoration: none; }
@media (min-width: 640px) {
    .card-quote { min-width: 75%; }
}

/* Modal Box */
.modal-content {
    background: #fff;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    position: relative;
    transform: scale(0.8);
    animation: scaleIn 0.3s ease forwards;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    to {
        transform: scale(1);
    }
}