
.no-scroll { overflow: hidden; }

/*ANIMATIONS*/

.focus-in-expand {
  -webkit-animation: focus-in-expand 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94)
    both;
  animation: focus-in-expand 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.slide-in-blurred-top {
  -webkit-animation: slide-in-blurred-top 0.6s cubic-bezier(0.23, 1, 0.32, 1)
    both;
  animation: slide-in-blurred-top 0.6s cubic-bezier(0.23, 1, 0.32, 1) both;
}

@-webkit-keyframes focus-in-expand {
  0% {
    letter-spacing: -0.5em;
    -webkit-filter: blur(12px);
    filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
    filter: blur(0px);
    opacity: 1;
  }
}
@keyframes focus-in-expand {
  0% {
    letter-spacing: -0.5em;
    -webkit-filter: blur(12px);
    filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
    filter: blur(0px);
    opacity: 1;
  }
}
@-webkit-keyframes slide-in-blurred-top {
  0% {
    -webkit-transform: translateY(-1000px) scaleY(2.5) scaleX(0.2);
    transform: translateY(-1000px) scaleY(2.5) scaleX(0.2);
    -webkit-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
    -webkit-filter: blur(40px);
    filter: blur(40px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0) scaleY(1) scaleX(1);
    transform: translateY(0) scaleY(1) scaleX(1);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-filter: blur(0);
    filter: blur(0);
    opacity: 1;
  }
}
@keyframes slide-in-blurred-top {
  0% {
    -webkit-transform: translateY(-1000px) scaleY(2.5) scaleX(0.2);
    transform: translateY(-1000px) scaleY(2.5) scaleX(0.2);
    -webkit-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
    -webkit-filter: blur(40px);
    filter: blur(40px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0) scaleY(1) scaleX(1);
    transform: translateY(0) scaleY(1) scaleX(1);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-filter: blur(0);
    filter: blur(0);
    opacity: 1;
  }
}

/*GENERAL*/
body {
  margin: 0;
  padding: 0;
}

/*FONTS*/
h1,
h2 {
  font-size: 50px;
  font-family: "Oswald";
  letter-spacing: 3.5px;
}

h3 {
  font-size: 36px;
  font-family: "Oswald";
  letter-spacing: 3.5px;
  color: #112234;
}

h4 {
  font-size: 28px;
  font-family: "Oswald";
  letter-spacing: 2px;
  color: #112234;
}

a {
  font-family: "Oswald";
  font-size: 20px;
  font-weight: 400;
  text-decoration: none;
}

ul {
  list-style-type: none;
}
p,
span,
li,
input,
label,
h5,
select {
  font-size: 20px;
  line-height: 25px;
  letter-spacing: 2px;
  font-family: "Lato", Arial;
}

p {
  line-height: 25px;
  letter-spacing: 1.5px;
}

@media (max-width: 1600px) {
  h1,
  h2 {
    font-size: 45px;
  }
  h3 {
    font-size: 32px;
  }
  h4 {
    font-size: 26px;
  }
  a {
    font-size: 18px;
  }
  p,
  span,
  li,
  input,
  label,
  h5,
  select {
    font-size: 16px;
    letter-spacing: 2px;
  }
}
@media (max-width: 1400px) {
  h1,
  h2 {
    font-size: 40px;
  }
  h3 {
    font-size: 28px;
  }
  h4 {
    font-size: 22px;
  }
  a {
    font-size: 16px;
  }
  p,
  span,
  li,
  input,
  label,
  h5,
  select {
    font-size: 16px;
  }
}
@media (max-width: 1200px) {
  h1,
  h2 {
    font-size: 36px;
  }
  h3 {
    font-size: 24px;
  }
  h4 {
    font-size: 20px;
  }
  a {
    font-size: 14px;
  }
  p,
  span,
  li,
  input,
  label,
  h5,
  select {
    font-size: 14px;
  }
}

