/* ==========================================================================
   Dental Studio Jelena
   Prelomne tacke prate original (991 / 767 / 479 px) da bi se rendering
   poklapao piksel u piksel na svakoj sirini.
   ========================================================================== */

/* --------------------------------------------------------------- 1. Font */

@font-face {
  font-family: Inter;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: Inter;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ------------------------------------------------------------- 2. Tokeni */

:root {
  --paragraph: #666;
  --heading: #0e2954;
  --primary: #3a66b2;
  --accent: #3aa2b2;
  --line: #dde4e5;

  --serif: Georgia, Times, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* -------------------------------------------------------------- 3. Reset */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* sticky navbar ne sme da prekrije naslov sekcije pri skoku na #anchor */
  scroll-padding-top: 110px;
}

body {
  min-height: 100%;
  margin: 0;
  background-color: #fff;
  color: var(--paragraph);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 24px;
}

img {
  width: 100%;
  /* obavezno uz width/height atribute u HTML-u: bez ovoga atribut height
     razvuce sliku umesto da samo rezervise odnos stranica */
  height: auto;
  max-width: 100%;
  display: inline-block;
  vertical-align: middle;
  border: 0;
}

svg {
  fill: currentColor;
}

h1,
h2 {
  margin: 20px 0 10px;
  color: var(--heading);
  font-family: var(--serif);
  font-weight: 700;
}

h1 {
  font-size: 70px;
  line-height: 80px;
}

h2 {
  font-size: 50px;
  line-height: 60px;
}

p {
  margin: 0 0 10px;
  color: var(--paragraph);
  font-weight: 300;
  line-height: 26px;
}

a {
  color: var(--primary);
  font-family: var(--sans);
  font-weight: 500;
  text-decoration: none;
}

/* Semanticki naslovi/paragrafi koji su u originalu bili obicni <div>-ovi:
   nose iste stilove, ali ne smeju da unesu podrazumevane margine. */
h3,
.section-caption,
.logo-heading,
.logo-heading-black,
.version-title,
.version-description,
.dropdown-texts,
.footer-text,
.footer-menu-heading,
.footer-heading-of-icon,
.footer-copyrights-text {
  margin: 0;
}

/* isti razlog: <div> nasledjuje od <body> (400 / 24px), <p> ne bi */
.section-caption,
.dropdown-texts {
  line-height: 24px;
}

.version-description,
.footer-text,
.footer-menu-heading {
  font-weight: 400;
}

h3 {
  color: var(--heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
}

button,
input,
textarea {
  margin: 0;
  color: inherit;
  font: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Vidljiv fokus za tastaturu - original ga je imao samo na nav linkovima */
:focus-visible {
  outline: 2px solid #0050bd;
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 300;
  padding: 12px 20px;
  background: #fff;
  color: var(--primary);
}

.skip-link:focus {
  left: 20px;
  top: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ------------------------------------------------------------- 4. Layout */

.container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-wrapper {
  width: 100%;
  overflow: hidden;
}

.section-padding {
  padding-top: 120px;
  padding-bottom: 20px;
}

.section-heading {
  margin-top: 0;
  color: var(--heading);
  font-size: 60px;
}

.section-heading.white-color {
  color: #fff;
}

.section-heading.fixed-width {
  max-width: 950px;
}

.section-caption {
  color: var(--primary);
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
}

.section-paragraph {
  margin-bottom: 0;
  font-family: var(--sans);
}

.section-paragraph.extra-margin {
  margin-top: 13px;
}

.white-color {
  color: #fff;
}

/* -------------------------------------------------------------- 5. Dugme */

.primary-button {
  display: flex;
  gap: 7px;
  justify-content: center;
  align-items: center;
  max-height: 50px;
  padding: 7px 20px;
  border: 1px solid transparent;
  border-radius: 30px;
  background-color: var(--primary);
  color: #fff;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  cursor: pointer;
  transition: color 0.3s cubic-bezier(0.39, 0.575, 0.565, 1),
    background-color 0.2s, border-color 0.2s, transform 0.4s;
}

.primary-button:hover {
  border-color: #fff;
  background-color: transparent;
  color: #fff;
  transform: scale(0.9);
}

.primary-button.large-button {
  padding: 17px 21px;
}

.primary-button.navbar-button:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ------------------------------------------------------------- 6. Navbar */

.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  padding: 25px 0;
  border-bottom: 1px solid var(--accent);
  background-color: #fff;
  box-shadow: 5px 0 30px #3aa2b21a;
}

.navbar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
}

.navbar-logo-wrapper {
  display: block;
  color: #333;
  max-width: 272px;
}

/* 70px je sirina koju original renderuje na svim sirinama iznad 479px */
.main-logo {
  width: 70px;
  max-width: none;
}

.nav-menu {
  display: flex;
  color: #fff;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 40px 20px;
}

.nav-list {
  flex: none;
  overflow: hidden;
  font-weight: 400;
}

.nav-link {
  display: inline-block;
  padding: 5px 0;
  color: #0009;
  font-size: 16px;
  font-weight: 300;
  line-height: 20px;
  letter-spacing: 0.25px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--primary);
}

.nav-link[aria-current="page"] {
  font-weight: 500;
}

/* Podvlaka koja izleti pri hover-u (u originalu je radio Webflow IX2) */
.nav-menu-border {
  width: 50%;
  height: 3px;
  margin-top: 1px;
  border-bottom: 3px solid var(--primary);
  border-radius: 20px;
  transform: translateX(-110%);
  transition: transform 0.3s ease;
}

.nav-list:hover .nav-menu-border,
.nav-link[aria-current="page"] ~ .nav-menu-border {
  transform: translateX(0);
}

.nav-button-list {
  flex: 1;
  display: flex;
  padding-left: 10px;
}

/* Stavka <li class="closing-icon"> ostaje u toku i na desktopu (kao u
   originalu) - njen gap je deo sirine menija; skriva se samo dugme. */
.menu-button,
.closing-icon-button {
  display: none;
}

.menu-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--primary);
  line-height: 0;
  cursor: pointer;
}

