:root {
  --green1: #75C043;
  --dark-green: #084C41;
  --green2: #C0E662;
  --yellow: #F8CC44;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  border: none;
}

*:focus {
  outline: none;
}

a:link {
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/*Text*/
h1 {
  font-family: "Baloo Chettan 2";
  font-size: 60px;
  line-height: 55px;
  font-weight: 300;
  color: #323232;
  padding: 20px 0;
}

h2 {
  font-family: "Baloo Chettan 2";
  font-size: 40px;
  line-height: 40px;
  font-weight: 300;
  color: #323232;
}

h3 {
  font-family: "Baloo Chettan 2";
  font-size: 27px;
  line-height: 30px;
  font-weight: 300;
  color: #323232;
}

.p {
  font-family: "Plus Jakarta Sans";
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 1px;
  color: #787878;
}

.white {
  color: white !important;
}

/*.btn{
  display: inline-block;
  font-family: "Plus Jakarta Sans";
  font-size: 18px;
  font-weight: 100;
  color: white;
  padding: 15px 24px;
  background-color: var(--green1);
  border-radius: 5px;
  cursor: pointer;
}*/
.btn {
  font-family: "Plus Jakarta Sans";
  font-size: 18px;
  font-weight: 500;
  color: white;
  padding: 15px 24px;
  background-color: var(--green1);
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  column-gap: 10px;
  display: inline-flex;
  align-items: center;
}

.btn-y {
  font-family: "Plus Jakarta Sans";
  font-size: 18px;
  font-weight: 500;
  color: var(--dark-green);
  padding: 15px 24px;
  background-color: var(--yellow);
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  column-gap: 10px;
  display: inline-flex;
  align-items: center;
}

.btn-secondary {
  font-family: "Plus Jakarta Sans";
  font-size: 18px;
  font-weight: 500;
  color: white;
  text-decoration: underline !important;
  padding: 16px 16px;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  column-gap: 10px;
  display: inline-flex;
  align-items: center;
}

.btn-icon {
  transition: all .3s ease-in-out;
}

.btn:hover>.btn-icon {
  transform: rotate(45deg);
  margin-left: 5px;
}

.txt-center {
  text-align: center;
}

.max-width-500 {
  max-width: 500px;
}

.max-width-300 {
  max-width: 300px;
}

/*Text Block*/
.text-block-left {
  display: flex;
  flex-direction: column;
  row-gap: 30px;
  grid-column-start: 2;
  grid-column-end: 7;
  max-width: 550px;
  margin-left: -33px;
  /*align-self: center;*/
}

.text-block-right {
  display: flex;
  flex-direction: column;
  row-gap: 30px;
  grid-column-start: 7;
  grid-column-end: 12;
  max-width: 550px;
}
.mb-25 {
  margin-bottom: 25px;
}
.text-block-full-width {
  /* display: flex; */
  grid-row-start: 1;
  grid-column-start: 2;
  grid-column-end: 12;
  max-width: none;
  padding-bottom: 100px;
  margin-left: -33px;
}

.subvencije-step {
  opacity: 0;
  transform: translateX(-100px);
  /* Pomera elemente s leve strane */
  transition: all 0.6s ease-in-out;
  /* Dodaje tranziciju za animaciju */
}

.heading {
  display: flex;
  flex-direction: row;
  column-gap: 30px;
  color: white;
}

.h-line {
  width: 3px;
  background-color: var(--green1);
  flex-shrink: 0;
  transition: all .2s ease-in-out;
}

.green2 {
  background-color: var(--green2);
}

.text {
  margin-left: 33px;
}

/*Hero Section*/
.hero {
  display: flex;
  width: 100vw;
  height: 100vh;
  max-height: 1080px;
  background-image: url(materials/home_hero.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 10px;
  margin: auto;
}

.hero_cont {
  width: 100%;
  height: 100%;
  max-width: 1286px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 180px auto;

}

.nav_cont {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  grid-column-start: 2;
  grid-column-end: 12;
  grid-row-start: 1;
}

.nav_logo {
  width: 160px;
  filter: drop-shadow(0 0 50px black);
}

.hero-p {
  grid-column-start: 2;
  grid-column-end: 8;
  display: flex;
  flex-direction: column;
  padding-top: 30%;
  max-width: 650px;
  row-gap: 30px;
  filter: drop-shadow(0 0 100px black);
}

.heading {
  padding: 0;
}


/*Sections*/

.section-full {
  width: calc(100vw - 80px);
  margin: auto;
  position: relative;
  padding-bottom: 100px;
}

.section-100-vw-gray {
  background-color: #F5F5F5;
  z-index: -3;
  position: relative;
  padding: 100px 0;
}

.section-grid-12 {
  display: grid;
  padding: 100px 0;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 20px;
  width: calc(100vw - 80px);
  max-width: 1286px;
  margin: auto;
  border-radius: 10px;
  position: relative;
  align-items: center;
}

.section4-bg-image {
  background-image: url(materials/sec4_bg.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right;
  overflow: hidden;
  z-index: -2;
}



/*Section 01*/
.icons-block {
  display: flex;
  flex-direction: column;
  row-gap: 80px;
  grid-column-start: 8;
  grid-column-end: 13;
  max-width: 440px;
}

.icon-c {
  display: flex;
  flex-direction: row;
  column-gap: 35px;
  transition: all .5s ease-in-out;
  flex-shrink: 0;
}

/*Section 02*/

.section-img {
  width: 100%;
  height: 550px;
  background-image: url(materials/section2_img.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  border-radius: 10px;
  transition: background-size 0.5s ease;
  /* Dodajemo tranziciju za glatko zumiranje slike */
}

.section-text {
  position: absolute;
  left: 50%;
  background-color: #ffffffa6;
  border-radius: 10px;
  padding: 60px;
  width: 800px;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(10px);
}

/*Section 03*/

.sec3-icons {
  grid-column-start: 2;
  grid-column-end: 7;
  display: flex;
  flex-direction: column;
  row-gap: 40px;
}

.icon-row {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  align-items: start;
}

/*Section 04*/
.circle {
  position: absolute;
  background-color: var(--dark-green);
  aspect-ratio: 1/1;
  background-color: var(--dark-green);
  width: 120%;
  border-radius: 100%;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  z-index: -1;
  transition: width 1s ease;
  /* Dodajemo tranziciju za glatku animaciju promene 分irine */
  filter: blur(0.5px);
  /* Dodajemo motion blur efekat */
}


/*Section 05*/

.table-steps {
  grid-column-start: 8;
  grid-column-end: 12;
  display: flex;
  flex-direction: column;
  row-gap: 40px;
}

.step {
  display: grid;
  grid-template-columns: 100px auto;
  column-gap: 15px;
}

.number {
  font-family: "Baloo Chettan 2";
  font-size: 80px;
  color: var(--green1);
  width: 100px;
  text-align: right;
  align-self: flex-start;
  line-height: .7;
}
/*Reference*/
.section-reference
{
    max-width:1440px;
    margin:100px auto;
}
.references {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    gap: 20px;
}
.reference-container{
    font-family: "Plus Jakarta Sans";
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding: 20px;
    gap: 20px;
    
}
.reference-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    width: 100%;
    overflow: hidden;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.reference-card:hover {
    transform: translateY(-5px);
}

.reference-card img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
    max-height: 200px;
    /* da slika nikad ne bude viša od teksta */
}

.reference-content {
    padding: 15px;
}

.reference-content h2 {
    margin: 0 0 10px;
    font-size: 1.4rem;
}

.reference-content p {
    margin: 5px 0;
    font-size: 0.95rem;
}
/*Galerry*/
.section-gallery {
  width: 100vw;
  background-color: #F5F5F5;
}

.pswp-gallery {
  padding: 100px 100px 300px 100px;
  max-width: 1440px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.pswp-gallery img {
  max-width: 300px;
  cursor:pointer;
}

/*Gallery-Overlay*/
.gallery-overlay {
  width: 100%;
  height: 100%;
  z-index: 999;
  position: fixed;
  top: 0px;
  left: 0px;
  background-color: rgba(0, 0, 0, 0.336);

  transform: scale(0);

  transition: transform 0.3s ease;

}

.gallery-overlay.scale-up {
  transform: scale(1);

}

.gallery-overlay.scale-down {
  transform: scale(0);

}

.buttonClose {
  margin-top: 10px;
  margin-left: 90%;
  background-color: transparent;
  color: var(--green1);
  font-size: 32px;
  font-weight: bold;
  transition: 1s ease;
}

.buttonClose:hover {
  background-color: transparent;
  color: var(--dark-green);
  font-weight: bold;
}

.gallery-overlay-image {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-overlay-image img {
  width: 40%;
  border: 5px solid var(--green1);
  border-radius: 25px;
  box-shadow: 10px 10px 50px black;
  margin: 0 auto;
}

/*Footer*/
.footer {
  background-color: var(--dark-green);
  width: 100vw;
}

.footer-w {
  width: 100%;
  max-width: 1286px;
  margin: auto;
  display: grid;
  padding: 0 40px;
}

.overflow-img {
  transform: translateY(-50%);
  grid-row-start: 1;
}

.footer-c {
  grid-row-start: 2;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 20px;
  padding-bottom: 100px;
}

.footer-h-c {
  grid-column-start: 2;
  grid-column-end: 6;
}

.footer-h {
  display: flex;
  flex-direction: row;
  column-gap: 30px;
  margin-left: -33px;
}

.contact-form-w {
  grid-column-start: 6;
  grid-column-end: 12;
}

form {
  grid-column-start: 6;
  grid-column-end: 12;
}

.contact-form-cont {
  display: flex;
  flex-direction: column;
}

.input-r1 {
  display: flex;
  flex-direction: row;
  column-gap: 15px;
  width: 100%;
}

.input-field {
  display: flex;
  flex-direction: column;
  row-gap: 15px;
  width: 100%;
  padding-bottom: 20px;
}

input {
  background-color: var(--dark-green);
  border-bottom: 1px solid var(--green2);
  outline: none;
  height: 40px;
  font-family: "Plus Jakarta Sans";
  font-size: 16px;
  color: white;
  font-weight: 200;
}

input::placeholder {
  font-family: "Plus Jakarta Sans";
  font-size: 14px;
  font-weight: 100;
  font-style: italic;
  color: white;
  transform: translateX(10px);
}

textarea {
  height: 250px;
  background-color: var(--dark-green);
  outline: none;
  border-bottom: 1px solid var(--green2);
  resize: none;
  font-family: "Plus Jakarta Sans";
  font-size: 16px;
  color: white;
  font-weight: 200;
}

textarea::placeholder {
  font-family: "Plus Jakarta Sans";
  font-size: 14px;
  font-weight: 100;
  font-style: italic;
  color: white;
}

.contact-form-btn {
  font-family: "Plus Jakarta Sans";
  font-size: 18px;
  font-weight: 500;
  color: var(--dark-green);
  padding: 15px 24px;
  background-color: var(--yellow);
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  column-gap: 15px;
  display: inline-flex;
  align-items: center;
}

.btn-icon {
  transition: all .3s ease-in-out;
}

.contact-form-btn:hover>.btn-icon {
  transform: rotate(45deg);
  margin-left: 5px;
}

.footer-links {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  padding-bottom: 40px;
  column-gap: 20px;
}

.footer-social {
  display: flex;
  flex-direction: row;
  column-gap: 50px;
  grid-column-start: 6;
  grid-column-end: 12;
  align-self: end;
  justify-content: flex-end;
}

.social-text {
  font-family: "Plus Jakarta Sans";
  font-size: 18px;
  color: white;
  cursor: pointer;
  padding-bottom: 5px;
  transition: 0.3s ease-in-out;
}

.social-text::after {
  content: "";
  position: absolute;
  width: 100%;
  background-color: white;
  height: 1px;
  position: absolute;
  left: 0;
  bottom: 0;
  transform: scaleX(0);
  transition: 0.3s ease-in-out;
}

.social-text:hover::after {
  transform: scaleX(1);
  transition: 0.3s ease-in-out;
}

.social-text:hover {
  transform: translateY(-10px);
  transition: 0.3s ease-in-out;
}

.footer-contact {
  grid-column-start: 2;
  grid-column-end: 5;
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  align-content: flex-end;
}

.footer-contact-item {
  display: grid;
  grid-template-columns: 20px auto;
  column-gap: 20px;
  align-items: center;
  cursor: pointer;
  transition: all .1s ease-in-out;
}

.footer-contact-item:hover {
  margin-left: 4px;
}



@media only screen and (max-width: 1365px) {

  h1 {
    font-family: "Baloo Chettan 2";
    font-size: 55px;
    line-height: 50px;
    font-weight: 300;
    color: #323232;
    padding: 20px 0;
  }

  h2 {
    font-family: "Baloo Chettan 2";
    font-size: 35px;
    line-height: 35px;
    font-weight: 300;
    color: #323232;
  }

  .p {
    font-family: "Plus Jakarta Sans";
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 1px;
  }

  .white {
    color: white;
  }

  .btn {
    font-family: "Plus Jakarta Sans";
    font-size: 18px;
    font-weight: 100;
    color: white;
    padding: 15px 24px;
    background-color: var(--green1);
    border-radius: 5px;
    cursor: pointer;
  }

  .btn-y {
    font-family: "Plus Jakarta Sans";
    font-size: 18px;
    font-weight: 500;
    color: var(--dark-green);
    padding: 15px 24px;
    background-color: var(--yellow);
    border-radius: 5px;
    cursor: pointer;
  }

  .hero-p {
    padding-top: 25%;
    grid-column-end: 9;
  }

  .sec3-icons {
    grid-column-start: 1;
    padding-left: 40px;
  }

  .text-block-right {
    grid-column-end: 13;
  }

  .contact-form-w {
    grid-column-end: 13;
  }

  .footer-social {
    grid-column-end: 13;
  }
}

@media only screen and (max-width: 1023px) {


  h1 {
    font-family: "Baloo Chettan 2";
    font-size: 50px;
    line-height: 45px;
    font-weight: 300;
    color: #323232;
    padding: 20px 0;
  }

  h2 {
    font-family: "Baloo Chettan 2";
    font-size: 30px;
    line-height: 30px;
    font-weight: 300;
    color: #323232;
  }

  .hero_cont {
    grid-template-columns: repeat(9, 1fr);
  }

  .hero-p {
    padding-top: 20%;
  }

  .section-grid-12 {
    grid-template-columns: repeat(9, 1fr);
  }

  .text-block-left {
    grid-row-start: 1;
    grid-column-start: 2;
    grid-column-end: 9;
    max-width: none;
    padding-bottom: 100px;
    margin-left: -33px;
  }

  .icons-block {
    grid-row-start: 2;
    grid-column-start: 1;
    grid-column-end: 10;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 20px;
    max-width: none;
  }

  .icon-c {
    display: flex;
    flex-direction: column;
    row-gap: 15px;
    align-items: center;
  }

  .icon-c h2 {
    text-align: center;
  }

  .section-text {
    width: 600px;
  }

  .text-block-right {
    grid-row-start: 1;
    grid-column-start: 2;
    grid-column-end: 9;
    padding-bottom: 100px;
    max-width: none;
    margin-left: -33px;
  }

  .sec3-icons {
    grid-row-start: 2;
    grid-column-start: 1;
    grid-column-end: 10;
    padding: 0;
    flex-wrap: wrap;
    flex-direction: row;
    row-gap: 60px;
  }

  .blank-row {
    display: none;
  }

  .icon-row {
    display: flex;
    flex-direction: column;
    width: 50%;
    row-gap: 30px;
    align-items: center;
  }

  .icon-text {
    text-align: center;
  }

  .icon-h {
    padding-bottom: 5px;
  }

  .section4-bg-image {
    height: 850px;
    width: calc(100% - 80px);
    overflow: visible;
    margin-bottom: 250px;
    background-size: cover;
  }

  .text-box-bg {
    background-color: var(--dark-green);
    margin: 0 40px;
    padding: 80px 50px;
    grid-column-start: 1;
    grid-column-end: 10;
    border-radius: 10px;
    position: absolute;
    bottom: 0;
    transform: translateY(50%);
  }

  .circle {
    display: none;
  }

  .table-steps {
    grid-column-start: 2;
    grid-column-end: 9;
    row-gap: 80px;
    align-items: center;
  }

  .step_text {
    max-width: 350px;
  }

  .overflow-img {
    width: 100%;
  }

  .footer-w {
    display: flex;
    flex-direction: column;
  }

  .footer-c {
    display: flex;
    flex-direction: column;
    row-gap: 90px;
  }

  .footer-h-c {
    margin: 0 80px;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    row-gap: 50px;
  }

  .footer-contact {
    display: flex;
    flex-direction: row;
    column-gap: 50px;
    align-items: center;
    justify-content: center;
  }

  .footer-social {
    display: flex;
    flex-direction: row;
    column-gap: 50px;
    align-self: center;
  }

  .pswp-gallery img {
    max-width: 200px;
  }
}

@media only screen and (max-width: 765px) {

  h1 {
    font-family: "Baloo Chettan 2";
    font-size: 40px;
    line-height: 35px;
    font-weight: 300;
    color: #323232;
    padding: 20px 0;
  }

  h2 {
    font-family: "Baloo Chettan 2";
    font-size: 25px;
    line-height: 25px;
    font-weight: 300;
    color: #323232;
  }

  .p {
    font-family: "Plus Jakarta Sans";
    font-size: 16px;
    font-weight: 100;
    line-height: 1.5;
    letter-spacing: 1px;
    color: #787878;
  }

  .text {
    margin-left: 18px;
  }

  .main-cont {
    overflow-x: hidden;
  }

  .hero {
    width: 100vw;
    height: 100vh;
  }

  .hero_cont {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 130px auto;
  }

  .nav_cont {
    grid-column-start: 1;
    grid-column-end: 7;
    padding: 0 30px;
  }

  .nav_logo {
    width: 120px;
  }

  .hero-p {
    grid-column-start: 1;
    grid-column-end: 9;
    padding: 30% 30px 0 30px;
  }

  .icons-block {
    display: flex;
    flex-direction: column;
  }

  .icon-c h2 {
    max-width: 300px;
  }

  .section-grid-12 {
    padding: 80px 0;
    width: calc(100vw - 40px);
    grid-template-columns: repeat(6, 1fr);
  }

  .sec3-icons {
    flex-direction: column;
    align-items: center;
  }

  .icon-row {
    width: 100%;
  }

  .section-full {
    width: 100vw;
  }

  .section-img {
    height: 300px;
  }

  .section-text {
    width: calc(100% - 40px);
    padding: 20px;
  }

  .section4-bg-image {
    width: calc(100vw - 40px);
    height: 550px;
    background-size: cover;
    margin-bottom: 450px;
  }

  .text-box-bg {
    margin: 0;
    grid-column-start: 1;
    grid-column-end: 6;
    padding: 40px 30px;
    width: 100vw;
    left: -20px;
    transform: translateY(90%);
  }

  .contact-form-w {
    width: 100%;
  }

  .contact-form-cont {
    width: 100%;
  }

  .input-r1 {
    display: flex;
    flex-direction: column;
  }

  .footer-c {
    padding-bottom: 100px;
  }

  .footer-contact {
    display: flex;
    flex-direction: column;
    row-gap: 30px;
    text-align: center;
  }

  .footer-social {
    display: flex;
    flex-direction: column;
    row-gap: 30px;
    text-align: center;
  }

  .footer-h-c {
    width: 100%;
    margin: 0 20px;
  }

  .pswp-gallery {
    justify-content: center;
  }

  .gallery-overlay-image img {
    width: 80%;
  }
}