:root {
  --primary-bg: #000a35;
  --accent-blue: #ffffff;
  --topmenuitem-active: #febf00;
  --body-bg: #000d36;
  --header-bg: #000d36;
  --text-light: #ffffff;
  --text-dark: #1e1e1e;
  --soft-gray: #b0b0b0;
  --secondary-color: #ff0000; 
  --third-color: #ff0000;
  --sectionsub-primary: #febf00;
  --sectionsub-secondary: #ffffff;
}

body.light-theme {
  --primary-bg: #ffffff;
  --accent-blue: #000a35;
  --body-bg: #f0f0f0;
  --text-light: #1e1e1e;
  --text-dark: #000a35;
  --soft-gray: #606060;
  --sectionsub-primary: #000a35;
  --sectionsub-secondary: #febf00;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  margin: 0;
  background-color: var(--body-bg);
  color: var(--text-light);
  padding-top: 80px;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-container {
  max-width: 1200px;
  /* margin: 0 auto; */
  padding: 10px 30px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 3rem;
}

.logo {
  height: 9rem;
  position: absolute;
  top: 0;
  right: 0;
}

#theme-toggle {
  position: fixed;
  bottom: 20px;
  right: 15rem;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: #ffffff;
  z-index: 1000;
}

.section-pill {
  background: #ffffff;
  color: #ffffff;
  font-weight: 700;
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  margin-left: 1.5rem;
  transition: background 0.3s, color 0.3s;
  min-width: 120px;
  text-align: center;
  border: 2px solid var(--secondary-color);
}

.navbar-menu {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.navbar-menu li a {
  color: #ffffff;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s;
}

.navbar-menu li a.active {
  background-color: #febf00;
  color: var(--text-dark);
  padding: 0.3rem 1rem;
  border-radius: 2rem;
  font-weight: 700;
  border: 2px solid var(--topmenuitom-active);
}

.navbar-menu li a {
  transition: all 0.3s ease;
}

.navbar-menu.hidden {
  display: none;
}

.navbar-menu li a:hover {
  color: white;
}

header {
  height: 67vh;
  text-align: right;
  padding: 100px 20px 60px;
  background: url("images/ai-bg.png") center center / cover no-repeat;
  position: relative;
  margin-top: -1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

header::before {
  content: "";
  position: absolute;
  inset: 0;

  z-index: 0;
}

header h1,
header p {
  position: relative;
  z-index: 1;
}

section {
  padding: 60px 20px;
  margin-left: 3rem;
  margin-right: 4rem;
}

h2,
h3 {
  color: var(--accent-blue);
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.grid > div {
  flex: 1;
  min-width: 280px;
  min-height: 250px;
  background: var(--primary-bg);
  border-left: 5px solid var(--secondary-color);
  border-radius: 2px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(255, 0, 0, 0.2);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.grid > div:hover {
  box-shadow: 0 4px 20px var(--secondary-color);
  transform: scale(1.03);
}

#team .grid > div {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

#team .engineer-text {
  flex: 2;
}

#team .engineer-image-container {
  flex: 1;
  text-align: right;
}

#team .engineer-image {
  height: 15rem;
  border-radius: 50%;
  object-fit: cover;
}

ul {
  padding-left: 20px;
}

ul li {
  margin-bottom: 1.5rem;
  color: var(--soft-gray);
}

.location-list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 20px;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

footer {
  background-color: var(--primary-bg);
  color: var(--soft-gray);
  text-align: center;
  padding: 30px 10px;
}

#what .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.xxl-size-title {
  position: absolute;
  right: 2rem;
  bottom: 1rem;
  font-size: 1.8rem;
  font-weight: bold;
}

.page-highlight-title {
  font-size: 1.5rem;
}

.highlight-word {
  background: linear-gradient(
    to right,
    #fe0050,
    #fe0050
  );
  -webkit-background-clip: text;
  color: transparent;
  font-weight: bold;
}