.menu-button svg {
  width: 36px;
  height: 36px;
}

.closing-icon-button {
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  line-height: 0;
  cursor: pointer;
}

.closing-icon-button svg {
  width: 30px;
  height: 30px;
}

/* --------------------------------------------------------------- 7. Hero */

.hero-section {
  margin-bottom: 90px;
  padding-top: 66px;
  padding-bottom: 97px;
  background-color: var(--accent);
  background-image: url("../img/pozadina-hero.webp");
  background-position: 100% 100%;
  background-size: cover;
}

.horizontal-flex {
  display: flex;
  flex-direction: row;
  gap: 80px;
}

.hero-content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  max-width: 870px;
  padding-top: 94px;
  overflow: hidden;
  color: #fff;
}

.hero-title {
  width: 100%;
  margin-top: 0;
  color: #fff;
}

.hero-paragraph {
  max-width: 660px;
  color: #fffc;
}

.hero-image-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  width: 100%;
  max-width: 600px;
}

.hero-image-wrapper {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: flex-end;
  gap: 30px;
  padding: 10px 0;
  overflow: hidden;
}

.hero-image-wrapper.right-image-container {
  justify-content: flex-start;
  align-items: flex-start;
  height: 100%;
  transform: translateY(26px);
}

.hero-grid-image {
  border-radius: 10px;
  object-fit: cover;
}

.hero-grid-image.first-image {
  max-width: 200px;
  height: 100%;
}

.hero-grid-image.bottom-left-radius {
  align-self: flex-end;
  max-width: 220px;
  max-height: 200px;
  border-bottom-left-radius: 50px;
}

.hero-grid-image.top-right-radius {
  max-width: 220px;
  max-height: 341px;
  border-top-right-radius: 50px;
}

.hero-grid-image.last-image {
  align-self: flex-end;
  max-width: 210px;
  max-height: 220px;
}

/* --------------------------------------------------------- 8. Prednosti */

.heading-and-doctor-figures {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  width: 100%;
}

.dentists-image-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
}

.dentist-icon-image {
  max-width: none;
  max-height: 122px;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.3s;
}

.dentist-icon-image.move-left {
  transition-timing-function: ease-out;
}

.dentist-icon-image.move-left:hover {
  transform: translateX(-50%);
}

