/* Initial Style */

html, body {
  scroll-behavior: smooth;
}

@media (max-width: 991px) {
  .container {
    width: 95%;
  }
}

.carousel .container, .card.container {
  width: 100%;
}

.bg-darkblue {
  background: #0f1824!important;
  border-color: #0f1824!important;
}

.bg-gradient-blue {
  background: radial-gradient(ellipse at top, #304663 -50%,#0f1824 50%,#050d18);
}

.bg-gradient-blue-inverse {
  background: radial-gradient(ellipse at bottom, #304663 -50%,#0f1824 50%,#050d18);
}

.bg-gradient-blue-circle {
  background: radial-gradient(ellipse at center, #0f1824, #0f1824,#050d18);
}

:root {
  font-size: 16px;
}

@media (max-width: 991px) {
  :root {
    font-size: 14px;
  }
}

h1, h2, h3, h4, h5 {
  font-weight: 600;
  letter-spacing: -0.02em;
  padding-bottom: 8px;
  margin-top: 0;
  margin-bottom: 0.5em;
}

::-webkit-scrollbar {
  background: #202020;
  width: 2px;
  display: none;
}

::-webkit-scrollbar-thumb {
  background: black;
  border-radius: 4px;
  aspect-ratio: 1/1;
}

.cursor-pointer {
  cursor: pointer;
}

.col-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}

.row-center {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: start;
}

.transition {
  transition: all .25s linear!important;
  -moz-transition: all .25s linear!important;
  -webkit-transition: all .25s linear!important;
}

.min-vh-50 {
  min-height: 50vh;
}

.min-vh-80 {
  min-height: 80vh;
}

.min-vh-85 {
  min-height: 85vh;
}

.min-vh-90 {
  min-height: 90vh;
}

@media (min-width: 992px) {
  .vh-lg-90 {
    min-height: 90vh;
  }
}

@media (min-width: 992px) {
  .vh-lg-95 {
    min-height: 95vh;
  }
}

@media (min-width: 992px) {
  .vh-lg-100 {
    min-height: 100vh;
  }
}

.opacity-90 {
  opacity: 0.9;
}

.rounded {
  border-radius: 20px!important;
}

.rounded-10 {
  border-radius: 10px!important;
}

.mix-blend-mode-lighten {
  mix-blend-mode: lighten;
  -webkit-mix-blend-mode: lighten;
  -moz-mix-blend-mode: lighten;
}

.top-100px {
  top: 100px;
}

.top-20vh {
  top: 20vh;
}

.animated-element {
  opacity: 0;
  transform: translateY(100px);
  filter: blur(10px);
  will-change: opacity, transform, filter;
  transition: opacity .25s ease, filter .35s ease, transform .5s ease!important;
  -moz-transition: opacity .25s ease, filter .35s ease, transform .5s ease!important;
  -webkit-transition: opacity .25s ease, filter .35s ease, transform .5s ease!important;
}

.animated-element.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.modal {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-dialog {
  display: flex;
  justify-content: center;
  align-items: end;
  position: relative;
  max-width: 550px;
  width: 90vw;
  height: 100vh;
  padding-bottom: 0;
  margin-bottom: 0;
}

@media (min-width: 300px) and (max-width:550px) {
  .modal-dialog {
    margin-left: 5vw;
  }
}

#modal-contact .modal-content {
  min-height: 90vh;
  border-radius: 20px 20px 0 0;
  background: #ffffffdd;
  position: relative;
  border: 2px solid transparent;
  padding: 40px;
  background: white;
  background-clip: padding-box;
  overflow: hidden;
}

#modal-contact h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 40px;
  font-size: 28px;
  color: #000;
}

.modal-header, .modal-footer {
  border: none;
}

.lines-detail {
  width: 100%;
  height: 1px;
  background: #c4c4c4;
}

.text-grey {
  color: #c4c4c4!important;
}

.btn-outline-grey {
  border: 1px solid #c4c4c4;
  background: none;
  color: #c4c4c4;
}

.border-grey {
  border-color: #c4c4c4!important;
}

@media (max-width: 991px) {
  .portfolio-profile {
    background: var(--bs-light);
    position: sticky;
    top: 0;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #c4c4c4;
    z-index: 5;
  }
}

@media (min-width: 992px) {
  .portfolio-profile {
    top: calc(80px + 1rem);
    position: sticky;
  }
}

.bg-light .border-secondary {
  border-color: #c4c4c4!important;
}

.image-banner {
  width: 100%;
  height: 30vh;
  object-fit: cover;
  opacity: .25;
}

.border-left-secondary{
  border-left: 1px solid #c4c4c4;
}

@media (min-width: 992px) {
  .w-lg-auto {
    width: revert-layer!important;
  }
}

/* Upper Menu */

#topbar {
  will-change: transform;
}