.highlight-word-header {
  background: linear-gradient(to right, var(--secondary-color), #e30303);
  -webkit-background-clip: text;
  color: transparent;
  font-weight: bold;
}

.slogan{
  font-size: 1.6rem;
  color: #878787;
  margin-top: 10px;
}

.highlight-word-header-light {
  background: linear-gradient(to right, #b3b3b3, #858585);
  -webkit-background-clip: text;
  color: transparent;
  font-weight: bold;
}

.content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
  gap: 40px;
}

.column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.column.center {
  align-items: center;
  text-align: center;
  max-width: 320px;
}

.column.center img {
  max-width: 100%;
  height: auto;
  margin-bottom: 30px;
}

.column.center h1 {
  font-size: 42px;
  font-weight: bold;
  margin: 0;
  color: #ffffff;
}

.column.center h1 span {
  color: #ffffff;
}

.feature-card {
  background: radial-gradient(
      at bottom left,
     white,
      var(--primary-bg) 40%
    ),
    linear-gradient(to bottom, #2e2e3a, #12121a);
  border-radius: 2px;
  padding: 24px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: skewY(-0deg);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 200px;
}

.sectionsub {
  background: linear-gradient(
    to right,
    var(--accent-blue),
    #19005a
  );
  -webkit-background-clip: text;
  color: transparent;
  font-weight: bold;
  font-size: 1.6rem;
}

.sectionmain {
  font-size: 2.5rem;
}

.feature-card:hover {
  transform: skewY(0deg) translateY(-6px);
  box-shadow: -10px 10px 25px var(--secondary-color);
}

.skew-left:hover {
  transform: skewY(0deg) translateY(-6px);
  box-shadow: 10px 10px 25px var(--secondary-color);
}

.feature-card h3 {
  transform: skewY(0deg);
}

.feature-card p {
  transform: skewY(0deg);
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0;
}

.skew-left {
  transform: skewY(0deg);
  background: radial-gradient(
      at bottom right,
      white,
      var(--primary-bg) 40%
    ),
    linear-gradient(to bottom, #2e2e3a, #12121a);
}

.skew-left p {
  transform: skewY(-0deg);
}

.skew-left h3 {
  transform: skewY(-0deg);
}

.skew-left-top {
  background: radial-gradient(
      at top right,
      white,
      var(--primary-bg) 40%
    ),
    linear-gradient(to bottom, #2e2e3a, #12121a);
}

.skew-right-top {
  background: radial-gradient(
      at top left,
      white,
      var(--primary-bg) 40%
    ),
    linear-gradient(to bottom, #2e2e3a, #12121a);
}

.responsive-contact-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.contact-details {
  flex: 1;
}

.contact-map {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
}

.carousel {
    min-height: 550px;
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  padding: 10px;
  box-sizing: border-box;
  padding: 20px 20px;
  background: radial-gradient(
      at bottom left,
        white,
      var(--primary-bg) 40%
    ),
    linear-gradient(to bottom, #2e2e3a, #12121a);
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: skewY(-0deg);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 10rem;
}

.slide p {
  font-size: 1.2em;
  line-height: 1.6;
  color: var(--soft-gray);
}

.slide .author {
  font-style: italic;
  margin-top: 15px;
  color: var(--accent-blue);
}

.carousel-button {
  position: absolute;
  bottom: -20px;
  transform: translateY(-50%);
  background-color: transparent;
  color: var(--accent-blue);
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 2em;
  z-index: 10;
  transition: color 0.3s ease;
}

.carousel-button:hover {
  color: var(--topmenuitem-active);
}

.carousel-button.prev {
  left: 0px;
}

.carousel-button.next {
  right: 0px;
}

.carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-indicator.active {
  background-color: white;
}

#industries {
  padding: 50px 20px;
  text-align: center;
  background-color: transparent;
  color: var(--text-light);
}

#industries h2 {
  margin-bottom: 30px;
  color: var(--accent-blue);
}

.success-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.subtitle-success {
  font-size: 1.2rem;
  color: var(--soft-gray);
  margin-bottom: 20px;
}

.titlecolumn {
  flex: 1;
  text-align: left;
}

.imagecolumn {
  flex: 1;
  text-align: right;
}

.image-container {
  max-width: 600px;
  margin-right: auto;
}

.image-container img {
  max-width: 110%;
  height: auto;
  display: block;
}

.popout-image img {
  transition: transform 0.3s ease;
}

.popout-image:hover img {
  transform: scale(1.1);
}

.chips-header {
  margin-top: 20px;
  font-weight: normal;
  color: #a5a5a5
}

.chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.chip {
  border: 2px solid transparent;
  border-color: red;
  color: var(--text-light);
  padding: 8px 16px;
  font-size: 0.9rem;
}

.success-item {
  padding-top: 80px;
  text-align: left;
}

.success-item ul {
  list-style-type: disc;
  padding-left: 20px;
}

.success-item li {
  margin-bottom: 10px;
}

.biopadding {
  padding: 0.5rem;
}

#what .content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 20px;
}

#what .column {
  flex: 1;
  text-align: center;
}

#what .column.left,
#what .column.right {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#what .feature-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  padding: 20px;
  margin-bottom: 20px;
  width: 250px;
  height: 250px;
  min-width: 250px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 0px solid transparent;
  background-image: radial-gradient(
    circle,
    var(--primary-bg) 50%,
    var(--secondary-color) 100%
  );
}
#what .feature-card:hover {
  transform: skewY(0deg) translateY(-6px);
  box-shadow: -10px 10px 25px var(--secondary-color);
}

