/*Hero Section*/
.heroSection .dot {
  width: calc(10px + 0.1vw);
  height: calc(10px + 0.1vw);
  border-radius: 50%;
  background-color: var(--brand-color);
  animation: dotAnimation 1.5s linear infinite;
}

.heroSection .label {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  text-transform: uppercase;
  padding: 1.1rem 1.5rem;
  border: 2px solid rgb(0, 128, 0, 0.5);
  width: fit-content;
  border-radius: 40px;
  font-size: calc(10px + 0.1vw);
}

.hero {
  background: url("../assets/svg/heroBg.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: calc(10px + 5vw) 0;
}

.hero .heroSection {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 calc(10px + 6vw);
  max-width: 100%;
  box-sizing: border-box;
}

.hero h1 {
  text-transform: uppercase;
  font-size: calc(10px + 1.5vw);
  margin-top: -0.2rem;
  margin-bottom: 0;
}

#heroTxt {
  color: var(--brand-color);
}

#heroTxt::after {
  content: "|";
  animation: blink 0.8s infinite;
}

.heroSection p {
  color: rgb(175 175 175 / 80%);
  font-size: calc(10px + 0.3vw);
  line-height: 1.8;
  max-width: calc(300px + 27vw);
  margin-top: calc(10px + 0.8vw);
  padding: 0 calc(10px + 1vw);
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes dotAnimation {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.5);
  }
}

.heroSection .btn,
.services a {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: calc(10px + 1vw);
}

.heroSection .btn a,
.services a {
  text-transform: uppercase;
  font-weight: 600;
  padding: calc(5px + 0.5vw);
  background: var(--brand-color);
  border: 2px solid transparent;
  font-size: calc(10px + 0.3vw);
  border-radius: 10px;
  cursor: pointer;
  color: black;
}

.heroSection .btn a:last-child {
  border: 2px solid;
  background: transparent;
  color: var(--brand-color);
}

.heroSection .btn a:hover,
.content .about a:hover,
.services a:hover {
  transform: translateY(-2px);
  cursor:
    url("../assets/cursors/click.svg") 16 16,
    pointer;
}

/*Content Section*/
.mainPage {
  background: rgb(22, 22, 22);
}

.content {
  margin: 0 calc(10px + 3vw);
}

/*About Section*/
.content .about {
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  gap: 3rem;
  margin-top: calc(10px - 1vw);
  position: relative;
  z-index: 1;
}

.content .about h4,
.services h4 {
  margin-bottom: -0.8rem;
  color: #71da08;
  font-size: calc(10px + 0.3vw);
  font-family: var(--normal-font);
  text-transform: uppercase;
}

.content .about p,
.content .services p {
  color: rgb(130, 130, 130);
  text-transform: none;
  font-family: var(--normal-font);
  line-height: 1.7;
}

.content .about .left-side {
  flex: 1;
  min-width: 0;
}

.content .about .btn {
  display: flex;
  gap: 1rem;
  font-weight: 700;
}

.content .about a:last-child {
  background-color: var(--brand-color);
  color: black;
}

.content .about a {
  margin-top: 2rem;
  padding: 0.7rem 1.5rem;
  border: 2px solid var(--brand-color);
  color: var(--brand-color);
  border-radius: 30px;
  background: transparent;
  text-transform: uppercase;
  font-size: calc(10px + 0.2vw);
  cursor: pointer;
}

/*About right side*/

.content .about .right-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 2px solid rgb(50, 50, 50, 0.6);
  flex: 1;
}

.content .about .right-side .stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-right: 1px solid rgb(50, 50, 50, 0.6);
  border-bottom: 1px solid rgb(50, 50, 50, 0.6);
}

.content .about .right-side .stat:nth-child(2n) {
  border-right: none;
}

.content .about .right-side .stat:nth-child(n + 3) {
  border-bottom: none;
}

.content .about .right-side .stat svg {
  width: calc(18px + 1vw);
  height: calc(18px + 1vw);
  fill: var(--brand-color);
  padding: 0.9rem;
  background: rgba(113, 218, 8, 0.1);
  border-radius: 12px;
  flex-shrink: 0;
}

.content .about .right-side .stat .stat-text {
  display: flex;
  flex-direction: column;
  text-transform: none;
}

.content .about .right-side .stat h3 {
  font-size: calc(10px + 0.9vw);
  margin: 0;
}

.content .about .right-side span {
  color: rgb(173, 173, 173);
  font-size: calc(10px + 0.2vw);
}

.content .about button:hover {
  background-color: var(--brand-color);
  color: black;
  border: 2px solid transparent;
  font-weight: 600;
  cursor:
    url("../assets/cursors/click.svg") 16 16,
    pointer;
}