@media (max-width: 1200px) {
  h1,
  h2 {
    font-size: 34px;
  }
  h3 {
    font-size: 22px;
  }
  h4 {
    font-size: 18px;
  }
  a {
    font-size: 12px;
  }
  p,
  span,
  li,
  input,
  label,
  h5,
  select {
    font-size: 15px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  h1,
  h2 {
    font-size: 45px;
  }
  h3 {
    font-size: 32px;
  }
  h4 {
    font-size: 26px;
  }
  a {
    font-size: 18px;
  }
  p,
  span,
  li,
  input,
  label,
  h5,
  select {
    font-size: 16px;
    letter-spacing: 2px;
  }
}

.hero-global {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  justify-content: center;
  /* z-index: 1; */
  z-index: -1;
  position: relative;
  margin-top: 0;
  background-position: center;
  background-size: cover;
  text-align: center;
  padding: 5vh 5%;
}

.hero-global::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

@media (max-width: 768px) 
{
  .hero-global {
    margin-top: 90px;
  }
}

/*FORM STYLES*/
.form-container {
  display: flex;
  justify-content: center;
}

.form-container form {
  width: 100%;
  padding: 50px 0;
  margin: 0 auto;
  position: relative;
}

.stepform1 {
  margin: 0 auto;
  width: 1200px;

}

.form-container form input {
  width: 45%;
  margin: 20px 5px;
  background-color: #fff;
  font-family: "Oswald";
  font-weight: 500;
  padding: 15px 20px;
  border: none;
  letter-spacing: 2px;
  font-size: 20px;
  color: #112234;
  border-radius: 10px;
}

.form-container form textarea {
  width: 95%;
  height: 300px;
  background-color: #fff;
  font-family: "Oswald";
  font-weight: 500;
  margin: 20px 5px;
  padding: 15px 20px;
  border: none;
  font-size: 20px;
  border-radius: 10px;
  color: #112234;
}

.form-container form textarea::placeholder,
.form-container form input::placeholder {
  color: #112234;
}

.form-container form button {
  background-color: #ad1929;
  min-height: 50px;
  height: auto;
  min-width: 180px;
  width: auto;
  padding: 5px 20px;
  position: absolute;
  right: 0;
  font-family: "Lato";
  font-size: 20px;
  margin-right: 10px;
  border-radius: 20px;
  border: none;
  color: #fff;
  z-index: 10;
  bottom: -50px;
  transition: 0.3s;
}

.form-container form button:hover {
  opacity: 0.8;
  transition: 0.3s;
  border-radius: 15px;
  cursor: pointer;
}

/* Screen size: Max 1600px */
@media (max-width: 1600px) {
  .form-container form input {
    width: 45%;
  }

  .form-container form textarea {
    width: 94.5%;
  }

  .form-container form button {
    height: 45px;
    width: 160px;
    font-size: 18px;
    margin-right: 30px;
  }
}

/* Screen size: Max 1450px */
@media (max-width: 1450px) {
 

  .form-container form input {
    width: 45%;
  }

  .form-container form textarea {
    width: 94.5%;
  }

  .form-container form button {
    height: 45px;
    width: 160px;
    font-size: 18px;
    margin-right: 30px;
  }
}

/* Screen size: Max 1400px */
@media (max-width: 1400px) {
  .form-container form input {
    width: 45%;
    max-width: 100%;

  }

  .form-container form textarea {
    width: 94.5%;
  }

  .form-container form button {
    height: 45px;
    width: 160px;
    font-size: 16px;
    margin-right: 30px;
  }
}

/* Screen size: Max 1300px */
@media (max-width: 1300px) {
  .form-container form input {
    width: 45%;
  }

  .form-container form textarea {
    width: 94.5%;
  }

  .form-container form button {
    height: 45px;
    width: 160px;
    font-size: 16px;
    margin-right: 30px;
  }
}

/* Screen size: 768px - 1024px (Tablet) */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .form-container form {
    width: 1500px;
  }

  .form-container form input {
    width: 45%;
  }

  .form-container form textarea {
    width: 94.5%;
  }

  .form-container form button {
    height: auto;
    width: auto;
    font-size: 16px;
    margin-right: 30px;
  }
}

/* Mobile view (Max 768px) */
@media (max-width: 768px) {
  .form-container form {
    width: 100%;
    padding: 50px 0 0 0;
  }
  
  .form-container form input {
    width: 85%;
    font-size: 14px;
  }

  .form-container form textarea {
    width: 85%;
    height: 200px;
    font-size: 14px;
    letter-spacing: 3px;
  }

  .form-container form button {
    height: auto;
    width: auto;
    min-height: 35px;
    min-width: 100px;
    font-size: 15px;
    margin-right: 10px;
  }
}

/* Mobile view (Max 375px) */
@media (max-width: 375px) {
  .form-container form {
    width: 100%;
  }

  .form-container form input {
    width: 85%;
  }

  .form-container form textarea {
    width: 85%;
  }

  .form-container form button {
    font-size: 12px;
    margin-right: 10px;
    padding: 5px;
    min-width: 100px;
    width: auto;
  }
}
/*---------------------*/

/*PAGINATION*/
.pagination {
  width: 100%;
  display: flex;
  justify-content: center;
  text-align: center;
  margin: 5vh auto;
  position: relative;
  z-index: 30;
}

.pagination .active {
  background-color: #ad1929;
  color: #fff;
  border-radius: 0;
}

.pagination ul li:hover {
  background-color: #ad1929;
  color: #fff;
  transition: 0.3s;
}

.pagination ul {
  padding: 0;
}

.pagination ul li {
  margin: 0 10px;
  float: left;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 0;
  background-color: #0c2d51;
  color: #fff;
  border: none;
  font-size: 32px;
  cursor: pointer;
  font-weight: 600;
  font-family: "Oswald";
  transition: 0.3s;
}

.pagination-btn {
  background-color: transparent !important;
  color: #0c2d51 !important ;
}