#what .feature-card h3 {
  margin-bottom: 10px;
  text-align: center;
}

#what .feature-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#what .feature-card li {
  color: var(--text-light);
  margin-bottom: 5px;
  text-align: center;
}

#what .column.center {
  text-align: center;
}

#what .column.center h2 {
  color: var(--accent-blue);
  margin-bottom: 20px;
}

#what .column.center img {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
}

#what .column.center p {
  color: var(--text-light);
}

#who .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 20px;
  position: relative;
}

#who .who-row {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

#who .column.center {
  width: 40%;
  text-align: center;
}

#who .who-content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60%;
  position: relative;
  gap: 20px;
}

#who .column {
  text-align: center;
  width: 30%;
}

#who .column.left,
#who .column.right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#who .image-container {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@media (max-width: 768px) {
  .navbar-container {
    flex-direction: column;
    align-items: flex-start;
  }

  section {
    margin: auto;
  }

  .navbar-menu {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  #theme-toggle {
    position: absolute;
    top: 20px;
    left: 20px;
    right: auto;
    bottom: auto;
  }

  header h1 {
    font-size: 2em;
  }

  .section-pill {
    margin: 1rem 0 0 0;
    width: 100%;
    text-align: left;
  }

  #team .grid > div {
    flex-direction: column;
    align-items: flex-start;
  }

  #team .engineer-image-container {
    text-align: left;
    margin-top: 10px;
  }

  #what .grid {
    grid-template-columns: 1fr;
  }

  .content-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .column {
    width: 100%;
    align-items: center;
  }

  .feature-card {
    max-width: 300px;
    width: 100%;
  }

  .column.center h1 {
    font-size: 32px;
  }

  .responsive-contact-tile {
    flex-direction: column;
    align-items: stretch;
  }
  .contact-map {
    justify-content: center;
    margin-top: 1.5rem;
  }
  #who .who-row {
    flex-direction: column;
    align-items: center;
  }

  #who .column.center {
    width: 100%;
    margin-bottom: 20px;
  }

  #who .who-content {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  #who .column {
    width: 100%;
  }

  #who .image-container {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: auto;
  }

  #what .content-wrapper {
    flex-direction: column;
  }

  #what .column.center {
    order: -1;
  }

  #what .column.left,
  #what .column.right {
    order: 1;
  }

  #what .feature-card {
    width: 100%;
    min-width: auto;
    height: auto;
    min-height: auto;
    border-radius: 0;
  }

  #engage .success-header {
    flex-direction: column;
    align-items: center;
  }

  #engage .imagecolumn {
    width: 100%;
    text-align: center;
  }

  #engage .image-container {
    max-width: 100%;
    margin: 0 auto;
  }

  #engage .image-container img {
    width: 100%;
    height: auto;
  }
}
