/* === WORK PROCESS PAGE === */
*,
*::before,
*::after {
  box-sizing: border-box;
}
*{
  scrollbar-width: thin;
  scrollbar-color: var(--gray-color) transparent;
}
/* Chrome / Edge / Safari */
::-webkit-scrollbar{
  width: 6px;   /* tanka linija */
  height: 6px;
}

::-webkit-scrollbar-track{
  background: transparent;
}

::-webkit-scrollbar-thumb{
  background: var(--beige-color);
  border-radius: 0;   /* kockasto */
}

::-webkit-scrollbar-thumb:hover{
  filter: brightness(0.92);
}


html,
body {
  overflow-x: hidden;
   overflow-y: auto;
}

.work-process-page,
.work-process-page-wrapper,
.work-process-page-wrapper .text {
  overflow: visible;
  height: auto;
  max-height: none;
}


.work-process-page {
  position: relative;
  background-image: url(../assets/images/pages/process/process_back.webp);
  background-repeat: no-repeat;
  background-position: right bottom;
}

.work-process-page-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  align-items: center;
  width: 80%;
  margin: 80px auto 0;
  padding-bottom: 80px;
}

.work-process-page-wrapper .logo-circle {
  padding: 10px;
  background-color: #042028;
  border-radius: 50%;
  box-shadow: 20.8px 8.67px 26px rgba(0, 0, 0, 0.5);
  align-self: flex-start;
  margin-top: 25em;
  z-index: 100;
}

.work-process-page-wrapper .logo-circle img {
  width: 100px;
}

.work-process-page button {
  border: none;
  background-color: transparent;
  width: 50px;
  height: 50px;
  cursor: pointer;
  align-self: flex-start;
}

.work-process-page-wrapper .text {
  display: flex;
  flex-direction: column;
  gap: 30px;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.05em;
  color: #042028;
}

.work-process-page-wrapper .text h2 {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.work-process-page-wrapper .text p {
  font-size: 16px;
  font-weight: 400;
}

.work-process-page .circle {
  position: absolute;           /* ✅ da ne gura layout */
  width: 600px;
  height: 600px;
  top: -2%;
  left: -8%;
  border-radius: 50%;
  z-index: 0;                   /* iza sadržaja */
  pointer-events: none;         /* da ne smeta kliku */
 border: 1.2px solid rgba(103, 94, 38, 0.95);}
.work-process-page .second-circle {
  position: absolute;
  bottom: 5%;
  top: unset;
  left: 5%;
}

/* da sadržaj bude iznad krugova */
.work-process-page-wrapper,
.work-process-page-wrapper .logo-circle,
.work-process-page-wrapper .text,
.work-process-page button {
  position: relative;
  z-index: 2;
}
/* === TABLET SMALL (max-width: 767px) === */
@media (max-width: 767px) {
  .work-process-page {
    background-size: unset;
    background-position: center 18%;
    overflow-x: hidden;
  }

  .work-process-page-wrapper {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 90px 18px 60px;
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    text-align: center;
  }

  .work-process-page-wrapper .logo-circle {
    position: absolute;
    top: 2%;
    transform: translateX(-50%);
    margin-top: 0;
  }

  .work-process-page button {
    position: absolute;
    top: 16px;
    right: 16px;
  }

  .work-process-page-wrapper .text {
    margin-top: 7rem;
    align-items: center;
    width: 100%;
  }

  .work-process-page-wrapper .text h2,
  .work-process-page-wrapper .text p {
    font-size: 16px;
    padding-top: 0.5rem;
  }

  .work-process-page .circle {
    width: 230px;
    height: 230px;
    top: -80px;
    left: -160px;
    opacity: 0.7;
  }

  .work-process-page .second-circle {
    width: 260px;
    height: 260px;
    left: auto;
    right: -120px;
    bottom: -120px;
    opacity: 0.7;
  }

    .work-process-page {
    background-position: left bottom;
    background-size: auto; /* ili auto */
  }
}

/* === TABLET (768px - 1023px) === */
@media (min-width: 768px) and (max-width: 1023px) {
  .work-process-page {
    background-position-x: 100px;
    background-position-y: 138%;
  }
  .work-process-page-wrapper {
    width: 95%;
  }
  .work-process-page-wrapper .text h2,
  .work-process-page-wrapper .text p {
    font-size: 14px;
  }
  .work-process-page-wrapper .logo-circle img {
    width: 40px;
  }
  .work-process-page-wrapper .logo-circle {
    top: 10%;
    margin-top: 0;
  }
} 

/* === LAPTOP (1024px - 1439px) === */
@media (min-width: 1024px) and (max-width: 1439px) {
  .work-process-page {
    background-position-y: 138%;
  }
  .work-process-page .second-circle {
    position: absolute;

    top: 10%;
    left: 5%;
}
}

/* === DESKTOP (1440px - 1919px) === */
@media (min-width: 1440px) and (max-width: 1919px) {
  .work-process-page {
    background-position-y: 138%;
  }
   .work-process-page-wrapper 
 {
    margin-top: 5rem;
  }

}
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0;
  transition: opacity 300ms ease;
}