.pagination-btn a {
  font-size: 30px;
}
.prev {
  padding-right: 20px;
  cursor: pointer;
}
.next {
  padding-left: 20px;
  cursor: pointer;
}
/*--------------------------------*/

/*POSLOVI OPTIONS*/
.poslovi-main {
  background-color: #ececef;
  text-align: center;
  padding: 5vh 5%;
}

.poslovi-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.results-info span {
  color: #707070;
  font-size: 14px;
}

.results-info strong {
  color: #112234;
}

.search-bar {
  display: flex;
  align-items: center;
}

.search-bar input {
  padding: 2px 10px;
  width: 260px;
  border: none;
  border-radius: 0;
  outline: none;
}

.search-bar button.search-btn {
  background-color: #0c2d51;
  border: none;
  padding: 5px 10px;
  width: 64px;
  height: 28px;
  cursor: pointer;
  margin-left: 5px;
  border-radius: 0;
}

.search-bar button img {
  width: 16px;
  height: 16px;
}

.filter-options {
  display: flex;
  align-items: center;
}

.filter-options label {
  margin-left: 10px;
  font-family: "Barlow";
  margin-right: 5px;
  color: #000;
  font-size: 14px;
}

.category-select,
.sort-select {
  padding: 5px 10px;
  border: 1px solid #0c2d51;
  background-color: #0c2d51;
  color: white;
  border-radius: 0;
  outline: none;
  margin-right: 10px;
  font-size: 14px;
}

.view-toggle {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: 20px;
  margin-bottom: -5px;
}

.view-toggle button {
  background-color: #f5f6f8;
  border: none;
  cursor: pointer;
  margin-left: 5px;
}

.view-toggle a img {
  width: 25px;
  height: 25px;
}

.view-toggle button.grid-view {
  border-radius: 4px 0 0 4px;
  background-color: transparent;
}

.view-toggle button.list-view {
  background-color: transparent;
  border-radius: 0 4px 4px 0;
}

.inactive {
  opacity: 0.3;
}

/*--------------------------------*/

/*WARNING SIGN*/
.unfinished,
.finished {
  padding-left: 20px;
}
.unfinished::before {
  content: "";
  display: inline-block;
  background-image: url("/images/uzvicnik.png");
  background-size: contain; /* Ensure the checkmark scales properly */
  background-repeat: no-repeat;
  width: 11.5px; /* Adjust width based on your checkmark size */
  height: 11.5px; /* Adjust height based on your checkmark size */
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%); /* Vertically center the checkmark */
}
.finished::before {
  content: "";
  display: inline-block;
  background-image: url("/images/checkmarkblue.png");
  background-size: contain; /* Ensure the checkmark scales properly */
  background-repeat: no-repeat;
  width: 13.5px; /* Adjust width based on your checkmark size */
  height: 9px; /* Adjust height based on your checkmark size */
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%); /* Vertically center the checkmark */
}
/*WARNING SIGN*/

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .poslovi-main {
    margin-top: 10vh;
  }
  
  .poslovi-header {
    flex-direction: column;
    align-items: start;
  }
  .filter-options {
    display: flex;
    gap: 20px;
    margin-top: 2vh;
    grid-template-columns: repeat(2, 1fr);
  }
   .view-toggle {
    display: none;
  }
}

@media only screen and (max-width: 768px) {
  .prev {
    padding-right: 0;
  }
  .next {
    padding-left: 0;
  }
  .filter-options {
    display: grid;
    gap: 20px;
    margin-top: 2vh;
    grid-template-columns: repeat(2, 1fr);
  }

  .filter-options label {
    font-weight: 500;
    justify-self: start;
    margin: 0;
  }
  .poslovi-header {
    flex-direction: column;
    align-items: start;
    padding: 0;
  }
  .results-info strong {
    color: #112234;
  }
  .search-bar {
    width: 100%;
  }
  .search-bar input {
    width: 300px;
  }

  .view-toggle {
    display: none;
  }
  .pagination ul li {
    margin: 0 4px;
  }

  .pagination img {
    height: 25px;
    width: auto;
  }
}

@media (max-width: 376px) {
  .pagination ul li {
    margin: 0 5px;
  }

  .hero-global {
    margin-top: 80px;
  }

  .pagination img {
    height: 25px;
    width: auto;
  }
}


details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}

.language-select-details {
  position: relative;
  cursor: pointer;
  margin-left: 5px;
}
.language-select-details summary {
  display: flex;
  align-items: center;
  border: none;
  font-family: Oswald;
  font-size: 16px;
  font-weight: 300;
}
.language-select-details summary svg {
  margin-left: 5px;
}
.language-select-details ul {
  position: absolute;
  display: flex;
  flex-direction: column;
  padding-left: 0;
  gap: 0;
  background-color: white;
}
.language-select-details ul li {
  background-color: white;
}
.language-select-details ul li a {
  border: none;
  font-family: Oswald;
  font-size: 16px;
  font-weight: 300;
}
.language-select-details ul li a:hover {
  border-top: none;
}