.main-sections {
  min-width: 100%;
  height: 512px;
  display: flex;
  flex-direction: column;
  /*flex-direction: row;*/
  /*justify-content: space-between;*/
  row-gap: 35px;
  padding-left: 36px;
  padding-bottom: 40px;
}

/* za KONTAKT sekciju */
#main-section-contact {
  height: 812px !important;
  display: block;
}

.contact-image img {
  /* width: 100% !important; */
    border-radius: 35px;
    box-shadow: 0px 4px 17px 0px rgba(0, 0, 0, 0.25);
    height: 592px;
    width: 100%;
}

.section-content {
  /* padding-right: 77px; */
}

.white-section {
  background-color: white;
}

.colorful-section {
  background-image: url("../assets/background-images/colorful-background.svg");
}

.no-gap-section {
  row-gap: 0px !important;
}

.title-crtice-for-main-sections {
  display: flex;
  place-content: center;
  place-items: center;
  max-height: fit-content;
  height: fit-content;
  min-width: 100%;
  column-gap: 30px;
  margin-top: 30px;
}

.title-for-main-sections {
  font-family: "HelveticaBoldItalic";
  font-size: 50px;
  font-weight: 700;
  min-width: fit-content;
  line-height: 73.5px;
  text-align: left;
  /* margin-left: 36px; */
  /* margin-right: 35px; */
}

@media screen and (max-width: 768px) {
  .title-for-main-sections {
    font-size: 39px;
  }

  .section-content {
    padding-right: 36px !important;
  }
}

.title-for-colorful-section {
  color: #ffffff;
}

.title-for-white-section {
  color: #9fc13b;
}

.blocks-in-main-sections {
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: space-around;
  /* margin-top: 45px; */
  padding-right: 36px;
}

.blocks-in-main-sections img {
  width: 100%;
  /* margin-top: 5px; */
  border-radius: 15px;
  box-shadow: 0px 4px 17px 0px rgba(0, 0, 0, 0.25);
}

#crtice {
  /* margin-top: 50px; */
}

.title-line-container {
  width: 100%;
  height: 100%;
  display: flex;
  place-content: center;
  place-items: center;
}

.title-line {
  /* width: fit-content; */
  height: 40px;
  clip-path: polygon(2.5% 0%, 100% 0%, 100% 100%, 0% 100%);
  width: -webkit-fill-available;
}

.title-line img {
  /* width: 100%; */
  /* object-fit: contain; */
}

.italic {
  font-family: "HelveticaBoldItalic" !important;
}

/* ABOUT US */
.about-us-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  column-gap: 20px;
  width: 100%;
  /* padding-top: 60px; */
  /* padding-right: 100px; */
}

.about-us-text {
  display: flex;
  flex-direction: column;
  /*padding-left: 36px;*/
  width: 52%;
}

.about-us-text p {
  font-family: "Helvetica";
}

.about-us-text p:first-child {
  font-family: "Helvetica";
  font-size: 16px;
  text-align: justify;
}

.about-us-text p:nth-child(2) {
  font-family: "Helvetica";
  color: #9fc13b;
  font-size: 22px;
  margin-top: 66px;
}

.about-us-image {
  width: 581px;
  height: 269px;
}

.about-us-image img {
  width: 100% !important;
  border-radius: 15px;
  box-shadow: 0px 4px 17px 0px rgba(0, 0, 0, 0.25);
}

/* TEAM */
.blocks-team-members {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  /* margin-top: 35px; */
}

.team-member-image {
  display: flex;
  flex-direction: column;
  width: 174px;
  height: 299px;
  align-items: center;
}

.team-member-image img {
  border-radius: 13px;
  box-shadow: 0px 4px 17px 0px rgba(0, 0, 0, 0.25);
}

.team-member-image p {
  font-family: "Helvetica";
  color: #025d54;
}

.team-member-image p:nth-child(2) {
  margin-top: 4px;
  font-size: 16px;
}

.team-member-image p:nth-child(3) {
  font-size: 12px;
}

.social-media-contacts {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
  color: #025d54;
  margin-top: 3px;
}

.social-media-contacts a {
  color: #025d54;
  margin-left: 10px;
  margin-left: 10px;
}

/* FORM */

.form-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  place-content: center;
  place-items: center;
  margin-top: 10px;
  /* padding: 17px 28px; */
  padding: 0px 36px 0px 0px;
}

#application-form {
  width: 100%;
  max-width: 552px;
  height: 100%;
  max-height: 366px;
}

/* .center-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  place-content: center;
  place-items: center;
} */

.form {
  border: 0;
  padding: 28px;
  border-radius: 13px;
  overflow: hidden;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0px 4px 7px 1px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  place-content: center;
  place-items: center;
}

.name-surname {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
}

.email-address {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
}

.town-button {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
}

.with-label {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 230px;
}

.input-full-width {
  max-width: none !important;
  width: 100% !important;
  height: 100%;
}