#topbar.closed {
  transform: translateY(-200px);
}

.topbar-bars {
  display: flex;
  justify-content: space-between;
  align-items: start;
  flex-direction: column;
  position: relative;
  height: 20px;
  width: 30px;
  right: 10px;
  cursor: pointer;
}

.topbar-bars .top-bar, .topbar-bars .middle-bar, .topbar-bars .bottom-bar {
  width: 90%;
  height: 2px;
  background: white;
  display: block;
  border-radius: 5px;
}

.topbar-bars .middle-bar {
  width: 60%;
  transform: translateX(12px);
}

.topbar-bars.menu-closed .middle-bar {
  width: 70%;
  transform: translateX(0);
}

.agentic-links a {
  position: relative;
}

.agentic-links a:hover:after, .agentic-links a:hover:before {
  width: 50%;
  transition: width .25s ease;
  -moz-transition: width .25s ease;
  -webkit-transition: width .25s ease;
}

.agentic-links .btn:hover:after {
  width: 0;
}

.agentic-links a:after {
  content: '';
  width: 0;
  height: 2px;
  background: var(--bs-primary);
  position: absolute;
  bottom: 0;
  right: 50%;
  transition: width .25s ease;
  -moz-transition: width .25s ease;
  -webkit-transition: width .25s ease;
}

.agentic-links a:before {
  content: '';
  width: 0;
  height: 2px;
  background: var(--bs-primary);
  position: absolute;
  bottom: 0;
  left: 50%;
  transition: width .25s ease;
  -moz-transition: width .25s ease;
  -webkit-transition: width .25s ease;
}

.drop-links {
  min-width: 400px;
  border-radius: 20px;
  position: absolute;
  top: 100%;
  border: 1px solid #2a3a4e;
  border-radius: 20px;
  background: radial-gradient(ellipse at bottom center, #2a3a4e99 -20%, #101622);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  -moz-backdrop-filter: blur(10px);
  will-change: height, transform;
}

#topbar.closed .drop-links {
  transform: translateY(-80px);
}

.btn.link-light.collapsed svg {
  transform: rotate(0deg);
}

.btn.link-light svg {
  transform: rotate(-180deg);
}

.drop-links ul {
  padding: 2rem;
}

/* Side menu */

.sidebar {
  width: 100%;
  height: 100%;
  position: fixed;
  background: #181818;
  z-index: 10;
  padding: calc(100px + 1rem) 2rem;
  will-change: transform, display;
  transform: translateX(0);
}

.bg-darkblue .sidebar {
  background: #0f1824;
}

.sidebar.menu-closed {
  transform: translateX(150%);
}

main.hidden {
  filter: blur(20px);
  transform: rotateY(45deg) translateX(-150%);
}

.sidebar .agentic-links .nav-item {
  width: 100%;
  border-bottom: 1px solid #304663;
  position: relative;
}

.sidebar .agentic-links .nav-item .nav-link {
  width: 100%;
  display: block;
}

.sidebar .agentic-links .nav-item.hidden {
  border-bottom: none;
  transform: translateY(0);
  opacity: 1;
  will-change: transform, opacity, display;
}

.sidebar .agentic-links .nav-item.hidden.closed {
  transform: translateY(-200vh);
  opacity: 0;
}

.sidebar .agentic-links .nav-item.hidden .nav-link {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding-left: 2rem;
  opacity: .75;
}

.rotate-icon svg {
  transform: rotate(180deg);
}

/* Section Hero */

#moving-title {
  will-change: transform;
  text-shadow: 0 5px 5px #0f1824;
}

.main-title {
  color: white;
  text-align: center;
  text-transform: uppercase;
  font-weight: 900;
  z-index: 5;
}