.dentist-icon-image.move-right:hover {
  transform: translateX(50%);
}

.dentist-icon-image.rotate-and-move {
  transform-style: preserve-3d;
}

.dentist-icon-image.rotate-and-move:hover {
  transform: translateX(-50%) rotateY(180deg);
}

.dentist-icon-image.tilt:hover {
  transform: rotate(5deg);
}

.devider-with-circle {
  display: flex;
  position: relative;
  justify-content: flex-start;
  align-items: flex-start;
  height: 1px;
}

.divider {
  width: 100%;
  height: 2px;
  margin-bottom: 60px;
  border: 1px solid var(--line);
}

.circle {
  width: 15px;
  height: 15px;
  margin-top: -7px;
  padding: 0 7px;
  border-radius: 50%;
  background-color: var(--line);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  padding-top: 70px;
}

.logo-card-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.logo-image {
  width: 100%;
  max-width: 70px;
  height: 100%;
  max-height: 70px;
  margin-bottom: 10px;
  padding: 8px;
  border-radius: 50%;
  background-color: #fff;
  object-fit: scale-down;
  box-shadow: 0 4px 8px #837ff852;
  transition: transform 0.5s ease-out;
}

.logo-image:hover {
  transform: scale(1.1);
}

.logo-heading {
  color: var(--primary);
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
}

.logo-text {
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
}

/* ------------------------------------------------------------- 9. O nama */

.banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 40px;
  padding-top: 60px;
}

.banner-image-wrapper {
  position: relative;
  align-self: center;
  width: 100%;
  max-width: 640px;
  max-height: 620px;
}

.about-us-image {
  width: 100%;
  max-width: 560px;
  height: 100%;
  border-radius: 10px;
}

/* dekorativni okviri iza fotografije */
.background-image {
  position: absolute;
  z-index: -1;
  inset: -25px auto auto 25px;
  width: 100%;
  max-width: 560px;
  height: 100%;
  border: 2px dashed var(--primary);
  border-radius: 10px;
  background-color: #fff;
}

.background-image.bottom-bellow {
  inset: auto auto -65px -55px;
  border-style: none;
  border-radius: 10px 10px 0 50px;
  background-color: var(--accent);
}

.banner-conent-wrapper {
  display: flex;
  flex-direction: column;
  place-self: start center;
  gap: 10px;
  margin-top: 55px;
}

.banner-heading-and-paragraph {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 100px;
}

/* ------------------------------------------------------------ 10. Usluge */

.service-section {
  padding-left: 0;
  padding-right: 0;
}

.service-section.section-padding {
  padding-top: 170px;
}

.divider-with-circle {
  display: flex;
  position: relative;
  flex-flow: row;
  justify-content: center;
  align-items: stretch;
  width: 80%;
  height: 1px;
  margin: 0 0 40px 10%;
  text-align: left;
}

.heading-and-card-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px 20px;
  margin-bottom: 66px;
  text-align: center;
}

.book-now-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 30px;
  padding-top: 50px;
}

.book-now-card-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  min-height: 396px;
  padding: 40px 30px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background-color: #fff;
  transition: box-shadow 0.4s;
}

.book-now-card-wrapper:hover {
  box-shadow: 0 0 30px #3a66b21a;
}

.card-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.service-card-logo {
  max-width: 50px;
  max-height: 50px;
  margin-bottom: 11px;
}

.logo-heading-black {
  color: var(--heading);
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
}

/* -------------------------------------------------------- 11. Poziv (CTA) */

.call-to-action-banner {
  position: relative;
  overflow: hidden;
}

.container.justify-middle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.call-to-action-container {
  display: flex;
  position: relative;
  flex-direction: row;
  justify-content: space-between;
  gap: 34px;
  width: 100%;
  max-width: 1113px;
  min-height: 420px;
  border-radius: 40px;
  background-color: var(--accent);
}

.call-to-action-contents {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 56px 0 66px 45px;
  border-radius: 40px;
  background-image: url("../img/cta-pozadina.webp");
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 443px;
}

.call-to-action-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  border-radius: 0 40px 40px 0;
}

.call-to-action-image {
  display: block;
  height: 100%;
  border-radius: 0 40px 40px 0;
  object-fit: cover;
}