/*mousse icon*/
.scroll-downs {
  position: absolute;
  top: calc(10px + 38vw);
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  z-index: 2;
  width: 10px;
  height: 15px;
}
.mousey {
  width: 2px;
  padding: 10px 15px;
  height: 35px;
  border: 2px solid rgb(105, 104, 104, 0.7);
  border-radius: 25px;
  opacity: 0.75;
  box-sizing: content-box;
}
.scroller {
  width: 3px;
  height: 10px;
  border-radius: 25%;
  background-color: #696868;
  animation-name: scroll;
  animation-duration: 2.2s;
  animation-timing-function: cubic-bezier(0.15, 0.41, 0.69, 0.94);
  animation-iteration-count: infinite;
}
@keyframes scroll {
  0% {
    opacity: 0;
  }
  10% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(15px);
    opacity: 0;
  }
}

/* Tablets */
@media (max-width: 1024px) {
  .content {
    padding-top: 1rem;
  }

  .content .about {
    gap: 1.5rem;
  }

  .content .about p {
    width: 100%;
  }

  .content .about .right-side .stat {
    padding: 1.2rem 1.2rem;
  }

  .content .about .btn {
    justify-content: center;
    align-items: center;
  }

  .mouse {
    display: none;
  }
}

@media (max-width: 850px) {
  .content .about {
    flex-direction: column;
    gap: 2rem;
  }

  .content .about .left-side {
    width: 100%;
  }

  .content .about p {
    width: 100%;
    margin: 0 auto;
  }

  .content .about .right-side {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .content .about .right-side {
    grid-template-columns: 1fr;
  }

  .content .about .right-side .stat {
    border-right: none !important;
    border-bottom: 1px solid rgb(50, 50, 50, 0.6);
  }

  .content .about .right-side .stat:last-child {
    border-bottom: none;
  }

  .content .about .right-side .stat svg {
    width: calc(18px + 3vw);
    height: calc(18px + 3vw);
  }
}

/*hero Seprate*/
.hero-seprater {
  line-height: 0;
  margin-top: calc(10px + 0.2vw);
  position: relative;
  z-index: 1;
}

.hero-seprater svg {
  display: block;
  width: 100%;
  fill: rgb(22, 22, 22);
}

/*Hero Social*/

.hero .social {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: calc(10px + 4vw);
  gap: 1rem;
}

.hero .social svg {
  width: calc(18px + 1vw);
  height: calc(18px + 1vw);
  fill: var(--brand-color);
  padding: 0.9rem;
  background: rgba(113, 218, 8, 0.1);
  border-radius: 12px;
  flex-shrink: 0;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    fill 0.25s ease;
  cursor:
    url("../assets/cursors/pointer.svg") 16 16,
    pointer;
}

.hero .social svg:hover {
  background: rgba(113, 218, 8, 0.22);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 6px 18px rgba(113, 218, 8, 0.3);
}

.hero .social svg:active {
  transform: translateY(-1px) scale(0.94);
  background: rgba(113, 218, 8, 0.35);
  cursor:
    url("../assets/cursors/click.svg") 12 12,
    pointer;
}

/* Language scroll */
.languageTxt {
  text-align: center;
  text-transform: uppercase;
  margin: calc(10px + 4vw) 0;
  font-size: calc(10px + 0.5vw);
}

.languageTxt b {
  color: var(--brand-color);
}

.languageScroll {
  display: flex;
  margin: calc(10px - 4vw) 0;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
}

.tech-slider {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  position: relative;
  max-width: 100%;
  overflow-x: hidden;
}

.tech-slider::before,
.tech-slider::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(60px + 8vw);
  z-index: 2;
  pointer-events: none;
}

.tech-slider::before {
  left: 0;
  background: linear-gradient(
    to right,
    rgb(22, 22, 22) 0%,
    rgba(22, 22, 22, 0) 100%
  );
}

.tech-slider::after {
  right: 0;
  background: linear-gradient(
    to left,
    rgb(22, 22, 22) 0%,
    rgba(22, 22, 22, 0) 100%
  );
}

.track {
  display: flex;
  width: max-content;
  animation: scroll 25s linear infinite;
}

.tech-slider:hover .track {
  animation-play-state: paused;
}

.icon-card {
  width: 90px;
  height: 90px;
  margin: 0 12px;
  border-radius: 24px;
  background: #1d1d1d;
  border: 2px solid oklch(28.908% 0.00003 271.152);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
  cursor: pointer;
}

.icon-card svg {
  width: 42px;
  height: 42px;
  filter: grayscale(100%) brightness(1.2);
  transition: 0.3s ease;
  cursor: pointer;
}

.icon-card:hover,
.icon-card:active {
  background: #252525;
  border-color: rgba(128, 255, 0, 0.452);
  transform: translateY(-4px);
}