.title-gradient {
  background: radial-gradient(ellipse at bottom center, #5901CF -20%, #00FEFB);
  background: radial-gradient(ellipse at bottom center, #5901CF -20%, #00FEFB);
  background-size: 200%;
  background-position: center;
  background-clip: text;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  color: transparent;
  color: rgb(255,255,255,0);
  animation: gradient 9s ease infinite;
  -webkit-animation: gradient 9s ease infinite;
  -moz-animation: gradient 9s ease infinite;
}

.enphasis-text {
  position: relative;
  z-index: 2;
}

@media (min-width: 992px) {
  .enphasis-text {
    display: block;
  }
}

.enphasis-text:after {
  content: '';
  position: absolute;
  width: 200%;
  height: 2px;
  background: #5901cf;
  right: 77%;
  bottom: -2px;
  border-radius: 2px;
}

@media (max-width: 991px) {
  .enphasis-text::after {
    right: 67%;
  }
}

.canvas-background {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.75;
  z-index: 0;
  overflow: hidden;
  mix-blend-mode: color-dodge;
}

.bg-particles {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(2);
}

.text-justify {
  text-align: justify;
}

/* Section What we do */

.subtitle-gradient-blue {
  text-transform: uppercase;
  font-weight: bold;
  background: radial-gradient(ellipse at center bottom, #0a3737, #00FEFB, #6ffffd);
  -webkit-background: radial-gradient(ellipse at center bottom, #0a3737, #00FEFB, #6ffffd);
  background-clip: text;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  color: var(--bs-border-color-translucent);
  width: fit-content;
}

.subtitle-gradient-blue.light {
  background: radial-gradient(ellipse at center bottom, #c1f8ff, #00FEFB, #065958);
  -webkit-background: radial-gradient(ellipse at center bottom, #c1f8ff, #00FEFB, #065958);
  color: var(--bs-border-color-translucent)!important;
  background-clip: text;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  color: var(--bs-border-color-translucent);
  width: fit-content;
}

.grid-1 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 20px;
  grid-row-gap: 20px;
}

.grid-1 .enphasis-1 {
  grid-area: 1 / 1 / 3 / 2;
}

@media (max-width: 991px) {
  .scroll-row-holder {
    overflow: scroll;
    width: calc(100vw - var(--bs-gutter-x) * .5);
  }
}

@media (max-width: 991px) {
  .scroll-row {
    width: calc(6000px /5);
  }
}

#scroll-indicator1 {
  position: absolute;
  font-size: 100px;
  color: white;
  top: calc(50% - 50px);
  left: 20px;
}

#scroll-indicator2 {
  position: absolute;
  font-size: 100px;
  color: white;
  top: calc(50% - 50px);
  left: 20px;
  filter: drop-shadow(0 0 5px #00000099);
}

.input-controller {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  background: #181818;
  border-radius: 10px;
  outline: none;
}

.bg-darkblue .input-controller#controller1 {
  background: #1b2e45!important;
}

.input-controller#controller2 {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  background: #c4c4c4;
  border-radius: 10px;
  outline: none;
}

.input-controller::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 50px;
  height: 50px;
  background: white;
  border: 15px solid black;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
  box-shadow: none;
}

.bg-darkblue .input-controller::-webkit-slider-thumb {
  border: 15px solid #0f1824;
}

.input-controller#controller2::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 50px;
  height: 50px;
  background: black;
  border: 15px solid white;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.bg-darkblue .input-controller#controller2::-webkit-slider-thumb {
  background: #0f1824;
}

.input-controller::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.input-controller:-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: white;
  border: 5px solid black;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.input-controller#controller2:-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: black;
  border: 5px solid white;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.input-controller::-moz-range-thumb:hover {
  transform: scale(1.1);
}

.input-controller::-ms-thumb {
  width: 20px;
  height: 20px;
  background: white;
  border: 5px solid black;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.input-controller#controller2::-ms-thumb {
  width: 20px;
  height: 20px;
  background: black;
  border: 5px solid white;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.input-controller::-ms-thumb:hover {
  transform: scale(1.1);
}

/* Section Who we are */

#who-we-are {
}

