

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  border-radius: 0 0 100px 100px;
  padding: 12px 0;

  backdrop-filter: blur(4px);
  background: #0000004d;
  z-index: 100;
  display: block;
  transform: translateY(0);
  transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1), 
  opacity 0.4s ease; 
  opacity: 1;
}
.nav.hidden {
  transform: translateY(-100px);
  opacity: 0.95;
}
.nav .logo {
  position: relative;
}
.nav .logo .line {
  position: absolute;
  border-radius: 10px;
  width: 84px;
  height: 2px;
  bottom: -20px;
  background: linear-gradient(90deg, #8371f3 0%, #bb7ab2 50%, #71f383 100%);
}
.nav__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav__links {
  display: flex;
  gap: 12px;
}
.nav__link{
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 12px;
  line-height: 100%;
  color: #fff;
  text-transform: capitalize;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 12px 16px;
  background: rgba(158, 158, 158, 0.2);

  transition: 0.5s  ;
}
.nav__link:hover{
  border: 1px solid rgba(255, 255, 255, 0.222);
  background: rgba(158, 158, 158, 0.486);
}
.nav__link.active {
  border: 1px solid #8371F3 !important;
  /* background: linear-gradient(180deg, rgba(131, 113, 243, 0.3) 0%, rgba(215, 215, 215, 0.3) 100%) !important; */
  background: linear-gradient(180deg, rgba(130, 113, 243, 0.464) 0%, rgba(215, 215, 215, 0.432) 100%) !important;
}

.nav__contact,
.nav__container .logo {
  width: 160px;
}
 .nav__contact {
  all: unset;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  border: 1px solid #8371F3;
  border-radius: 100px;
  padding: 12px 28px;
  background: linear-gradient(180deg, rgba(131, 113, 243, 0.3) 0%, rgba(215, 215, 215, 0.3) 100%);
  cursor: pointer;
  position: relative;
  z-index: 0;
  overflow: hidden;
  transition: color 0.3s ease;
}

/* Spinning border */
.nav__contact::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background-image: conic-gradient(
    from 0deg,
    transparent 0deg,
    #8271f379 120deg,
    transparent 240deg,
    #8271f380 360deg
  );
  filter: blur(6px); 
  z-index: -1;
  animation: spin 4s linear infinite;
  transition: 0.3s;
}

/* Optional: extra inner glow */
.nav__contact::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  z-index: -1;
}

/* Spin animation */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Hover effect: enhance glow */
.nav__contact:hover::before {
  filter: blur(12px) brightness(1.2);
}

.nav__contact:hover {
  color: #fff;
}


/* NAV MENU */
.nav__menu {
  width: 25px;
  height: 25px;
  display: none;
}

#overlay {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100%;
  background: rgba(0, 0, 0, 0.658);
  z-index: 100;
}
#overlay.hidden {
  display: none;
}
#burgerButton {
  margin-bottom: 10px;
}
#burgerMenu {
  position: fixed;
  top: 0;
  right: 0;
  max-width: 402px;
  width: 100%;
  height: 100vh;
  background:#111017;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 100;
  padding: 32px 20px;
}
#burgerMenu img {
  padding-bottom: 5px;
}
.nav__menu-header {
  display: flex; 
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
}
.nav__links-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.nav__link-menu {
  font-size: var(--section-description-size);
  font-family: var(--second-family);
  font-weight: 600;
  line-height: 100%;
  color: #fff;
  text-transform: capitalize;
  padding: 15px;
  display: block;
  background: #9E9E9E33;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.nav__contact-menu {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  text-transform: uppercase;
  color: #fff;

  width: 100%;
  /* max-width: 300px; */
  border: 1px solid #8371F3;
  border-radius: 100px;
  padding: 12px 28px;
  background: linear-gradient(180deg, rgba(131, 113, 243, 0.3) 0%, rgba(215, 215, 215, 0.3) 100%);
  text-align: center;
  display: block;
}

/* HERO */
.hero__main {
  position: relative;
  height: auto;
  overflow: hidden;
}
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden !important;
  /* border-bottom-left-radius: 100px;
  border-bottom-right-radius: 100px; */
  /* box-shadow: inset 0px -200px 70px -10px rgb(255, 1, 1); */
}
.hero__wrapper {
  position: absolute;
  height: 100%;
  width: 100%;
  /* overflow: hidden; */
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}
#container3D {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
#container3D canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.hero__info h1 {
  font-family: var(--third-family   );
  font-weight: 600;
  font-size: 70px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
}
.hero__info {
  position: absolute;  
  top: 50%;            
  left: 50%;           
  transform: translate(-50%, -50%);
  width: 100%;
  z-index: 10;
}

