body {
  font-family: "Poppins-Regular";
  margin: unset;
}

.home-image {
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
  width: 90%;
}

.responsive-image {
  width: 70%;
  object-fit: cover;
}

.custom-content {
  padding: 20px;
  flex: 1;
}

.custom-content h2 {
  color: #333;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.custom-content p {
  color: #666;
  font-size: 1em;
  margin-bottom: 20px;
}

.custom-buttons {
  display: flex;
  gap: 10px;
}

button {
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

.product-button {
  background-color: #39b766;
  color: white;
  border-radius: 10px;
}

.demo-button {
  background-color: #fff;
  color: #39b766;
  border: 1px solid #39b766;
  border-radius: 10px;
}

.banner {
  display: flex;
  flex-wrap: wrap;
  width: 89%;
  border: 2px solid #39b766;
  border-radius: 10px;
  padding: 20px;
}

.text-content {
  flex: 1;
  padding-right: 20px;
}

.text-content h2 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.text-content p {
  color: #666;
  font-size: 1em;
  margin-bottom: 10px;
}

.anniversary-image {
  width: 200px;
  object-fit: contain;
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none !important;
  color: unset;
}

a:hover {
  color: unset;
}

section {
  width: 100%;
}

section:nth-child(odd) {
  background-color: #f0f0f0;
}

section:nth-child(even) {
  background-color: #e1e1e1;
}

/* cenovnik */
.cenovnik .card {
  width: 400px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 20px;
  height: 60vh;
}

.cenovnik .card-header,
.cenovnik .card-footer {
  background-color: #39b766;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  padding: 10px;
  color: #fff;
  text-align: center;
}

.cenovnik .card ul {
  padding: 10;
}

.cenovnik .card ul li {
  margin-bottom: 10px;
}

.cenovnik .card ul li:before {
  content: "\2022";
  color: #39b766;
  font-size: 20px;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}
/* cenovnik */

/* main card */
.main-card-card {
  background-color: #f0f0f0;
  border: 2px solid #39b766;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  width: 300px;
  margin: 0 auto;
}

.main-card-card i {
  font-size: 40px;
  color: #39b766;
}

i {
  color: #39b766; /* Boja ikonice */
}

.main-card-title {
  font-weight: bold;
  margin: 10px 0;
}

.main-card-text {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

.main-card-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #39b766;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.main-card-button:hover {
  background-color: #39b766;
}

.erp-card {
  width: unset !important;
  text-align: unset;
  width: 89vw !important;
  height: 30vh;
}

.erp-card img {
  height: 150px;
  width: 150px;
}

.erp-card:hover,
.namenske-aplikacije .main-card-card:hover,
.erp-moduli .main-card-card:hover {
  cursor: pointer;
  background-color: #d8f3e1;
}

.proizvodi-container .main-card-card {
  width: 10vw;
}

.main-card-card:not(.erp-card) h2 {
  font-size: 1rem;
}

.nas-tim {
  width: 49.5% !important;
}
/* main card */

.namenske-aplikacije {
  display: grid;
  gap: 20px;
  padding: 20px;
  grid-template-columns: repeat(4, 1fr);
  justify-content: center;
}

.tabs {
  display: flex;
  justify-content: space-between;
  width: 90%;
}

.tabs-container {
  width: 90%;
}

.tablink {
  flex: 1;
  cursor: pointer;
  padding: 14px 16px;
  font-size: 17px;
  transition: background-color 0.3s;
  text-align: center;
}

.tablink:first-child {
  border-top-left-radius: 10px;
}

.tablink:last-child {
  border-top-right-radius: 10px;
}

.tablink:hover {
  background-color: #ddd;
}

.tablink.active {
  border: 2px solid #39b766;
  color: #39b766;
}

.tabcontent-container {
  width: 90%;
  background-color: white;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.tabcontent {
  display: none;
  padding: 20px;
  box-sizing: border-box;
  height: 50vh;
}

.tabcontent img {
  width: 150px;
}

.tabcontent ul {
  list-style: none;
  padding: 0;
}

.tabcontent ul li {
  margin: 10px 0;
  color: #333;
  display: flex;
  align-items: center;
}

.tabcontent ul li i {
  color: #39b766;
  margin-right: 10px;
}

@media only screen and (max-height: 730px) {
  .responsive-image {
    width: 100%;
  }

  .custom-content {
    padding: 15px;
  }
}

@media only screen and (min-width: 1680px) {
  .namenske-aplikacije {
    grid-template-columns: repeat(5, 1fr);
    justify-content: center;
  }
}

@media only screen and (max-width: 1400px) {
  .cenovnik .card {
    width: 300px;
  }
}

@media only screen and (max-width: 1300px) {
  .segment-section {
    flex-direction: column;
  }

  .cenovnik {
    height: auto;
    flex-direction: column;
    align-items: center;
  }

  .cenovnik .card {
    width: 90%;
    height: 40vh;
  }

  .namenske-aplikacije {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media only screen and (max-width: 992px) {
  .responsive-image {
    width: 100%;
  }

  .usluge-container {
    flex-direction: column;
    align-items: center;
  }

  .namenske-aplikacije {
    grid-template-columns: repeat(2, 1fr);
  }

  .main-card-card {
    width: 300px !important;
    margin-bottom: 10px;
  }

  .erp-card {
    height: unset;
    width: 100% !important;
  }

  .tabs,
  .tabcontent-container {
    width: 100%;
  }
}

@media only screen and (max-width: 768px) {
  .home-image {
    flex-direction: column;
  }

  .banner {
    flex-direction: column;
    align-items: center;
  }

  .text-content {
    padding-right: 0;
    text-align: center;
  }

  .anniversary-image {
    margin-top: 20px;
  }

  .namenske-aplikacije {
    grid-template-columns: 1fr;
  }

  .namenske-aplikacije .main-card-card {
    width: 100% !important;
  }

  .tabcontent img {
    width: 100px !important;
  }
}

@media only screen and (max-width: 576px) {
  .tabs {
    flex-direction: column;
  }

  .tablink {
    text-align: left;
    padding-left: 20px;
  }

  .tabcontent {
    height: 80vh;
  }

  .tablink:first-child{
    border-top-left-radius: 0 !important;
  }

  .tablink:last-child{
    border-top-right-radius: 0 !important;
  }
}

#scrollToTopBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  font-size: 1.3rem;
  padding: 10px;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background: #39b766;
}