.subtitle-gradient-purple {
  text-transform: uppercase;
  font-weight: bold;
  background: radial-gradient(ellipse at bottom center, #e1d5f1, #732ECF, #330A6B);
  -webkit-background: radial-gradient(ellipse at bottom center, #e1d5f1, #732ECF, #330A6B);
  background-clip: text;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  color: var(--bs-border-color-translucent);
  width: fit-content;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 20px;
  grid-row-gap: 20px;
}

.grid-2 .enphasis-1 {
  grid-area: 1 / 1 / 3 / 2;
}

@media (max-width: 1199px) {
  .grid-2 {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr) 0.25fr .5fr 1fr;
    max-height: 75vh;
  }
}

.circle-effect {
  width: 100vw;
  height: 15vh;
  position: absolute;
  bottom: -14.9vh;
  z-index: 0;
  border-radius: 0 0 50% 50%;
  background: radial-gradient(ellipse at top, #0f1824 -70%,#050d18);
}

.banner-mission-image {
  position: absolute;
  width: 100vw;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  bottom: 0;
  z-index: 0;
}

.banner-mission-image.top-0 {
  position: absolute;
  width: 100vw;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  top: 0;
}

/* Our partners */

#our-partners {
  overflow-x: hidden;
}

#partners-carousel {
  width: 100%;
  height: 550px;
  border-radius: 20px;
  overflow: hidden;
  z-index: 1;
  box-shadow: 5px 5px 25px #9a9a9aee, -5px -5px 25px #ffffff;
}

#partners-carousel .container {
  z-index: 2;
  position: absolute;
}

#partners-carousel .container .row {
  background: linear-gradient(#10101000, #101010);
  background: -webkit-linear-gradient(#10101000, #101010);
  padding: 2rem 2rem;
  color: white;
  display: flex;
  align-items: end;
  height: 350px;
}

#partners-carousel .container .row h3 {
  text-shadow: 0 0 10px black;
}

.btn-partners {
  border: none;
  border-radius: 0;
  z-index: 1;
  border-radius: 20px;
}

.btn-partners.active {
  animation: progress 4.75s linear;
  -moz-animation: progress 4.75s linear;
  -webkit-animation: progress 4.75s linear;
  will-change: background, background-position;
  background: none;
}

.btn-partners.animationReset {
  animation: none!important;
  -moz-animation: none!important;
  -webkit-animation: none!important;
  background: transparent;
}

#partners-carousel:hover ~ .btn-partners.active {
  animation-play-state: paused;
}

#partners-carousel img {
  z-index: 0;
}

.gradient-effect {
  width: 25vw;
  aspect-ratio: 1/1;
  background: conic-gradient(var(--bs-primary), var(--bs-info));
  filter: blur(75px) brightness(150%);
  opacity: .5;
  position: absolute;
  top: 15vh;
  left: -15vw;
  z-index: 0;
  transform: rotate(-60deg);
}

/* Our team */

.container-team {
  overflow-x: hidden;
}

#team-container {
  will-change: opacity;
}

.container-team::-webkit-scrollbar {
  display: none;
}

.row-team {
  position: relative;
  flex-wrap: nowrap;
  will-change: transform;
  display: flex;
}

.row-team .col-5.col-lg-3 {
  margin: 0 10px;
}

.id-images {
  width: 100%;
  height:auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 50%;
}

@media (min-width: 992px) {
  #our-team .row-portfolio {
    width: 100%;
    transform: translateX(.75rem);
  }
}

.row-portfolio {
  padding: 2rem;
  border: 1px solid #2a3a4e;
  border-radius: 20px;
  background: radial-gradient(ellipse at bottom center, #2a3a4e99 -20%, #101622);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  -moz-backdrop-filter: blur(20px);
}

.grid-portfolio-1 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 20px;
  grid-row-gap: 20px;
}

.grid-portfolio-1 img {
  width: 100%;
  height: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

@media (max-width: 991px) {
  #team-portfolios .row-portfolio .grid-portfolio-1 .enphasis-1, #team-portfolios .row-portfolio .grid-portfolio-1 .enphasis-2 {
    grid-area: 1 / 1 / 3 / 3;
  }
}

.grid-portfolio-1 .enphasis-1 {
  grid-area: 1 / 1 / 3 / 2;
}

.grid-portfolio-1 .enphasis-2 {
  grid-area: 1 / 2 / 3 / 2;
}

.grid-portfolio-1 .enphasis-1 img, .grid-portfolio-1 .enphasis-2 img {
  max-height: 100%;
}

.row-gradient {
  position: absolute;
  bottom: 0;
  text-shadow: 0 0 5px black;
  padding: 1rem 2rem;
  font-weight: bold;
}

@media (min-width: 992px) {
  .grid-team {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 1rem;
    grid-row-gap: 1rem;
  }
}

/* Cards */