.hero__info p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  color: #b3b3b3;
  text-align: center;
  margin-top: 12px;
}

.hero__stars {
  position: absolute;
  background-size: cover;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  pointer-events: none;
}
.purple-cloud {
  position: absolute;
  top: 35vh;
  right: -200px;
  width: 800px;
  height: 600px;
  background: radial-gradient(circle at right, #9053e0ce, transparent 80%);
  /* background: red; */
  filter: blur(150px);
  z-index: 0;
}
.purple-cloud2 {
  position: absolute;
  top: 35vh;
  right: 400px;
  width: 800px;
  height: 600px;
  background: radial-gradient(circle at right, #9053e056, transparent 80%);
  filter: blur(150px);
  z-index: 0;
}
.dark-cloud {
  position: absolute;
  bottom: 35vh;
  right: 000px;
  width: 1000px;
  height: 400px;
  border-radius: 100px;
  background: radial-gradient(circle at center, #0b0c10, transparent 100%);
  transform: rotate(30deg);
  filter: blur(40px);
  z-index: 0;
}
.hero__stars,
.hero__sphere-purp,
.hero__sphere-orange,
.purple-cloud,
.purple-cloud2,
.dark-cloud {
  user-select: none;   
}

#container3D canvas {
  width: 100vw !important;
  height: 100vh !important;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  background: transparent !important;
}
canvas {
  width: 250% !important; 
  height: auto;
  background: transparent !important;
}
#container3D,
#container3D canvas,
.purple-cloud2,
.dark-cloud,
.purple-cloud {
  pointer-events: none;
}


/* MAIN */
.main {
  min-height: 100vh;
}

/* FEATURES */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(145, 70, 216, 0.6);
  pointer-events: none;
  filter: blur(2px);
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out;
  z-index: 5;
  opacity: 0; /* hidden by default */
}

.features {
  padding:100px 0;
}
.features__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 20px;
}
.feature {
  border: 1px solid #3a3a3a;
  border-radius: 32px;
  max-width: 710px;
  min-height: 240px;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, #0b0c10dd 0%rgba(21, 23, 30, 0.812)1e 53.48%);
  padding: 32px 44px;

  display: flex;
  flex-direction: column;
  gap: 48px;
  position: relative;
  z-index: 6  ;
}
/* Feature animation */
.feature__img {
  transition: transform 1s;
  width: 56px;
  height: 56px;
  user-select: none;
  pointer-events: none;
}
.feature .line {
  position: absolute;
  border-radius: 10px;
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, #8371f3 0%, #bb7ab2 50%, #71f383 100%);
  top: 0px;
}
.feature .line-blur {
  background: linear-gradient(90deg, #8371f3 0%, #e1f371 100%);
  filter: blur(10px);
   width: 56px;
  height: 5px;;
  position: absolute;
  top: 5px;
}
.feature__info h3{
  font-family: var(--font-family);
  font-weight: 500;
  font-size: var(--card-title-size);
  line-height: 100%;
  color: #fff;
  margin-bottom: 16px;
}
.feature__info p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: var(--section-description-size);
  line-height: 120%;
  color: #b3b3b3;
}
/* PROJECTS */  
.owl-dots {
  display: none;
}
.projects {
  width: 100%;
  height: 100vh;
  display: block;
}
.project {
  width: 100%;
  height: 100vh;
  position: relative;
  display:flex;
  align-items: center;
}
.project__shape {
  position: absolute;
  width: 600px !important;
  height: 600px;
  right: 150px;
  top: 45px;
}
.project__shape-color {
  position: absolute;
  width: 600px !important;
  height: 600px;
  right: 150px;
  top: 60px;
  border-radius: 50%;
  filter: blur(150px);
}
.project__shape-color.green {
  background: rgba(98, 174, 98, 0.411);
}
.project__shape-color.red {
  background: rgba(198, 3, 3, 0.296);
}
.project__shape-color.blue {
  background: rgba(98, 130, 174, 0.411);
}
.project__info {
  max-width: 709px;
  z-index: 4;
}
.project__container {
  padding-top: 140px;
  padding-bottom: 117px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 80vh;
  width: 100% ;
}
.project.first {
  background: linear-gradient(90deg, #0b0c10 20%, #1e1a38 53.48%);
}
.project.second {
  background: linear-gradient(90deg, #0b0c10 25%, #141f14 53.48%);
}
.project.third {
  background: linear-gradient(90deg, #0b0c10 25%, #461414 53.48%);
}

.project__info h4 {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  color: #b3b3b3;
  margin-bottom: 64px;
}
.project__info h1 {
  font-family: var(--third-family);
  font-weight: 500;
  font-size: var(--section-title-size);
  line-height: 100%;
  color: #fff;
  margin-bottom: 12px;
}
.project__info-descr {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 30px;
}
.project__info-descr p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: var(--section-description-size);
  line-height: 100%;
  color: #b3b3b3;
}
.project__info-link {
  display: inline-block;
}
.project__info a {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: var(--section-description-size);
  line-height: 100%;
  text-decoration: underline;
  text-underline-offset: 1px;
  text-decoration-thickness: 1px;
  color: #fff;

  display: flex;
  align-items: center;
  gap: 4px;

  transition: 0.3s;

  width: auto;
  padding: 10px 10px 15px 0;
}
.project__info a:hover {
  gap: 10px;
}
.project__swiper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.arrow-btn {
  background: none;
  border: none;
  padding: 0;
  display: inline-grid;       
  place-items: center;
  width: 20px;
  height: 20px;
  cursor: pointer;
  position: relative;
  overflow: visible;
}

.icon {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 20px;
  height: 20px;
  display: block;
  transition: opacity 220ms ease, transform 220ms ease;
  will-change: opacity, transform;
  pointer-events: none;
}

.icon-default {
  opacity: 1;
  transform: translateY(0);
}

.icon-hover {
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
}

.arrow-btn:hover .icon-default {
  opacity: 0;
  transform: translateY(6px) scale(0.98);
}

.arrow-btn:hover .icon-hover {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.project__swiper .arrow-btn:nth-of-type(1) svg { transform-origin: 50% 50%; transform: none; } 
.project__swiper .arrow-btn:nth-of-type(2) svg { transform-origin: 50% 50%; transform: rotate(180deg); } 

.project__swiper span {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 100%;
  color: #fff;
}

/* CUSTOMERS */
.customers {
  padding: 100px 0;
}
.customers__title {
  font-family: var(--third-family);
  font-weight: 500;
  font-size: var(--section-title-size);
  line-height: 100%;
  color: #fff;
  margin-bottom: 100px;
}
.customers__carousel-main {
  overflow: hidden;
  white-space:nowrap;

}
.customers__carousel {
  display: inline-flex;
  animation: 25s slideCustomers infinite linear;
}

.customers__carousel-item {
  width: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  filter: grayscale(100%);
  transition: all 0.3s;
  margin: 0 40px;
}

.customers__carousel-image {
  width: 200px;
  display: block;
}
@keyframes slideCustomers {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.customers__carousel-main:hover .customers__carousel{
  animation-play-state: paused;
}
.customers__carousel-item:hover{
  filter: none;
  transform: scale(1.02);
} 
.customers__carousel-item.item1 {
  filter: invert(100%) grayscale(100%);
} 

/* RESULTS */
.results {
  padding: 100px 0;
}
.results__info {
  margin-bottom: 100px;
}
.results__info h1 {
  font-family: var(--third-family);
  font-weight: 500;
  font-size: var(--section-title-size);
  line-height: 100%;
  color: #fff;
  margin-bottom: 12px;
}
.results__info p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: var(--section-description-size);
  line-height: 100%;
  color: #b3b3b3;
  max-width: 1075px;
}
/* SWIPER */
.results__cards {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
/* RES ELEMENT */
.result__element {
  width: 345px ;
  min-height: 148px ;
  display: flex ;
  flex-direction: column ;
  justify-content: top;
  position: relative;
}


.result__element h2 {
  margin-top: 30px;
  font-family: var(--third-family);
  font-weight: 400; 
  font-size: 70px;
  line-height: 100%;
  color: #D7D2F9;
  position: relative;
  margin-bottom: 8px;
}
.result__element h2 .shadow {
  position: absolute;
  width: 180px;
  height: 22px;
  background-color: #0b0c10;
  filter: blur(6px);
  bottom: 5px;
}
.result__element p {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 14px;
  line-height: 100%;
  color: #fff;
  max-width: 222px;
}
.result__element .line {
  background: linear-gradient(90deg, #8371f3 0%, #71f383 100%);
  border-radius: 10px;
  width: 100%;
  height: 2px;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}
.result__element .line-blur {
  background: linear-gradient(90deg, #8371f3 0%, #e1f371 100%);
  filter: blur(12px);
  border-radius: 10px;
  width: 100%;
  height: 4px;
  position: absolute;
  top: 10px;
  right: 0;
  left: 0;
}

/* CONTACTS */
.contacts {
  padding: 100px 0;
}
.contacts__container {
  display: flex;
  align-items: center;
  gap: 20px;
}
.contacts__form-left {
  border-radius: 32px;
  width: 345px;
  height: 501px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contacts__info-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contacts__form-left h1 {
  font-family: var(--third-family);
  font-weight: 500;
  font-size: var(--section-title-size);
  line-height: 100%;
  color: #fff;
  margin-bottom: 24px;
}
.contact__details {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact__details span {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: var(--card-title-size);
  line-height: 100%;
  color: #9e9e9e;
}
.contacts__form-left .map {
  border-radius: 32px;
  width: 345px;
  height: 232px;
  overflow: hidden;
  background: #15171e;
  margin-top: auto;
}

.contacts__form-right {
  border: 1px solid #3a3a3a;
  border-radius: 32px;
  padding: 40px 44px;
  width: 100%;
  height: 501px;
  background: linear-gradient(180deg, #0b0c10 0%, #15171e 53.48%);
}
.contacts__form-right h1 {
  font-family: var(--third-family);
  font-weight: 500;
  font-size: var(--section-title-size);
  line-height: 100%;
  color: #fff;
  margin-bottom: 24px;
}
.contacts__form-right .input__fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}
.contacts__form-right input {
  background: #111218;
  padding: 16px;
  background: #111218;

  border: 1px solid #3a3a3a;
  border-radius: 10px;
  padding: 16px;
  width: 100%;
  height: 46px;

  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  color: #fff;
}
.contacts__form-right input:focus {
  border: 1px solid #999999;
}

.contacts__form-right .name-row {
  display: flex;
  gap: 20px;
}
.contacts__form-right .name-row input {
  flex: 1; 
  width: auto; 
}

.contacts__form-right input::placeholder {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  color: #b3b3b3;
}
.contacts__form-right textarea {
  border: 1px solid #3a3a3a;
  border-radius: 10px;
  padding: 16px;
  width: 100%;
  height: 92px;
  overflow-x: hidden;
  background: #111218;

  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  color: #fff;
  padding: 16px;
  resize: none;
}
.contacts__form-right textarea::placeholder {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  color: #b3b3b3;
}
.contacts__form-right textarea:focus {
  border: 1px solid #999999;
}
.btn-send {
  width: 100%;
  display: flex;
  justify-content: right;
}
.contacts__form-right .btn-send .btn {
  position: relative;
  display: inline-flex;
  width: 167px;
  height: 39px;
  overflow: hidden;
  border-radius: 100px;
  cursor: pointer;
}
.contacts__form-right .btn-send .btn .inner {
  position: absolute;
  width: 100%;
  height: 200%;
  top: -50%;
  background: -webkit-linear-gradient(-90deg, #8271f36a 40%, rgba(215, 215, 215, 0.422) 100%);
  z-index: -1;
  transition: all 0.3s;
  cursor: pointer;

}
.contacts__form-right .btn-send .btn:hover .inner {
  top: -20%;
}
.contacts__form-right .btn-send .btn:active .inner {
  top: -50%;
}
.contacts__form-right .btn-send button {
  border-radius: 100px;

  border: 1px solid #8371F3;
  width: 100%;
  height: 100%;
  
  outline: none;
  background: none;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;

  /* 
  padding: 12px 28px;
  background: linear-gradient(180deg, #8371f34d 0%, rgba(215, 215, 215, 0.3) 100%);


  display: inline-block; */
}
/* FOOTER */
.footer {
  border-radius: 100px 100px 0 0;
  padding: 64px 0;
  
  background: #100e1f;
}
.footer__info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 106px;
}
.footer__links {
  max-width: 710px;
  width: 100%;
  display: flex;
  align-content:center;
  justify-content: space-between;
}
.footer__links a {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  color: #fff;
}
.footer__socialmedia {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer__bottom {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  color: #9e9e9e;

  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__bottom a {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  color: #9e9e9e;
  transition: 0.3s;
}
.footer__socialmedia a svg path {
  transition: 0.3s;

}
.footer__socialmedia a:hover svg path {
  fill: #C1B8F9;
}