.image-overlay {
  position: absolute;
  inset: 0;
  border-radius: 0 40px 40px 0;
  background-color: #3aa2b266;
}

/* tanki okvir koji viri iza kartice */
.horizontal-div {
  position: absolute;
  z-index: -1;
  inset: 0 auto auto 0;
  width: 100%;
  max-width: 1070px;
  height: 100%;
  margin-top: -24px;
  margin-left: -34px;
  border: 1px solid var(--line);
  border-radius: 40px;
  transform: translate(76px, 24px);
}

/* --------------------------------------------------------------- 12. FAQ */

.faq-section {
  position: relative;
}

.faq-section.section-padding {
  overflow: hidden;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 16px;
  place-items: start center;
}

.faq-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  place-self: center;
  gap: 10px;
  width: 100%;
  height: 100%;
}

.faq-section-title {
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
}

/* original je sliku dovlacio Webflow animacijom sa left:-334px; ovde stoji
   odmah na svom konacnom mestu, a uklizava preko .reveal-left */
.faq-image {
  position: absolute;
  left: 22px;
  max-width: 300px;
}

.dropdown-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  width: 100%;
}

/* Nativni <details> - pristupacnost i tastatura bez ijedne linije JS-a */
.dropdown-menu {
  width: 100%;
  color: #fff;
  max-width: 765px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background-color: #fff;
}

.dropdown-switch {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 30px;
  color: #000;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}

.dropdown-switch::-webkit-details-marker {
  display: none;
}

.dropdown-title {
  color: #000;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.dropdown-icon {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--line);
  transition: color 0.3s;
}

.dropdown-menu[open] .dropdown-icon {
  color: var(--primary);
}

/* zatvoreno: sivi plus  |  otvoreno: plavi minus */
.dropdown-icon .i-minus,
.dropdown-menu[open] .dropdown-icon .i-plus {
  display: none;
}

.dropdown-menu[open] .dropdown-icon .i-minus {
  display: inline;
}

.dropdown-texts {
  padding: 4px 30px 43px;
  color: var(--paragraph);
  font-weight: 300;
}

/* --------------------------------------------------------------- 13. Mapa */

.map-section {
  max-width: 940px;
  margin: 0 auto;
}

.map {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

/* ------------------------------------------------------------- 14. Footer */

.footer {
  margin-top: 200px;
  padding: 0 20px 80px;
  background-color: var(--primary);
  background-image: url("../img/pozadina-footer.webp");
  background-position: 0 0;
  background-size: 1920px;
}

.footer-container {
  display: flex;
  max-width: 1450px;
  margin: 0 auto;
}

.footer-left-section {
  position: relative;
  z-index: 1;
  max-height: 520px;
  margin-top: -80px;
  margin-left: -600px;
  padding: 80px 20px 80px 620px;
  border-radius: 0 30px 30px 0;
  background-color: var(--accent);
  background-image: url("../img/pozadina-footer-levo.webp");
  background-position: 100% 0;
  background-size: 677px;
  overflow: hidden;
}

.footer-left-content {
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 20px;
}

.footer-logo {
  flex: 0 auto;
  max-width: 230px;
  max-height: 100px;
}

.footer-text {
  max-width: 650px;
  color: #ffffffe6;
  font-size: 15px;
  line-height: 25px;
}

.footer-text._820px-width {
  max-width: 820px;
}

.footer-icon-and-heading-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 5px;
  margin-bottom: 13px;
}

.footer-icon-and-heading,
.link-block {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
}

.link-block {
  gap: 15px;
}

.footer-left-section-icon {
  color: #fff;
  font-size: 20px;
}

/* velicina samo za SVG ikonice - <img> logotipi ispod moraju da zadrze
   originalno ponasanje */
svg.footer-left-section-icon {
  flex: none;
  width: 20px;
  height: 20px;
}

/* width:2% je iz originala i deluje besmisleno, ali odredjuje sirinu celog
   kontakt bloka (procenat se ne moze razresiti pa slika ulazi punom
   velicinom u proracun), a to se vidi kad se blok centrira ispod 992px */
.footer-left-section-icon.text-logo {
  display: inline-flex;
  width: 2%;
  min-width: 20px;
  min-height: 20px;
}

.footer-heading-of-icon {
  color: #fff;
  font-size: 15px;
  font-weight: 300;
  line-height: 25px;
}

.footer-right-section {
  display: flex;
  background-color: #18194400;
  color: #181944;
  flex-direction: column;
  align-items: stretch;
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  color: #fff;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 0;
  place-items: stretch start;
  margin-left: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid #fff3;
}

.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-menu-heading {
  margin-bottom: 5px;
  color: #fff;
  font-size: 20px;
  line-height: 30px;
}

.footer-links-wrapper {
  display: flex;
  flex-direction: column;
}

.footer-links {
  color: #ffffffb3;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 40px;
  transition: color 0.3s;
}

.footer-links:hover {
  color: var(--accent);
}

.footer-copy-rights {
  margin-top: 15px;
  margin-left: 50px;
}

.footer-copyrights-text {
  color: #ffffffb3;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
}

/* --------------------------------------------------------- 15. Popup forma */

.popup-form-wrapper {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  padding: 0 20px;
  border: 0;
  background: transparent;
  overflow: visible;
}

.popup-form-wrapper[open] {
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-form-wrapper::backdrop {
  background-color: #3aa2b2b3;
}

.contact-form-block {
  display: flex;
  position: relative;
  z-index: 100;
  flex-direction: column;
  gap: 40px 20px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  padding: 40px;
  border-radius: 10px;
  background-color: #fff;
  overflow-y: auto;
}

.close-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--primary);
  line-height: 0;
  cursor: pointer;
}