.card-agentic {
  background: transparent;
  color: white;
  box-shadow: inset 0 0 40px var(--bs-primary);
  -webkit-box-shadow: inset 0 0 40px var(--bs-primary);
  -moz-box-shadow: inset 0 0 40px var(--bs-primary);
  max-width: 600px;
  padding: 30px 40px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  height: 100%;
  width: 100%;
  z-index: 5;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  -moz-backdrop-filter: blur(5px);
  will-change: transform, opacity, filter;
}

@media (max-width: 991px) {
  .card-agentic {
    min-width: 100%;
    padding: 10px 20px;
  }
}

.card-agentic::after {
  content: '';
  width: 100%;
  height: 100%;
  background: var(--bs-primary);
  opacity: 0.5;
  position: absolute;
  border-radius: 50%;
  right: -50%;
  bottom: -50%;
  filter: blur(40px);
  z-index: 0;
  transition: all .25s ease;
  -moz-transition: all .25s ease;
  -webkit-transition: all .25s ease;
  will-change: transform;
  transform: scale(1);
}

.card-agentic:hover:after {
  transform: scale(1.1);
  transition: all .25s ease;
  -moz-transition: all .25s ease;
  -webkit-transition: all .25s ease;
  border-radius: 50%;
  right: -50%;
  bottom: -50%;
}

.card-agentic .card-body {
  padding-right: 30%;
  z-index: 1;
  margin: .5rem 0;
}

@media (max-width: 991px) {
  .card-agentic .card-body {
    padding-right: 0;
    margin-bottom: 3rem;
  }
}

.card-agentic .card-footer, .row-portfolio .card-footer {
  display: flex;
  justify-content: end;
  z-index: 1;
  border: none;
  background: none;
  position: absolute;
  right: 20px;
  bottom: 15px;
}

.card-agentic .card-footer a, .row-portfolio .card-footer a {
  text-decoration: none;
  color: white;
}

.card-agentic .card-footer a svg, .row-portfolio .card-footer a svg {
  margin-left: 1rem;
}

.card-agentic .card-footer a:hover svg, .link-arrow:hover svg, .row-portfolio .card-footer a:hover svg {
  transform: translateX(.15rem);
}

