/* main.css */

/* CoreFrame brand-ish colors (tweak as you like) */
:root {
  --cf-bg: #05070b;
  --cf-bg-alt: #0b1018;
  --cf-primary: #4fd1c5; /* teal-ish */
  --cf-primary-soft: rgba(79, 209, 197, 0.15);
}

.logo-img {
  height: 45px;          /* adjust size here */
  width: auto;
  object-fit: contain;
}


/* GLOBAL */
body {
  background-color: var(--cf-bg);
  color: #f8f9fa;
  scroll-behavior: smooth;
}

.section-fullscreen {
  min-height: 100vh;
  padding-top: 96px; /* space for fixed navbar */
  padding-bottom: 64px;
}

section {
  padding-top: 96px;
  padding-bottom: 96px;
}

.section-alt {
  background-color: var(--cf-bg-alt);
}

.section-title {
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-subtitle {
  color: #adb5bd;
}

/* HERO */
#hero {
  position: relative;
  overflow: hidden;
  background-color: #05070b;
}

.hero-background-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.2s ease-in-out, transform 6s ease-out;
  will-change: opacity, transform;
}

.hero-bg-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-background-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(3, 10, 25, 0.75), rgba(3, 10, 25, 0.45), rgba(3, 10, 25, 0.85)),
    rgba(3, 10, 25, 0.60);
  z-index: 1;
}

.hero-content-wrap {
  position: relative;
  z-index: 2;
}

.hero-content-wrap .lead {
  color: rgba(255, 255, 255, 0.84);
  max-width: 42rem;
}

#hero h1 {
  max-width: 12ch;
  text-wrap: balance;
}

@media (min-width: 1200px) {
  #hero .container {
    max-width: 1320px;
  }

  #hero .col-xl-6 {
    width: 58.333333%;
  }

  #hero h1 {
    max-width: 13.5ch;
    font-size: clamp(3.4rem, 4.3vw, 4.6rem);
  }
}

@media (min-width: 1400px) {
  #hero h1 {
    max-width: 15ch;
  }
}

.hero-visual {
  max-width: 100%;
  max-height: 350px; /* adjust size to preference */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual video {
  width: 100%;
  height: auto;
  object-fit: contain;  /* IMPORTANT FIX */
  border-radius: inherit;
}

@media (max-width: 991.98px) {
  .hero-content-wrap .lead {
    margin-left: auto;
    margin-right: auto;
  }
}


/* NAVBAR */
.navbar-brand span {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.nav-link {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.nav-link.active,
.nav-link:focus,
.nav-link:hover {
  color: var(--cf-primary) !important;
}


/* CARDS */
.card-title {
  color: var(--cf-primary);
}

.text-soft {
  color: rgba(255, 255, 255, 0.65);
}

.card:hover .text-soft {
  color: rgba(255, 255, 255, 0.8);
}


/* Demo */
#demo video {
  object-fit: cover;
}

/* PERCEPTION TO TARGETING SECTION */
.perception-section {
  position: relative;
  background:
    linear-gradient(180deg, rgba(10, 14, 21, 0.98) 0%, rgba(8, 12, 18, 0.98) 100%);
}

.perception-section-intro {
  max-width: 920px;
}

.perception-video-shell {
  position: relative;
}

.perception-video-shell::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 1.7rem;
  background: radial-gradient(circle, rgba(255, 205, 58, 0.14) 0%, rgba(255, 205, 58, 0) 68%);
  opacity: 0.55;
  animation: targeting-pulse 4.6s ease-in-out infinite;
  pointer-events: none;
}

.perception-video-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(10, 16, 25, 0.96), rgba(6, 10, 16, 0.96));
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
}

.perception-video {
  object-fit: cover;
}

.perception-copy-card {
  padding: 0.5rem 0 0.5rem 1rem;
}

.perception-copy-card p {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.8;
}

.perception-capability-list {
  margin: 0;
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
}