.full-width {
  max-width: none !important;
  width: 100% !important;
  height: 100%;
}

.form label {
  max-width: fit-content;
}

.form input {
  border-radius: 5px;
  border: none;
  background-color: rgba(217, 217, 217, 0.8);
  box-shadow: inset 0 2px 5px rgba(50, 50, 50, 0.5);
  width: 100%;
  max-width: 230px;
  height: 43px;
  max-height: 46px;
  padding-left: 10px;
}

.form button {
  border-radius: 5px;
  background-color: #d8e02f;
  width: 100%;
  height: 100%;
  max-width: 137px;
  max-height: 43px;
  border: none;
  color: #ffffff;
  font-family: "Helvetica";
  font-size: 16px;
  padding: 10px 10px;
  text-align: center;
  margin-top: auto;
}

.two-fields {
  display: flex;
  place-content: space-between;
  place-items: center;
  gap: 5px;
}

/* form invalid info*/
.mail-info,
.invalid-info {
  display: block;
  font-size: 12px;
  font-weight: 300;
  font-style: italic;
}
.mail-info {
  color: green;
}

.invalid-info {
  color: red;
  display: none;
}

/* form valid info*/
.valid-info {
  display: block;
  font-size: 12px;
  font-weight: 300;
  font-style: italic;
}
.mail-info {
  color: green;
}

.valid-info {
  color: green;
  display: none;
}

/* MAP */

.map-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  /* margin-top: 10px; */
  padding-right: 36px;
}

.map {
  width: 785px;
  height: 366px;
  border: 0;
  border-radius: 13px;
  overflow: hidden;
  box-shadow: 0px 4px 7px 1px rgba(0, 0, 0, 0.25);
}

iframe {
  width: 100%;
  height: 100%;
}

/* CONTACT */

.contact-section-content {
  display: flex;
  justify-content: space-evenly;
  padding-top: 35px;
}

.contact-section-content h5 {
  font-family: "Helvetica";
  font-size: 22px;
  color: #025d54;
  text-align: center;
  margin-top: 15px;
  margin-bottom: 15px;
}

.contact-section-content p {
  font-family: "Helvetica";
  font-size: 16px;
  text-align: center;
}

.contact-section-content a {
  color: black;
}

.contact-section-content a:hover {
  color: #6c757d;
}

.contact-section-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 15px;
}

.contact-section-icon {
  width: 123px;
  height: 123px;
}

/* Mobile & Tablet */

@media screen and (max-width: 768px) {
  .about-us-content {
    display: flex;
    flex-direction: column;
    place-content: center;
    place-items: center;
    width: 100%;
    padding: 0;
    padding-right: 36px;
  }

  .about-us-image {
    display: none;
  }
  .about-us-text {
    width: 100%;
    padding: 0;
  }

  .about-us-text p:nth-child(2) {
    margin-top: 26px;
    margin-bottom: 56px;
    padding: 0;
    text-align: center;
  }
}

.tns-nav {
  width: 100%;
  height: 20px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
  z-index: 2;
  position: absolute;
}

/*TIM SLIDER*/

/* Media query for screens smaller than 1000px */
@media (max-width: 1000px) {
  .blocks-team-members {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .team-member-image {
    scroll-snap-align: start;
  }

  .slider-button {
    display: block;
  }
}

/* Main sections */
.main-sections {
  min-width: 100%;
  height: 512px;
  display: flex;
  flex-direction: column;
  row-gap: 35px;
  padding-left: 36px;
  padding-bottom: 40px;
}

/*for action and news section images*/
.sliding-blocks-in-main-sections img {
  box-shadow: none !important;
}

/* Section content */
.section-content {
  padding-right: 36px;
}

/* Team */
.blocks-team-members {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  overflow: hidden;
  scroll-behavior: smooth;
  position: relative;
}

.team-member-image {
  display: flex;
  flex-direction: column;
  width: 174px;
  height: 299px;
  align-items: center;
  flex-shrink: 0; /* Prevent shrinking */
  box-sizing: border-box;
  padding: 10px;
}

.team-member-image img {
  border-radius: 13px;
  box-shadow: 0px 4px 17px 0px rgba(0, 0, 0, 0.25);
}

.team-member-image p {
  font-family: "Helvetica";
  color: #025d54;
}

.team-member-image p:nth-child(2) {
  margin-top: 4px;
  font-size: 16px;
}

.team-member-image p:nth-child(3) {
  font-size: 12px;
}

.social-media-contacts {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
  color: #025d54;
  margin-top: 3px;
}

.social-media-contacts a {
  color: #025d54;
  margin-left: 10px;
}

/* Slider buttons */
.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  display: none;
}

#prev {
  left: 10px;
}

#next {
  right: 10px;
}

/* Media query for screens smaller than 1000px */
@media (max-width: 1000px) {
  .blocks-team-members {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .team-member-image {
    scroll-snap-align: start;
  }

  .slider-button {
    display: block;
  }
}

/* .slider-container {
  padding-top: 35px;
} */