.close-icon svg {
  width: 20px;
  height: 20px;
}

.contact-form-texts-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px 10px;
}

.contact-form-title {
  margin: 0;
  color: #101828;
  font-family: var(--serif);
  font-size: 50px;
  font-weight: 700;
  line-height: 60px;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
}

.form-horizontal-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}

.form-horizontal-wrapper.contact {
  display: flex;
}

.name-field-wrapper {
  width: 100%;
}

.contact-form-input-field {
  display: block;
  width: 100%;
  min-height: 40px;
  padding: 10px;
  border: 1px solid #f5f5f5;
  border-radius: 2px;
  background-color: #f9f9f9;
  color: var(--paragraph);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
}

.contact-form-input-field::placeholder {
  color: var(--paragraph);
  font-family: var(--sans);
  font-weight: 500;
  line-height: 22px;
  text-transform: uppercase;
}

.contact-form-input-field.message-area {
  min-height: 100px;
  resize: vertical;
}

.form-button-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.send-button {
  padding: 7px 16px;
  border: 0;
  border-radius: 5px;
  background-color: var(--primary);
  color: #fff;
  line-height: 26px;
  cursor: pointer;
}

.form-done {
  display: none;
  padding: 20px;
  background-color: #ddd;
  text-align: center;
}

.form-done.is-visible {
  display: block;
}

/* ------------------------------------------------------- 16. Strana Radovi */

.changelog-section {
  margin-top: 80px;
  padding: 0 20px;
  color: #000;
}

.changelog-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 20px;
}

.version-title {
  margin: 0;
  color: #000;
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 500;
  line-height: 36px;
}

.version-description {
  line-height: 28px;
}

.container-work {
  margin-top: 123px;
}

.div-block-2 {
  display: flex;
  flex-flow: wrap;
  justify-content: flex-start;
  align-items: stretch;
}

.lightbox-link1 {
  width: 25%;
  margin-top: 20px;
  margin-right: 20px;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}

/* sirina je eksplicitna jer <button> (za razliku od <a> u originalu) ne
   razresava width:100% deteta iz sopstvene unutrasnje sirine */
.lightbox-link-2 {
  width: 240px;
  padding: 0 20px 20px 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.image-10 {
  width: 100%;
}

/* ----------------------------------------------------------- 17. Lightbox */

.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  padding: 40px 20px;
  border: 0;
  background: transparent;
}