.perception-footnote {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

@keyframes targeting-pulse {
  0%,
  100% {
    transform: scale(0.985);
    opacity: 0.32;
  }

  50% {
    transform: scale(1);
    opacity: 0.6;
  }
}

@media (max-width: 767.98px) {
  .perception-copy-card {
    padding-left: 0;
  }

  .perception-video-shell::before {
    inset: -6px;
  }
}

/* SCAAR CONCEPT SECTION */
#scaar {
  position: relative;
  background:
    radial-gradient(circle at top right, rgba(79, 209, 197, 0.14), transparent 34%),
    linear-gradient(180deg, #071019 0%, #09121d 100%);
}

.scaar-section-intro {
  max-width: 820px;
}

.scaar-copy-card {
  background: linear-gradient(180deg, rgba(14, 17, 22, 0.96), rgba(11, 16, 24, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.scaar-copy-card p {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.85;
}

.scaar-focus-panel {
  padding: 22px 24px;
  border-radius: 14px;
  border: 1px solid rgba(79, 209, 197, 0.18);
  background: rgba(79, 209, 197, 0.06);
}

.scaar-focus-label {
  margin-bottom: 14px;
  color: var(--cf-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scaar-focus-list {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.85;
}

.scaar-carousel-shell {
  position: relative;
}

.scaar-carousel {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(10, 16, 25, 0.98), rgba(6, 10, 16, 0.98));
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.34);
  overflow: hidden;
  padding: 22px 22px 18px;
}

.scaar-stage {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(79, 209, 197, 0.06), rgba(255, 255, 255, 0.01)),
    rgba(4, 8, 14, 0.9);
}

.scaar-slides {
  display: grid;
}

.scaar-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.scaar-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.scaar-image-frame {
  padding: 0;
}

.scaar-slide-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  border-radius: 18px;
  background:
    radial-gradient(circle at center, rgba(79, 209, 197, 0.1), rgba(5, 7, 11, 0.92) 70%);
  border: 1px solid rgba(79, 209, 197, 0.14);
}

.scaar-caption {
  min-height: 3.2rem;
  padding: 16px 10px 8px;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.6;
}

.scaar-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 3.25rem;
  height: 3.25rem;
  margin-top: -1.625rem;
  opacity: 0.92;
  border: 1px solid rgba(79, 209, 197, 0.3);
  border-radius: 999px;
  background-color: rgba(7, 16, 25, 0.72);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.scaar-control-prev {
  left: 18px;
}

.scaar-control-next {
  right: 18px;
}

.scaar-control .carousel-control-prev-icon,
.scaar-control .carousel-control-next-icon {
  width: 1.35rem;
  height: 1.35rem;
  background-size: 50% 50%;
}

.scaar-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.1rem;
}

.scaar-indicators button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background-color: rgba(255, 255, 255, 0.36);
  padding: 0;
}

.scaar-indicators .active {
  background-color: var(--cf-primary);
  box-shadow: 0 0 12px rgba(79, 209, 197, 0.45);
}

@media (max-width: 991.98px) {
  .scaar-copy-card {
    padding: 26px;
  }

  .scaar-carousel {
    padding: 18px 18px 16px;
  }
}

@media (max-width: 575.98px) {
  .scaar-copy-card {
    padding: 22px 20px;
  }

  .scaar-image-frame {
    padding: 0;
  }

  .scaar-caption {
    min-height: 3.8rem;
    padding: 14px 8px 8px;
    font-size: 0.9rem;
  }

  .scaar-control {
    width: 2.75rem;
    height: 2.75rem;
    margin-top: -1.375rem;
  }

  .scaar-control .carousel-control-prev-icon,
  .scaar-control .carousel-control-next-icon {
    width: 1.15rem;
    height: 1.15rem;
  }
}


/* CONTACT FORM */
.contact-form .form-control {
  background-color: rgba(255, 255, 255, 0.02);
  border-color: #343a40;
  color: #f8f9fa;
}

.contact-form .form-control:focus {
  border-color: var(--cf-primary);
  box-shadow: 0 0 0 0.2rem rgba(79, 209, 197, 0.25);
}

/* BUTTONS */
.btn-primary {
  background-color: var(--cf-primary);
  border-color: var(--cf-primary);
  color: #000 !important;     /* <-- makes normal state text black */
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #35b9ae;
  border-color: #35b9ae;
  color: #000 !important;     /* <-- keeps text black on hover */
}

