:root {
  --primary: #fb6239;
  --dark: #1b1a1a;
  --light: #f7f7f7;
  --text: #666666;
  --white: #ffffff;
  --scroll-offset: 140px;
}

html.lang-hr {
  --primary: #fb6239;
}

html.lang-hu {
  --primary: #4a9d6d;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.container {
  padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
  font-size: 1.1rem;
  position: relative;
  overflow-x: hidden;
}


html {
  scroll-padding-top: var(--scroll-offset);
  overflow-x: hidden;
}

section[id] {
  scroll-margin-top: var(--scroll-offset);
}

section[id]::before {
  content: "";
  display: block;
  height: var(--scroll-offset);
  margin-top: calc(var(--scroll-offset) * -1);
  visibility: hidden;
  pointer-events: none;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a.link {
  color: var(--primary)
}

.section {
  padding: 60px 0;
}

.reveal {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.reveal-up {
  transform: translateY(24px);
}

.reveal-left {
  transform: translateX(-28px);
}

.reveal-right {
  transform: translateX(28px);
}

.reveal-zoom {
  transform: scale(0.96);
}

.reveal-fade {
  transform: none;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

#services .col-md-6.col-lg-4:nth-of-type(1) .card.reveal {
  transition-delay: 0.1s;
}

#services .col-md-6.col-lg-4:nth-of-type(2) .card.reveal {
  transition-delay: 0.25s;
}

#services .col-md-6.col-lg-4:nth-of-type(3) .card.reveal {
  transition-delay: 0.4s;
}

#services .col-md-6.col-lg-4:nth-of-type(4) .card.reveal {
  transition-delay: 0.55s;
}

#services .col-md-6.col-lg-4:nth-of-type(5) .card.reveal {
  transition-delay: 0.7s;
}

#services .col-md-6.col-lg-4:nth-of-type(6) .card.reveal {
  transition-delay: 0.85s;
}

.section.dark {
  background: #121212;
  color: #ffffff;
}

.eyebrow {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 0px;
}

h1, h2, h3, h4 {
  font-family: "Outfit", sans-serif;
  color: var(--dark);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.section.dark h2,
.section.dark h3 {
  color: #ffffff;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #ffffff;
  z-index: 20;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

main {
  padding-top: 140px;
}

.topbar {
  background: #1b1a1a;
  color: #ffffff;
  font-size: 0.85rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  
  gap: 20px;
  flex-wrap: wrap;
}

.social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 0;
  color: #ffffff;
}

.social-link i {
  font-size: 20px;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar-left {
  position: relative;
}

.topbar-left-band {
  position: relative;
  display: flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--primary);
}

.topbar-left-band::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -100vw;
  width: 100vw;
  background: var(--primary);
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f7f7f7;
}

.contact-item i {
  color: var(--primary);
  font-size: 20px;
}

.nav-wrap {
  border-bottom: 1px solid #f0f0f0;
}

.navbar {
  background: #ffffff;
  padding: 12px 0;
}

.navbar .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo img {
  height: 60px;
}

.navbar-nav .nav-link {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark);
  transition: color 0.5s ease;
  padding: 8px 14px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus-visible,
.navbar-nav .nav-link.active {
  color: var(--primary);
}

.navbar-toggler {
  border-color: rgba(27, 26, 26, 0.2);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.15rem rgba(251, 98, 57, 0.25);
}

.nav-cta {
  padding: 10px 18px;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  border-radius: 4px;
  transition: background-color 0.5s ease, color 0.5s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--dark);
  color: var(--white);
}

.lang-switch {
  position: relative;
  margin-left: 18px;
  margin-right: 12px;
}

.lang-switch summary {
  list-style: none;
  cursor: pointer;
}

.lang-switch summary::-webkit-details-marker {
  display: none;
}

.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: none;
  font-weight: 600;
  color: var(--dark);
  transition: color 0.5s ease;
  background: #ffffff;
}

.lang-switch[open] .lang-current,
.lang-current:hover,
.lang-current:focus-visible {
  color: var(--primary);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  z-index: 10;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: var(--dark);
  transition: background-color 0.5s ease, color 0.5s ease;
}

.lang-option:hover,
.lang-option:focus-visible {
  background: #f7f7f7;
  color: var(--primary);
}

.flag-img {
  width: 24px;
  height: 18px;
  display: block;
}

.btn {
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease;
  box-shadow: 0 18px 40px rgba(27, 26, 26, 0.08);
}

.btn.primary {
  background: var(--primary);
  color: var(--white);
}

.btn.dark {
  background: var(--dark);
  color: var(--white);
}

.btn.light {
  background: var(--white);
  color: var(--dark);
}

.hero-actions .btn {
  border: 2px solid transparent;
}