.lightbox[open] {
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox::backdrop {
  background-color: #000000e6;
}

.lightbox img {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  border-radius: 4px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 10px;
  border: 0;
  background: none;
  color: #fff;
  line-height: 0;
  cursor: pointer;
}

.lightbox-close svg {
  width: 24px;
  height: 24px;
}

/* --------------------------------------------------- 18. Scroll animacije */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-left {
  transform: translateX(-80px);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-left {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================== 19. <= 991px */

@media screen and (max-width: 991px) {
  .container {
    width: 100%;
  }

  .section-heading {
    font-size: 43px;
  }

  .section-padding {
    padding-top: 80px;
  }

  /* --- mobilni meni --- */
  .menu-button,
  .closing-icon-button {
    display: block;
  }

  .nav-menu-wrapper {
    position: fixed;
    inset: 0 0 auto auto;
    z-index: 210;
    /* omotac pokriva gornji desni ugao i dok je meni zatvoren - bez ovoga
       bi presretao klik na hamburger i na sadrzaj ispod */
    pointer-events: none;
  }

  .nav-menu-wrapper.is-open {
    pointer-events: auto;
  }

  .nav-menu {
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    gap: 40px 0;
    width: 45vw;
    height: 100vh;
    padding: 76px 25px 20px;
    background-color: var(--primary);
    box-shadow: 0 8px 50px #0000000d;
    /* visibility drzi zatvoren meni van reda za Tab, a i dalje dozvoljava
       da se klizanje animira */
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.4s ease, visibility 0.4s;
  }

  .nav-menu-wrapper.is-open .nav-menu {
    visibility: visible;
    transform: translateX(0);
  }

  .nav-link {
    padding: 0 5px;
    color: #fff;
  }

  .nav-link:hover,
  .nav-link[aria-current="page"] {
    color: var(--accent);
  }

  .nav-menu-border {
    display: none;
  }

  .nav-button-list {
    flex: 1;
    justify-content: center;
    align-items: flex-start;
    padding-left: 0;
    text-align: center;
  }

  .primary-button.navbar-button {
    background-color: var(--accent);
  }

  .primary-button.navbar-button:hover {
    border-color: var(--accent);
    background-color: transparent;
    color: var(--accent);
  }

  .menu-button svg {
    width: 36px;
    height: 36px;
  }

  .closing-icon {
    position: absolute;
    top: 50px;
    left: 50px;
  }

  /* --- hero --- */
  .hero-section {
    padding-top: 100px;
    background-position: 0%;
  }

  .horizontal-flex {
    flex-direction: column;
    align-items: stretch;
    gap: 70px;
  }

  .hero-content-wrapper {
    padding-top: 0;
    text-align: left;
  }

  .hero-image-container {
    flex-direction: row;
    justify-content: center;
  }

  .hero-image-wrapper.left-image-container {
    align-items: flex-start;
  }

  /* --- prednosti --- */
  .heading-and-doctor-figures {
    flex-direction: column;
    gap: 20px 0;
    width: 100%;
  }

  .dentists-image-wrapper {
    gap: 26px;
  }

  .dentist-icon-image {
    max-height: 100px;
  }

  .logo-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

  /* --- o nama --- */
  .about-us-section.section-padding {
    padding-top: 0;
  }

  .banner-grid {
    grid-template-columns: 1fr;
    gap: 100px 20px;
    place-items: stretch stretch;
  }

  .banner-image-wrapper {
    display: flex;
    order: -9999;
    place-self: center;
    justify-content: center;
    align-items: center;
    max-width: 580px;
  }

  .about-us-image {
    max-width: 500px;
  }

  .background-image {
    left: 95px;
    max-width: 500px;
  }

  .background-image.bottom-bellow {
    bottom: -40px;
    left: -20px;
  }

  .banner-conent-wrapper {
    align-items: center;
    margin-top: 0;
  }

  .banner-heading-and-paragraph {
    margin-top: 0;
  }

  /* --- usluge --- */
  .service-section.section-padding {
    padding-top: 100px;
  }

  .book-now-card-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* --- CTA --- */
  .call-to-action-banner.section-padding {
    margin-top: 0;
  }

  .call-to-action-container {
    flex-direction: column;
    margin-left: 20px;
  }

  .call-to-action-contents {
    padding-left: 40px;
    padding-right: 40px;
  }

  .call-to-action-image-wrapper {
    display: none;
  }

  .horizontal-div {
    margin-left: -15px;
    padding-left: 40px;
  }

  /* --- FAQ --- */
  .faq-section.section-padding {
    margin-top: 0;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-content {
    justify-content: center;
    align-items: center;
    place-self: center;
  }

  .faq-image {
    display: none;
  }

  .dropdown-wrapper {
    align-items: stretch;
  }

  .dropdown-menu {
    max-width: none;
  }

  /* --- footer --- */
  .footer {
    margin-top: 100px;
  }

  .footer-container {
    flex-direction: column;
  }

  .footer-left-section {
    max-height: none;
    margin-top: -50px;
    margin-left: 0;
    padding: 40px 20px;
    border-radius: 30px;
  }

  .footer-left-content {
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .footer-logo {
    max-width: 200px;
  }

  .footer-text {
    max-width: 500px;
    text-align: center;
  }

  .footer-text._820px-width {
    max-width: 347px;
    font-size: 14px;
  }

  .footer-heading-of-icon {
    font-size: 14px;
  }

  .footer-right-section {
    padding-top: 40px;
  }

  .footer-grid {
    margin-left: 20px;
    padding-bottom: 30px;
  }

  .footer-menu-heading {
    font-size: 18px;
    line-height: 26px;
  }

  .footer-links {
    font-size: 14px;
  }

  .footer-copy-rights {
    margin-left: 0;
    padding-left: 20px;
    text-align: center;
  }

  /* --- forma i radovi --- */
  .contact-form-block {
    max-width: 500px;
  }

  .div-block-2 {
    justify-content: center;
  }

  .lightbox-link1 {
    width: 45%;
  }

  .lightbox-link-2 {
    width: 170px;
  }

  .image-10 {
    padding-bottom: 20px;
    padding-right: 10px;
  }
}

/* =========================================================== 20. <= 767px */

@media screen and (max-width: 767px) {
  h2 {
    font-size: 32px;
    line-height: 36px;
  }

  .navbar {
    max-width: 100%;
    padding: 20px 0;
  }

  .navbar-logo-wrapper {
    padding-left: 10px;
  }

  .nav-menu {
    flex-direction: column;
    gap: 10px;
    width: 50vw;
    height: 100vh;
    padding-bottom: 50px;
  }

  .nav-link {
    padding: 10px 5px;
  }

  .closing-icon {
    top: 40px;
    left: 40px;
  }

  .hero-section {
    padding-top: 80px;
  }

  .hero-title {
    font-size: 50px;
    line-height: 70px;
  }

  .features-section {
    margin-top: 30px;
  }

  .dentists-image-wrapper {
    gap: 30px;
    margin-top: 30px;
  }

  .dentist-icon-image {
    max-width: 20%;
    max-height: 80px;
  }

  .heading-and-doctor-figures {
    align-items: center;
  }

  .logo-image {
    max-width: 60px;
    max-height: 60px;
  }

  .logo-heading {
    font-size: 16px;
  }

  .logo-card-wrapper {
    gap: 15px;
  }

  .logo-text {
    font-size: 14px;
  }

  .section-heading {
    font-size: 35px;
    line-height: 50px;
  }

  .about-us-image {
    max-width: 450px;
  }

  .background-image {
    inset: -6% -10px auto auto;
    max-width: 450px;
  }

  .service-section.section-padding {
    padding-top: 80px;
  }

  .book-now-card-wrapper {
    gap: 30px;
    min-height: 350px;
    padding: 30px 20px;
  }

  .book-now-card-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 10px;
  }

  .horizontal-div {
    top: 2%;
    left: 3%;
  }

  .dropdown-wrapper {
    align-items: flex-start;
  }

  .faq-grid {
    place-items: center;
  }

  .dropdown-title {
    width: 100%;
    white-space: pre-wrap;
  }

  .footer {
    margin-top: 200px;
    padding-bottom: 20px;
  }

  .footer-left-section {
    margin-top: -100px;
    padding: 20px;
    border-radius: 30px;
  }

  .footer-menu {
    gap: 7px;
  }

  .footer-menu-heading {
    font-size: 17px;
  }

  .footer-links {
    font-size: 13px;
  }

  .footer-grid {
    padding-bottom: 20px;
  }

  .footer-text._820px-width {
    max-width: 320px;
  }

  .footer-copyrights-text {
    max-width: 397px;
    margin: 0 auto;
    text-align: center;
  }

  .footer-copy-rights {
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .changelog-section {
    margin-top: 40px;
  }

  .container-work {
    margin-top: 88px;
  }

  .lightbox-link1 {
    flex: 0 auto;
  }
}

/* =========================================================== 21. <= 479px */

@media screen and (max-width: 479px) {
  h1 {
    font-size: 45px;
  }

  h2 {
    font-size: 26px;
    line-height: 40px;
  }

  p {
    font-size: 15px;
    line-height: 23px;
  }

  .navbar {
    padding: 15px 0;
  }

  .navbar-logo-wrapper {
    padding-left: 0;
  }

  /* ispod 479px original skalira logo sa sirinom ekrana */
  .main-logo {
    width: 29vw;
  }

  .menu-button svg {
    width: 25px;
    height: 25px;
  }

  .nav-menu {
    flex-direction: column;
    gap: 10px;
    width: 60vw;
    padding-top: 50px;
    overflow: hidden;
  }

  .nav-link {
    font-size: 14px;
  }

  .closing-icon {
    top: 30px;
    left: 30px;
  }

  .hero-section {
    margin-bottom: 0;
    padding-top: 60px;
    padding-bottom: 70px;
  }

  .hero-content-wrapper {
    margin-bottom: -61px;
  }

  .hero-title {
    font-size: 32px;
    line-height: 48px;
  }

  .hero-image-container {
    gap: 30px 10px;
  }

  .features-section {
    margin-top: 60px;
  }

  .logo-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 50px;
  }

  .logo-card-wrapper {
    gap: 10px;
  }

  .logo-image {
    max-width: 50px;
    max-height: 50px;
  }

  .dentists-image-wrapper {
    gap: 0;
  }

  .dentist-icon-image {
    max-width: none;
    max-height: 60px;
  }

  .section-heading {
    font-size: 24px;
    line-height: 36px;
  }

  .section-paragraph {
    font-size: 15px;
  }

  .banner-image-wrapper {
    max-width: 300px;
    max-height: none;
  }

  .background-image.bottom-bellow {
    bottom: -25px;
    left: -15px;
  }

  .service-section.section-padding {
    padding-top: 60px;
  }

  .book-now-card-grid {
    grid-template-columns: 1fr;
    padding-top: 20px;
  }

  .call-to-action-container {
    max-width: 100%;
  }

  .call-to-action-contents {
    padding: 40px 20px;
  }

  .horizontal-div {
    flex-direction: column;
    margin-left: -25px;
  }

  .dropdown-wrapper {
    width: 100%;
  }

  .dropdown-menu {
    width: 100%;
  }

  .dropdown-switch {
    padding: 15px 20px;
  }

  .dropdown-title {
    font-size: 15px;
  }

  .dropdown-texts {
    padding: 15px 20px 25px;
    font-size: 14px;
    line-height: 21px;
  }

  .section-padding {
    padding-top: 60px;
  }

  .footer-menu {
    align-items: stretch;
    justify-content: center;
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    place-items: center;
    gap: 30px;
    width: 100%;
  }

  .footer-left-section {
    justify-content: flex-start;
    align-items: flex-start;
    padding: 30px;
  }

  .footer-left-content {
    justify-content: flex-start;
    align-items: flex-start;
  }

  .footer-links {
    font-size: 14px;
    line-height: 37px;
  }

  .footer-right-section {
    justify-content: center;
    align-items: center;
  }

  .footer-copyrights-text {
    max-width: 349px;
    line-height: 25px;
  }

  .contact-form-title {
    font-size: 24px;
    line-height: 36px;
  }

  .contact-form-block {
    gap: 20px;
    padding: 20px;
  }

  .form-horizontal-wrapper {
    grid-template-columns: 1fr;
  }

  .changelog-section {
    margin-bottom: -20px;
  }

  .version-description {
    padding-bottom: 32px;
  }

  .div-block-2 {
    justify-content: center;
    padding-right: 0;
  }

  .lightbox-link1 {
    flex: none;
    width: 100%;
    margin-right: 0;
  }

  .lightbox-link-2 {
    width: 200px;
  }
}