/* FOOTER */
footer {
  background-color: #05070b;
}

footer .text-muted {
  color: #9aa3ad !important;  /* soft light gray */
}

/* TECHNOLOGY SECTION FIX — force white text inside cards */
#tech .card {
  color: #ffffff !important; /* all text inside the card becomes white */
}

#tech .card-text {
  color: #ffffff !important;
}

#tech .card-title {
  color: var(--cf-primary) !important; /* keep your teal titles */
}

#tech .card {
  background-color: #0e1116 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(4px);
}

.section-title {
  letter-spacing: 1px;
}

/* MEET SECTION */
#meet {
  padding-top: 96px;
  padding-bottom: 96px;
}

/* Match your Tech cards look */
.meet-card {
  background-color: #0e1116;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 28px;
  backdrop-filter: blur(4px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.meet-card-title {
  color: var(--cf-primary);
  font-weight: 600;
}

/* Optional: subtle hover like your other cards */
.meet-card:hover {
  border-color: rgba(79, 209, 197, 0.25);
  box-shadow: 0 0 0 0.15rem rgba(79, 209, 197, 0.06);
  transform: translateY(-3px);
}

#meet .leadership-grid {
  align-items: stretch;
}

#meet .leadership-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}

#meet .leadership-card-image-wrap {
  position: relative;
  width: min(100%, 240px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(79, 209, 197, 0.18);
  background:
    radial-gradient(circle at top, rgba(79, 209, 197, 0.18), rgba(79, 209, 197, 0.04) 40%, rgba(255, 255, 255, 0.02) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 0 22px rgba(79, 209, 197, 0.08);
  margin: 0 auto;
}

#meet .leadership-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#meet .leadership-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

#meet .leadership-name {
  margin-bottom: 0.35rem;
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

#meet .leadership-title {
  margin-bottom: 1.25rem;
  color: var(--cf-primary);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#meet .leadership-card .text-soft {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.8;
}

@media (max-width: 991.98px) {
  #meet .leadership-card {
    gap: 1.25rem;
  }

  #meet .leadership-name {
    font-size: 1.35rem;
  }
}

/* SUPPORTERS SECTION */

#supporters {
  padding-top: 96px;
  padding-bottom: 96px;
}

.support-logo-nvidia {
  max-width: 220px;
  transform: scale(1.4);
}

.support-card {
  background-color: #0e1116;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 36px;
  backdrop-filter: blur(4px);
}

.support-card-title {
  color: var(--cf-primary);
  font-weight: 600;
}

.support-card:hover {
  border-color: rgba(79,209,197,0.35);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
#supporters .row {
  align-items: stretch;
}

.support-card {
  background-color: #0e1116;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 36px;
  backdrop-filter: blur(4px);

  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.support-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  margin-bottom: 18px;
}

.support-logo-google {
  height: 72px;
  width: 200px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.logo-dark {
  /* makes dark logos white */
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* RESEARCH SECTION */
#research {
  padding-top: 96px;
  padding-bottom: 96px;
}

#research .research-grid {
  align-items: stretch;
}

#research .research-link {
  display: block;
  width: 100%;
  text-decoration: none !important;
  color: inherit !important;
}

#research .research-link:hover,
#research .research-link:focus,
#research .research-link:active,
#research .research-link:visited {
  text-decoration: none !important;
  color: inherit !important;
}

#research .research-card {
  width: 100%;
  background-color: #0e1116;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 28px;
  backdrop-filter: blur(4px);
  transition: all 0.25s ease;
  cursor: pointer;
  min-height: 100%;
}

#research .research-card:hover {
  border-color: rgba(79, 209, 197, 0.25);
  box-shadow: 0 0 0 0.15rem rgba(79, 209, 197, 0.06);
  transform: translateY(-3px);
}

#research .research-label {
  display: inline-flex;
  align-items: center;

  width: auto;
  max-width: max-content;

  margin-bottom: 14px;
  padding: 6px 12px;

  border-radius: 999px;

  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;

  color: var(--cf-primary);
  background: rgba(79, 209, 197, 0.08);
  border: 1px solid rgba(79, 209, 197, 0.25);
}