.hero-actions .btn:hover,
.hero-actions .btn:focus-visible {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.quote-form .btn:hover,
.quote-form .btn:focus-visible {
  background: var(--dark);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #f7f7f7;
}

.hero-content {
  position: relative;
  min-height: 520px;
  padding-top: 2%;
  padding-bottom: 2%;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.1;
  margin-bottom: 0;
}

.hero-title {
  font-family: "Outfit", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}

.hero-media {
  display: flex;
  justify-content: left;
  align-items: center;
}

.hero-image {
  width: min(500px, 100%);
  max-height: 500px;
  object-fit: cover;
  border-radius: 50%;
}

.hero-text .lead {
  max-width: 540px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.clients {
  background: #1b1a1a;
}

.client-row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

.client-text {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}


.section-head {
  margin-bottom: 40px;
}

.section-head.center {
  justify-content: center;
  text-align: center;
}

.card {
  padding: 28px;
  border: 1px solid #eee;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: center;
  box-shadow: 0 18px 40px rgba(27, 26, 26, 0.08);
}

.card .icon {
  width: auto;
  height: auto;
  background: transparent;
  display: grid;
  place-items: center;
  font-weight: 600;
  color: var(--primary);
  align-self: center;
  margin-bottom: 10px;
}

.card .icon i {
  font-size: 2.25rem;
  line-height: 1;
}

.card ul {
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
}

.about {
  background: #f7f7f7;
}

.about-media {
  position: relative;
  max-width: 520px;
}

.about-media .main-img {
  padding-top: 40px;
  transform: rotate(-20deg);
}

#contact {
  background: #f7f7f7;
}

.contact-info {
  background: transparent;
  padding: 0;
  border: none;
  display: grid;
  gap: 18px;
  box-shadow: none;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: transparent;
}

.contact-icon i {
  font-size: 36px;
}

.contact-label {
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.1rem;
}

.contact-value {
  color: var(--text);
  font-size: 1.02rem;
  margin-top: 6px;
}

.features {
  display: grid;
  gap: 18px;
}

.feature {
  display: flex;
  gap: 16px;
  background: #ffffff;
  padding: 18px;
  border: 1px solid #eee;
  box-shadow: 0 18px 40px rgba(27, 26, 26, 0.08);
}

.feature .icon {
  width: 52px;
  height: 52px;
  background: transparent;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--primary);
}

.feature .icon i {
  font-size: 36px;
}

.pricing-content {
  position: relative;
  padding-right: min(320px, 28%);
}

.pricing-content::after {
  content: "\f328";
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: clamp(120px, 18vw, 280px);
  color: var(--primary);
  opacity: 0.12;
  pointer-events: none;
}

.quote-form {
  background: #ffffff;
  padding: 25px;
  border: none;
  display: grid;
  gap: 18px;
  box-shadow: 0 18px 40px rgba(27, 26, 26, 0.08);
}

.quote-form h3 {
  font-size: 1.9rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.quote-form .form-status {
  display: none;
  padding: 12px 14px;
  font-weight: 600;
  font-size: 0.98rem;
  color: #ffffff;
}

.quote-form .form-status.visible {
  display: block;
}

.quote-form .form-status.success {
  background: #2f8f46;
}

.quote-form .form-status.error {
  background: #c53939;
}

.quote-form .turnstile-wrap {
  display: flex;
  justify-content: center;
}

.quote-form label {
  position: relative;
  display: grid;
}

.quote-form label span {
  position: absolute;
  left: -9999px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  height: 50px;
  padding: 0 18px;
  border: none;
  background: var(--light);
  font-size: 0.98rem;
  color: #333;
  border-radius: 0;
  outline: none;
  margin-bottom: 4px;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  box-shadow: 0 0 0 2px rgba(251, 98, 57, 0.25);
}

.quote-form select {
  appearance: none;
  background-image: none;
}

.quote-form textarea {
  height: auto;
  min-height: 140px;
  padding: 14px 18px;
  resize: vertical;
}

.quote-form .btn {
  width: 100%;
  justify-content: center;
  height: 54px;
  padding: 0 24px;
}

.footer-bottom {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  background: #1b1a1a;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}


@media (max-width: 991px) {
  .hero-content {
    padding-top: 10%;
    padding-bottom: 10%;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 30px 0;
  }

  .client-text {
    font-size: 1.25rem;
  }

  .pricing-content {
    padding-right: 15px;
  }

  .pricing-content::after {
    display: none;
  }
}

@media (max-width: 700px) {
  :root {
    --scroll-offset: 400px;
  }

  main {
    padding-top: 180px;
  }

  .topbar-left-band::before {
    display: none;
  }

  .main-nav {
    width: 100%;
    justify-content: center;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 575px) {
  

  .about-media .main-img {
    padding-top: 0;
    transform: rotate(0);
  }
}

@media (max-width: 433px) {
  .quote-form {
    padding: 4%;
  }
}