.icon-card:hover svg,
.icon-card:active svg {
  filter: grayscale(0%);
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Services Sections */
.services {
  margin-top: calc(10px + 5vw);
  display: flex;
  align-items: center;
  gap: calc(15px + 2vw);
  flex-wrap: wrap;
}

.services .right-side {
  flex: 1 1 320px;
  min-width: 0;
}

.services .servicesImg {
  flex: 1 1 320px;
  display: block;
}

.services .servicesImg img {
  width: 100%;
  max-width: 700px;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

@media (max-width: 1024px) {
  .services .servicesImg img {
    aspect-ratio: 1 / 1;
    max-width: 480px;
  }

  .services .servicesImg {
    order: -1;
  }
}

@media (max-width: 768px) {
  .services {
    flex-direction: column;
  }

  .services .servicesImg img {
    max-width: 100%;
  }
}

/* Projects section */
.projects {
  background-color: rgb(250, 246, 239);
  color: black;
  padding: calc(10px + 1vw) calc(10px + 1vw);
  margin-top: calc(10px + 3vw);
  position: relative;
}

.projects .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  color: #73d015;
  font-size: calc(10px + 0.4vw);
}

.projects .inner p {
  text-transform: none;
  color: rgb(82, 82, 82);
  margin-top: -1rem;
  font-size: calc(10px + 0.3vw);
}

.projects .inner .rightTxt,
.projects .mobileTxt {
  display: flex;
  align-items: center;
  background-color: transparent;
  border: 2px solid #73d015;
  padding: calc(10px + 0.1vw);
  border-radius: 30px;
  font-size: calc(10px + 0.2vw);
  cursor: pointer;
}

.projects .inner svg,
.projects .mobileTxt svg {
  width: calc(10px + 0.8vw);
  height: calc(10px + 1vw);
  fill: #73d015;
}

.projects .inner .rightTxt:hover,
.projects .mobileTxt:hover {
  background-color: #73d015;
  color: black;

  cursor:
    url("../assets/cursors/click.svg") 16 16,
    pointer;
}

.projects .inner .rightTxt:hover svg path,
.projects .mobileTxt:hover svg path,
.card .inside a:hover svg path {
  fill: black;
  cursor:
    url("../assets/cursors/click.svg") 16 16,
    pointer;
}

.projects .mobileTxt {
  visibility: hidden;
}

/* contactbtn */
.contactBtn svg {
  background: var(--brand-color);
  width: calc(2rem + 1vw);
  height: calc(2rem + 1vw);
  padding: 0.65rem;
  border-radius: 50%;
  box-sizing: border-box;
  z-index: 100;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  animation: pulse 2s infinite;
}

.contactBtn svg:hover {
  transform: scale(1.08);
}

.contactBtn svg:active {
  transform: scale(0.95);
}

.contactBtn svg:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(127, 255, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(127, 255, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(127, 255, 0, 0);
  }
}

.contactBtn .overlay {
  text-transform: uppercase;
  position: fixed;
  bottom: calc(2rem + 1.5vw + 2.25rem);
  right: 1.5rem;
  width: calc(200px + 5vw);
  max-width: 90vw;
  background: rgba(30, 30, 30, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: calc(1rem + 1vw);
  border-radius: 1rem;
  z-index: 60;
  text-align: center;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.35),
    0 0 20px rgba(255, 255, 255, 0.05);

  opacity: 0;
  visibility: hidden;
  transform: translateY(30px) scale(0.96);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    visibility 0s linear 0.35s;
}

.contactBtn .overlay.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    visibility 0s linear 0s;
  animation: float 4s ease-in-out infinite 0.35s;
}

.contactBtn h3 {
  margin-top: 0;
  margin-bottom: 1.25rem;
  color: #fff;
  letter-spacing: 1.5px;
  font-size: calc(0.75rem + 0.3vw);
}

.contactBtn .btn {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.contactBtn .btn a {
  display: block;
  background: var(--brand-color);
  color: #000;
  padding: 0.75rem 1.25rem;
  border-radius: 0.6rem;
  text-decoration: none;
  font-weight: 600;
  font-size: calc(0.7rem + 0.3vw);
  letter-spacing: 0.5px;
  border: 2px solid var(--brand-color);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    filter 0.3s ease;
}

.contactBtn .overlay a:last-child {
  background: transparent;
  color: var(--brand-color);
}

.contactBtn .btn a:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  filter: brightness(1.05);
}

.contactBtn .btn a:active {
  transform: translateY(0) scale(0.98);
}

.contactBtn .btn a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 480px) {
  .contactBtn svg {
    bottom: 1rem;
    right: 1rem;
  }

  .contactBtn .overlay {
    right: 1rem;
    bottom: calc(2rem + 1.5vw + 1.75rem);
    width: calc(160px + 10vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .contactBtn svg,
  .contactBtn .overlay {
    animation: none;
  }
}