.card-blue-secondary {
  background: radial-gradient(ellipse at bottom center, #13515D -20%, #101622);
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  border: 1px solid var(--bs-primary);
}

.card-purple-secondary {
  background: radial-gradient(ellipse at bottom center, #322F62 -20%, #101622);
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  border: 1px solid var(--bs-info);
}

.card-agentic.card-blue-secondary.no-effect::after, .card-agentic.card-purple-secondary.no-effect::after, .no-effect::after {
  display: none;
}

.card-agentic.card-purple-secondary::after {
  background: var(--bs-info);
}

.card-agentic.card-blue-secondary, .card-agentic.card-purple-secondary {
  will-change: transform,filter;
}

.card-icon {
  margin-right: 1rem;
  background: #0f182499;
  width: 40px;
  height: 40px;
  aspect-ratio: 1/1;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid;
}

.card-blue-secondary .card-icon {
  border: 1px solid var(--bs-primary);
  box-shadow: inset 0 0 5px #00FEFB99, 0 0 5px #00FEFB99;
}

.card-purple-secondary .card-icon {
  border: 1px solid var(--bs-info);
  box-shadow: inset 0 0 5px #5901CF99, 0 0 5px #5901CF99;
}

.card-agentic.card-blue-secondary .card-body, .card-agentic.card-purple-secondary .card-body {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 0;
  overflow: hidden;
}

.card-agentic.card-blue-secondary .card-body .d-flex.flex-column, .card-agentic.card-purple-secondary .card-body .d-flex.flex-column {
  width: 70%;
}

.secondary-card-image {
  width: 30%;
  min-width: 200px;
  height: auto;
  aspect-ratio: 1/1;
}

@media (max-width: 419px) {
  .image-left {
    left: -70%;
    width: 170%;
  }
}

@media (min-width: 420px) and (max-width: 575px) {
  .image-left {
    left: -30%;
    width: 130%;
  }
}

@media (min-width: 576px) and (max-width: 1399px) {
  .image-left {
    left: -15%;
    width: 115%;
  }
}

@media (max-width: 575px) {
  .image-right {
    position: relative;
    width: 130%;
    left: 0;
  }
}

@media (min-width: 576px) and (max-width: 1399px) {
  .image-right {
    position: relative;
    width: 115%;
    left: 0;
  }
}

.grid-card {
  border-radius: 20px;
  height: 100%;
  border: none;
  position: relative;
  color: white;
  padding: 20px;
  overflow: hidden;
}

.grid-card.hidden {
  cursor: pointer;
}

.grid-card .card-header {
  text-align: end;
  border: none;
  background: none;
  z-index: 2;
}

.grid-card .card-header h3 {
  font-weight: bold;
}

.grid-card .card-body {
  width: 100%;
  z-index: 2;
}

.grid-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  position: absolute;
  left: 0;
  top: 0;
  transition: all .5s ease;
  -moz-transition: all .5s ease;
  -webkit-transition: all .5s ease;
}

.grid-card.card-industry {
  color: black;
  background: white;
}

.grid-card.card-industry .grid-card-image {
  object-fit: contain;
  object-position: left;
  height: 110%;
}

.grid-card.card-industry.visible .grid-card-image {
  filter: blur(100px)!important;
}

.grid-card.card-industry .grid-card-image {
  object-fit: contain;
  object-position: left;
  height: 110%;
}

.card-text {
  padding: 20px;
}

.grid-card.hidden .card-body {
  opacity: 0;
  filter: blur(40px);
  transform: translateX(110%);
  transition: all .5s ease;
  -moz-transition: all .5s ease;
  -webkit-transition: all .5s ease;
  will-change: transform, filter, opacity;
}

.grid-card.hidden.visible .card-body {
  opacity: 1;
  filter: blur(0px);
  transform: translateX(0);
  transition: all .5s ease;
  -moz-transition: all .5s ease;
  -webkit-transition: all .5s ease;
}

.grid-card.hidden.visible .grid-card-image {
  opacity: 1;
  filter: blur(50px);
  transform: scale(1.2);
  transition: all .5s ease;
  -moz-transition: all .5s ease;
  -webkit-transition: all .5s ease;
}

.btn-grid-card {
  background: transparent;
  border: none;
  position: absolute;
  top: 20px;
  left: 30px;
  color: white;
  z-index: 3;
}

.grid-card.hidden.visible .btn-grid-card {
  display: block;
}

.grid-card.hidden .btn-grid-card {
  display: none;
}

.grid-card.gradient-purple:after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  background: radial-gradient(ellipse at right top, #5901CF, #5901CF00 75%);
  -moz-background: radial-gradient(ellipse at right top, #5901CF, #5901CF00 75%);
  -webkit-background: radial-gradient(ellipse at right top, #5901CF, #5901CF00 75%);
  right: 0;
  top: 0;
  z-index: 1;
}

.grid-card.gradient-blue:after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  background: radial-gradient(ellipse at right top, #00b6cf, #00fefb00 75%);
  -moz-background: radial-gradient(ellipse at right top, #00b6cf, #00fefb00 75%);
  -webkit-background: radial-gradient(ellipse at right top, #00b6cf, #00fefb00 75%);
  top: 0;
  right: 0;
  z-index: 1;
}

.grid-card.gradient-blue {
  box-shadow: 4px -4px 10px -5px #00fefb;
}

.grid-card.gradient-purple {
  box-shadow: 4px -4px 10px -5px #5901cf;
}

.card-team {
  border-radius: 20px;
  box-shadow: 5px 5px 15px #03080fcc, -5px -5px 15px #11243ecc;
  overflow: hidden;
  margin: 1rem 0;
  border: 1px solid var(--bs-secondary);
  filter: saturate(0);
  -moz-filter: saturate(0);
  -webkit-filter: saturate(0);
}

.card-team .grid-card-image {
  object-fit: cover;
  object-position: center 45%;
}

.card-team .image-team {
  width: 100%;
  height:auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  z-index: 0;
  overflow: hidden;
  will-change: transform;
}

.card-team:hover .image-team {
  transform: scale(1.025);
}

.card-team .card-body {
  position: absolute;
  bottom: 0;
  background: linear-gradient(0deg, #050d18ee, #10101000);
  background: -webkit-linear-gradient(90deg, #050d18ee, #10101000);
  width: 100%;
  padding: 1rem 2rem;
  color: white;
  /*border-image: radial-gradient(ellipse at center bottom, var(--bs-primary), #101622) 1;*/
  /*border-bottom: 2.5px solid;*/
  min-height: 40%;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: stretch;
  text-align: center;
  text-shadow: 0 0 5px black;
  will-change: opacity;
}

.card-team .card-body h4 {
  border-bottom: 1px solid #aaa;
  padding-bottom: .5rem;
}

.card-team .card-body p {
  opacity: .8;
}

.badge-team {
  border-radius: 40px;
  padding: .25rem 1rem;
  font-size: .75rem;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
}

/* Footer */

.social-links a {
  font-size: 2rem;
}

footer .ps-2 .nav-link {
  opacity: .75;
}

footer .ps-2 .nav-link:hover {
  opacity: .9;
}

footer .list-unstyled .nav-items {
  width: 75%;
  margin-left: auto;
  margin-right: auto;
}

/* Animations */

.appear {
  animation: appear.5s ease;
  -moz-animation: appear.5s ease;
  -webkit-animation: appear.5s ease;
  animation-fill-mode: backwards;
}

.appear-left {
  animation: appear-left .5s ease;
  -moz-animation: appear-left .5s ease;
  -webkit-animation: appear-left .5s ease;
  animation-fill-mode: backwards;
}

.appear-right {
  animation: appear-right .5s ease;
  -moz-animation: appear-right .5s ease;
  -webkit-animation: appear-right .5s ease;
  animation-fill-mode: backwards;
}

.appear-top {
  animation: appear-top .5s ease;
  -moz-animation: appear-top .5s ease;
  -webkit-animation: appear-top .5s ease;
  animation-fill-mode: backwards;
}

.appear-bottom {
  animation: appear-bottom .5s ease;
  -moz-animation: appear-bottom .5s ease;
  -webkit-animation: appear-bottom .5s ease;
  animation-fill-mode: backwards;
}

.appear-bottom-noblur {
  animation: appear-bottom-noblur .5s ease;
  -moz-animation: appear-bottom-noblur .5s ease;
  -webkit-animation: appear-bottom-noblur .5s ease;
  animation-fill-mode: backwards;
}

.hide-bottom-noblur {
  animation: hide-bottom-noblur .35s ease;
  -moz-animation: hide-bottom-noblur .35s ease;
  -webkit-animation: hide-bottom-noblur .35s ease;
  animation-fill-mode: forwards;
}

@keyframes gradient {
  0%, 100% {
    background-size: 200% 200%;
    background-position: 0% 50%;
  }
  25%, 75% {
    background-size: 200% 200%;
    background-position: 50% 50%;
  }
  50% {
    background-size: 200% 200%;
    background-position: 100% 100%;
  }
}

@keyframes appear {
  from {
    opacity: 0;
    filter: blur(100px);
  }
  to {
    opacity: 1;
    filter: blur(0px);
  }
}

@keyframes appear-left {
  from {
    opacity: 0;
    filter: blur(100px);
    transform: translateX(-50vw);
  }
  to {
    opacity: 1;
    filter: blur(0px);
    transform: translateX(0);
  }
}

@keyframes appear-right {
  from {
    opacity: 0;
    filter: blur(100px);
    transform: translateX(50vw);
  }
  to {
    opacity: 1;
    filter: blur(0px);
    transform: translateX(0);
  }
}

@keyframes appear-top {
  from {
    opacity: 0;
    filter: blur(100px);
    transform: translateY(-200px);
  }
  to {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0);
  }
}

@keyframes appear-bottom {
  from {
    opacity: 0;
    filter: blur(100px);
    transform: translateY(200px);
  }
  to {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0);
  }
}

@keyframes appear-bottom-noblur {
  from {
    opacity: 0;
    transform: translateY(90vh);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hide-bottom-noblur {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(90vh);
  }
}

@keyframes progress {
  0% {
    background: linear-gradient(90deg, transparent, #eee 50%, transparent 50%);
    background: -webkit-linear-gradient(0deg, transparent, #eee 50%, transparent 50%);
    background-size: 200%;
    background-position: right;
  }
  95% {
    background: linear-gradient(90deg, transparent, #eee 50%, transparent 50%);
    background: -webkit-linear-gradient(0deg, transparent, #eee 50%, transparent 50%);
    background-size: 200%;
    background-position: left;
  }
  100% {
    background: linear-gradient(90deg, transparent, #eee 50%, transparent 50%);
    background: -webkit-linear-gradient(0deg, transparent, #eee 50%, transparent 50%);
    background-size: 400%;
    background-position: left;
  }
}