#research .research-card-title {
  color: #ffffff;
  font-weight: 600;
  font-size: 1.45rem;
  line-height: 1.25;
  margin-bottom: 1rem;
}

#research .research-card .text-soft {
  color: rgba(255, 255, 255, 0.7) !important;
  line-height: 1.75;
}

#research .research-card .small {
  font-size: 0.9rem;
}

#research .research-readmore {
  color: var(--cf-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

#research .research-card:hover .research-readmore {
  color: #7be7dc;
}

@media (max-width: 1199.98px) {
  #research .research-card-title {
    font-size: 1.3rem;
  }
}


/* RESEARCH LIBRARY - ARTICLE LIST */
#research-library {
  padding-top: 120px;
  padding-bottom: 120px;
  background: #0f1724;
  min-height: 100vh;
}

#research-library .section-title {
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

#research-library .section-subtitle {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.02rem;
  max-width: 760px;
  margin: 0 auto;
}

.research-article-list {
  max-width: 980px;
  margin: 0 auto;
}

.research-article-link {
  display: block;
  text-decoration: none !important;
  color: inherit !important;
}

.research-article-link:hover,
.research-article-link:focus,
.research-article-link:active,
.research-article-link:visited {
  text-decoration: none !important;
  color: inherit !important;
}

.research-article-item {
  padding: 28px 0 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
}

.research-article-link:first-child .research-article-item {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.research-article-item:hover {
  transform: translateX(4px);
}

.research-article-meta {
  color: var(--cf-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.research-article-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 12px;
}

.research-article-excerpt {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 860px;
  margin-bottom: 14px;
}

.research-article-readmore {
  color: var(--cf-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.research-article-link:hover .research-article-title {
  color: var(--cf-primary);
}

.research-article-link:hover .research-article-readmore {
  color: #7be7dc;
}

@media (max-width: 991.98px) {
  #research-library {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .research-article-title {
    font-size: 1.45rem;
  }

  .research-article-excerpt {
    font-size: 0.96rem;
    line-height: 1.7;
  }
}


/* RESEARCH ARTICLE PAGE */


#research-article {
  padding-top: 140px;
  padding-bottom: 100px;
  background: #0f1724;
  min-height: 100vh;
}

.article-top-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.article-back-link {
  color: var(--cf-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.article-back-link:hover {
  color: #7be7dc;
  text-decoration: none;
}

.article-header {
  margin-bottom: 36px;
}

.article-tag {
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: max-content;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cf-primary);
  background: rgba(79, 209, 197, 0.08);
  border: 1px solid rgba(79, 209, 197, 0.2);
}

.article-title {
  color: #ffffff;
  font-weight: 800;
  font-size: 3rem;
  line-height: 1.12;
  margin-bottom: 18px;
}

.article-subtitle {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
  line-height: 1.8;
  margin-bottom: 18px;
  max-width: 900px;
}

.article-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
}

.article-highlight-box {
  background: #131c2b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 26px 28px;
  margin-bottom: 42px;
}

.article-highlight-title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.article-highlight-list {
  margin: 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.8;
}

.article-body {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.02rem;
  line-height: 1.9;
}

.article-body h2 {
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 42px;
  margin-bottom: 16px;
}

.article-body h3 {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 12px;
}

.article-body p {
  margin-bottom: 18px;
}

.article-body ul {
  margin-bottom: 20px;
  padding-left: 22px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-table-wrap {
  overflow-x: auto;
  margin: 24px 0 28px;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  background: #131c2b;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
}

.article-table th,
.article-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-align: left;
}

.article-table th {
  color: #ffffff;
  font-weight: 700;
  background: rgba(255,255,255,0.02);
}

.article-table td {
  color: rgba(255,255,255,0.76);
}

.article-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 991.98px) {
  #research-article {
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .article-title {
    font-size: 2.05rem;
  }

  .article-subtitle {
    font-size: 1rem;
    line-height: 1.7;
  }

  .article-body {
    font-size: 0.98rem;
    line-height: 1.8;
  }

  .article-body h2 {
    font-size: 1.45rem;
  }

  .article-body h3 {
    font-size: 1.12rem;
  }
}
.contact-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
