:root {
  --brand-teget: #071658;

  --brand-yellow: #ffb603;

  --brand-red: #e82525;

  --text-dark: #212529;
  --text-muted: #495057;
  --bg-light: #f5f6f7;
  --bg-white: #ffffff;

  --font-primary: "Oswald", sans-serif;
  --font-secondary: "Lato", sans-serif;

  --section-padding-desktop: 120px 0;
  --section-padding-mobile: 60px 0;

  --card-border: 1px solid #e9ecef;
  --card-radius: 10px;
  --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  --card-shadow-hover: 0 8px 25px rgba(10, 31, 90, 0.1);

  --btn-radius: 10px;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;

  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
  font-size: 1.25rem !important;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-secondary);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  padding-top: 66px;
  position: relative;
}

.bg-gray {
  background-color: var(--bg-light);
}

.main-title {
  font-family: var(--font-primary);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 30px;
  line-height: 1.15;
  font-size: 2.5rem;
}

.main-title:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 6px;
  border-radius: 6px;
}

.main-subtitle {
  font-family: var(--font-primary);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 5rem;
  line-height: 1.15;
  font-size: 2rem;
}

.mt-6-5 {
  margin-top: 6.5rem !important;
}

.hero-title {
  font-family: var(--font-primary);
  font-weight: 900;
  line-height: 1.1;
  font-size: clamp(2.1rem, 4.3vw, 3.6rem);
}

.lead {
  font-weight: 600 !important;
}

.sub-title {
  font-family: var(--font-primary);
  color: var(--brand-yellow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1rem;
  margin-bottom: 12px;
  display: block;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.section-std {
  padding: var(--section-padding-desktop);
  position: relative;
}

/* @supports (content-visibility: auto) {
  #galerija,
  #utisci,
  #faq,
  #kljucne-informacije,
  #r-vrednosti {
    content-visibility: auto;
    contain-intrinsic-size: 1px 900px;
  }
} */

.bg-white {
  background-color: var(--bg-white);
}

.btn-base {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  font-size: 0.9rem;
  line-height: 1.25;
  font-weight: 600;
  border-radius: var(--btn-radius);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  width: auto;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.btn-base:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary-brand {
  background-color: var(--brand-teget);
  color: white;
  border-color: var(--brand-teget);
}

.btn-primary-brand:hover {
  background-color: #000050;
  border-color: #000050;
  color: white;
}

.btn-hero-accent {
  background: linear-gradient(135deg, #ffcb2f 0%, var(--brand-yellow) 100%);
  color: var(--text-dark);
  border-color: #f5ad00;
  box-shadow: 0 10px 26px rgba(255, 182, 3, 0.35);
}
.btn-hero-accent:hover {
  background: linear-gradient(135deg, #ffd54a 0%, #ffca2c 100%);
  border-color: #ffca2c;
  color: var(--text-dark);
  box-shadow: 0 12px 30px rgba(255, 182, 3, 0.42);
}

.btn-hero-secondary {
  background-color: rgba(7, 22, 88, 0.95);
  color: white;
  border-color: rgba(7, 22, 88, 0.95);
}

.btn-hero-secondary:hover {
  background-color: rgba(7, 22, 88, 0.82);
  color: white;
  border-color: rgba(7, 22, 88, 1);
}

.hero-cta-group .btn-base {
  min-width: 210px;
}

.floating-phone-btn {
  position: fixed !important;
  bottom: 30px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--brand-red) 0%, #c91e1e 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 25px rgba(232, 37, 37, 0.4);
  z-index: 9999 !important;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  contain: none;
}

.floating-phone-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(232, 37, 37, 0.5);
  color: white;
}

.floating-phone-btn::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--brand-red);
  opacity: 0;
  animation: phone-pulse 2s infinite;
}

@keyframes phone-pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.3);
    opacity: 0;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.card-std {
  background: white;
  border: var(--card-border);
  padding: 20px 18px;
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  transition: all var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  container-type: inline-size;
}

@container (min-width: 300px) {
  .card-std {
    padding: var(--space-md) var(--space-lg);
  }
}
.card-std:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--brand-yellow);
  border-bottom: none;
}
.text-start .card-icon-wrapper {
  margin-left: 0;
  margin-right: 0;
}

.primena-image-wrapper,
.primena-image,
.primena-image img,
.primena-content-wrapper,
.primena-content {
  border-radius: 0;
}

#primena .primena-item{
  border: var(--card-border);
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  will-change: transform, box-shadow;
}

#primena .primena-item:hover{
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
  z-index: 2;
}

#primena .primena-item:hover .primena-image img{
  transform: scale(1.03);
}

.primena-image-wrapper {
  position: relative;
  width: 100%;
  order: 1;
  overflow: hidden;
  border-radius: var(--card-radius) var(--card-radius) 0 0;
}

.primena-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--card-radius) var(--card-radius) 0 0;
}

.primena-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-base);
  border-radius: var(--card-radius) var(--card-radius) 0 0;
}

.primena-image-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.8);
  padding: 16px 20px;
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.primena-image-title i {
  font-size: 1.5rem;
  color: var(--brand-teget);
  flex-shrink: 0;
}

.primena-image-title .primena-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-teget);
  margin: 0;
  line-height: 1.2;
  font-family: var(--font-primary);
  letter-spacing: -0.3px;
}

.primena-content-wrapper {
  position: relative;
  width: 100%;
  order: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: 0 0 var(--card-radius) var(--card-radius);
  overflow: hidden;
  isolation: isolate;
}

.primena-content {
  background: var(--brand-teget);
  position: relative;
  padding: 0;
  flex: 1;
  display: flex;
  align-items: flex-start;
  border-radius: 0 0 var(--card-radius) var(--card-radius);
  overflow: hidden;
}

.primena-content::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='400' height='400' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 200 L200 0 L400 200 L400 400 L200 400 L0 200 Z' fill='rgba(255,255,255,0.03)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  background-position: bottom right;
  background-repeat: no-repeat;
  opacity: 0.2;
  pointer-events: none;
  border-radius: 0 0 var(--card-radius) var(--card-radius);
}

.primena-inner {
  padding: 35px 45px;
  position: relative;
  z-index: 1;
  max-width: 100%;
  width: 100%;
}

.primena-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
  line-height: 1.3;
  font-family: var(--font-primary);
  letter-spacing: -0.3px;
}

.primena-description {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 14px;
  font-family: var(--font-secondary);
}

.primena-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
}

.primena-features-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  font-family: var(--font-secondary);
}

.primena-features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-yellow);
  font-weight: 700;
  font-size: 0.9rem;
}

.hover-brand-lift:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--brand-yellow);
}

.card-shell {
  background: white;
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  height: 100%;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.navbar {
  background-color: var(--bg-white) !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  min-height: 66px;
  padding: 0.6rem 0;
}

.custom-hamburger {
  border: none !important;
  padding: 0.5rem !important;
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1051;
}

.custom-hamburger:focus {
  box-shadow: none !important;
  outline: 2px solid var(--brand-yellow);
  outline-offset: 2px;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background-color: var(--brand-teget);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: center;
}

.custom-hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.custom-hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.custom-hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.custom-hamburger:hover .hamburger-line {
  background-color: var(--brand-yellow);
}

.navbar-brand {
  display: flex;
  align-items: center;
  z-index: 1050;
  position: relative;
}

.navbar-brand img {
  max-height: 66px;
  width: auto;
  height: auto;
}

.navbar-nav li {
  color: var(--brand-teget) !important;
}

.nav-link {
  font-family: var(--font-secondary), sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  color: var(--brand-teget) !important;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.55rem 0.75rem !important;
  border-radius: 6px;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--brand-yellow);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--brand-teget) !important;
  background-color: rgba(7, 22, 88, 0.05);
  transform: translateY(-1px);
  font-weight: 800 !important;
}

.nav-link.active,
.nav-link:focus {
  color: var(--brand-teget) !important;
}

.nav-link.active::after,
.nav-link:focus::after {
  width: 100%;
  left: 0;
  background-color: var(--brand-yellow);
  height: 3px;
}

.hero-section {
  position: relative;
  padding: 10rem 0;
  background-image: url("../assets/images/hero.webp");
  background-size: cover;
  background-position: center;
  color: white;
  margin-top: 0;
  min-height: 85vh;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(7, 22, 88, 0.58) 0%,
    rgba(7, 22, 88, 0.35) 45%,
    rgba(0, 0, 0, 0.26) 100%
  );
}

.hero-title {
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.32);
}

.hero-section .lead {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.05rem, 1.45vw, 1.18rem);
  line-height: 1.55;
}

.contact-wrapper {
  background: white;
  border-radius: var(--card-radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid rgba(255, 182, 3, 0.2);
  padding: 2rem;
}

.contact-form-inner {
  padding: 0;
}

.contact-form-only .form-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-hours {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.form-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(255, 182, 3, 0.2);
}

.form-title {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 0.35rem 0;
  line-height: 1.2;
}

.form-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.contact-form {
  margin-top: 1.25rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-family: var(--font-primary);
}

.form-label i {
  color: #6c757d;
  font-size: 0.95rem;
  opacity: 0.7;
}

.label-optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.form-control-custom {
  border: 1.5px solid #e9ecef;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 12px 16px;
  width: 100%;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  font-family: var(--font-secondary);
  color: var(--text-dark);
}

#tip-objekta,
#kada-radove {
  min-height: 55.0667px;
}

.form-control-custom::placeholder {
  color: #adb5bd;
  font-size: 0.95rem;
}

.form-control-custom option {
  font-size: 0.85rem;
  font-family: var(--font-secondary) !important;
  color: var(--text-dark) !important;
}

.form-control-custom:hover {
  border-color: #dee2e6;
  background-color: #fafbfc;
}

.form-control-custom:focus {
  outline: none;
  background-color: #ffffff;
  border-color: rgba(7, 22, 88, 0.3);
  box-shadow: 0 0 0 3px rgba(7, 22, 88, 0.06);
}

.form-control-custom:focus-visible {
  outline: none;
}

textarea.form-control-custom {
  resize: vertical;
  min-height: 100px;
  font-family: var(--font-secondary);
  line-height: 1.6;
}

select.form-control-custom {
  appearance: auto;
  cursor: pointer;
}

.form-check-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem 1rem;
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .form-check-group {
    grid-template-columns: 1fr 1fr 1.35fr;
    gap: 0.45rem 0.7rem;
  }

  .form-check-custom {
    padding: 0.45rem 0.55rem;
    min-height: 42px;
  }

  .form-check-custom span {
    font-size: 0.82rem;
    white-space: nowrap;
  }
}

@media (max-width: 575.98px) {
  .form-check-group {
    grid-template-columns: 1fr;
  }
}

.form-check-custom {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 1.5px solid #e9ecef;
  background: #fff;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.form-check-custom span {
  font-size: 0.9rem;
}

.form-check-custom:hover {
  border-color: rgba(7, 22, 88, 0.25);
  background: rgba(7, 22, 88, 0.02);
}

.form-check-custom input {
  width: 1.1em;
  height: 1.1em;
  accent-color: var(--brand-teget);
  cursor: pointer;
}

.form-check-custom input:checked + span {
  color: var(--brand-teget);
  font-weight: 600;
}

.form-check-custom:has(input:checked) {
  border-color: var(--brand-teget);
  background: rgba(7, 22, 88, 0.06);
}

.form-submit-wrapper {
  margin-top: 1.5rem;
  text-align: center;
  padding-top: 1.25rem;
}

.btn-submit {
  padding: 12px 24px;
  font-size: 0.9rem;
  line-height: 1.2;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(7, 22, 88, 0.15);
  transition: all 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(7, 22, 88, 0.25);
}

.btn-submit[disabled] {
  opacity: 0.8;
  cursor: not-allowed;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 1rem 0 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.form-note i {
  color: #28a745;
  font-size: 0.95rem;
}

.form-status {
  margin: 0.75rem 0 0;
  min-height: 1.3em;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
}

.form-status.is-success {
  color: #1f7a35;
}

.form-status.is-error {
  color: #b42318;
}

.galerija-foto-item.galerija-hidden {
  display: none !important;
}

.galerija-prikazi-vise-link {
  font-size: 0.82rem;
  color: var(--brand-teget);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
}
.galerija-prikazi-vise-link::after {
  content: " ...";
  letter-spacing: 0.05em;
}
.galerija-prikazi-vise-link:hover {
  color: var(--brand-yellow);
}

.galerija-slika-wrapper {
  height: 280px;
  overflow: hidden;
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  position: relative;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}
.galerija-slika {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.galerija-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 22, 88, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: var(--card-radius);
}
.galerija-overlay i {
  font-size: 3rem;
  color: white;
}
.galerija-slika-wrapper:hover .galerija-overlay {
  opacity: 1;
}
.galerija-slika-wrapper:hover .galerija-slika {
  transform: scale(1.1);
}

.gdesc-inner,
.gslide-description {
  display: none !important;
}

.r-vrednosti-bg {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--brand-teget) 0%, #1a3a7a 100%);
  overflow: hidden;
}

.r-vrednosti-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  background-image: url("../assets/images/r-vrednosti.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.15;
  z-index: 0;
}

.r-vrednosti-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(7, 22, 88, 0.85) 0%,
    rgba(26, 58, 122, 0.9) 100%
  );
  z-index: 1;
}

.r-vrednosti-bg .container {
  position: relative;
  z-index: 2;
}

.r-vrednosti-text {
  position: relative;
  z-index: 2;
  padding-right: 3rem;
}

.r-vrednosti-text .sub-title {
  color: rgba(255, 255, 255, 0.9);
  display: block;
  margin-bottom: 0.75rem;
}

.r-vrednosti-text .main-title {
  color: white;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.r-vrednosti-text .section-desc {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.r-vrednosti-stats {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.r-stat-item {
  display: flex;
  flex-direction: column;
}

.r-stat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.r-stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  font-family: var(--font-primary);
}

.r-stat-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-yellow);
  font-family: var(--font-primary);
}

.r-progress-track {
  width: 100%;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  overflow: visible;
  position: relative;
}

.r-progress-fill {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--brand-yellow) 0%,
    rgba(255, 182, 3, 0.95) 100%
  );
  border-radius: 12px;
  transition: width 0.8s ease;
  position: relative;
  box-shadow: 0 3px 10px rgba(255, 182, 3, 0.4);
}

.r-progress-fill::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-color: var(--brand-yellow);
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.r-vrednosti-image-side {
  position: relative;
  z-index: 2;
  border-radius: var(--card-radius);
  border: 2px solid transparent;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  aspect-ratio: 4 / 3;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  margin-left: 2rem;
}

.r-vrednosti-image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.r-vrednosti-image-side:hover img {
  transform: scale(1.05);
}

.footer-section {
  background: var(--brand-teget);
  color: white;
  padding: 80px 0 30px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem 3rem;
}
.footer-left {
  flex: 0 1 auto;
}
.footer-right {
  flex: 0 1 auto;
  text-align: right;
}
.footer-right .footer-social {
  justify-content: flex-end;
}

.footer-heading {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition:
    color 0.2s,
    transform 0.2s;
}
.footer-link:hover {
  color: var(--brand-yellow);
  transform: translateX(3px);
}
.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  margin-right: 10px;
  text-decoration: none;
  transition: all 0.2s;
}
.social-icon:hover {
  background: var(--brand-yellow);
  color: var(--brand-teget);
}
.copyright-bar {
  margin-top: 50px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.footer-meta {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-meta-item {
  margin-bottom: 0.35rem;
}

.footer-contact {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.footer-contact li {
  margin-bottom: 0.5rem;
}

.footer-contact .footer-link,
.footer-contact-item {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item {
  text-decoration: none;
}

.footer-contact i {
  opacity: 0.9;
}

.footer-social {
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: inherit;
}
.footer-social .social-icon {
  margin-right: 0;
}

.benefits-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 4rem;
  margin-top: 60px;
}

.benefit-row {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(10, 31, 90, 0.08);
  transition: all 0.3s ease;
}

.benefit-row:hover {
  padding-left: 8px;
  border-bottom-color: var(--brand-yellow);
}

.benefit-number {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand-yellow);
  line-height: 1;
  opacity: 0.3;
  transition: all 0.3s ease;
  min-width: 50px;
}

.benefit-row:hover .benefit-number {
  opacity: 1;
  transform: scale(1.1);
}

.benefit-content h5 {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.benefit-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.o-nama-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.o-nama-feature {
  position: relative;
}

.o-nama-feature-content {
  height: 100%;
}

.o-nama-feature-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.o-nama-feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--brand-teget);
  background: linear-gradient(
    135deg,
    rgba(7, 22, 88, 0.1) 0%,
    rgba(255, 182, 3, 0.15) 100%
  );
  margin-bottom: 0;
  transition: all var(--transition-base);
}

.o-nama-feature:hover .o-nama-feature-icon {
  background: linear-gradient(135deg, var(--brand-teget) 0%, #1a3a7a 100%);
  color: white;
  transform: rotate(5deg) scale(1.1);
}

.o-nama-feature-title {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-dark);
  line-height: 1.3;
}

.o-nama-feature-text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.timeline-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
  max-width: 100%;
}

.timeline-wrapper::before {
  display: none;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 0;
  background: white;
  border-radius: var(--card-radius);
  padding: 1.25rem 1rem;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--transition-base);
}

.timeline-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 0.8rem;
}
.timeline-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-teget);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-bottom: 0;
  box-shadow: 0 3px 10px rgba(7, 22, 88, 0.2);
  transition: all var(--transition-base);
}

.timeline-item:hover .timeline-number {
  background: var(--brand-yellow);
  transform: scale(1.1);
  box-shadow: 0 4px 14px rgba(255, 182, 3, 0.3);
}

.timeline-content {
  width: 100%;
  flex: 1;
  padding: 0;
  box-shadow: none;
  border: none;
  background: transparent;
}

.timeline-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.timeline-item:hover .timeline-content {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.timeline-icon {
  display: none;
}

.timeline-title {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.3;
}

.timeline-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.utisci-swiper-wrap {
  position: relative;
  padding: 0 80px 2.5rem;
}
.utisci-swiper {
  overflow: hidden;
  width: 100%;
}
.utisci-swiper .swiper-slide {
  height: auto;
  padding-top: 4px;
}
.utisci-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  margin-top: 0;
  padding: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--brand-teget);
  background: #fff;
  color: var(--brand-teget);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-base);
}
.utisci-nav:hover {
  background: var(--brand-teget);
  color: #fff;
  box-shadow: 0 4px 14px rgba(7, 22, 88, 0.25);
}
.utisci-nav::after {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  position: static !important;
  inset: auto !important;
  margin: 0 !important;
  transform: none !important;
  display: block;
  width: auto;
  height: auto;
}
#utisci-prev::after {
  content: "<";
}
#utisci-next::after {
  content: ">";
}
#utisci-prev {
  left: 12px;
}
#utisci-next {
  right: 12px;
}

.utisci-swiper .utisak-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem 1.35rem;
  height: 100%;
  min-height: 200px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
  display: flex;
  flex-direction: column;
}

.utisak-quote-icon {
  color: var(--brand-yellow);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  line-height: 1;
  opacity: 0.9;
}

.utisak-text {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.65;
  margin: 0 0 auto 0;
  font-style: normal;
  border: none;
  padding: 0;
  flex: 1;
}

.utisak-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: normal;
  margin: 1rem 0 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid #f0f0f0;
}

.utisci-swiper .swiper-pagination {
  position: relative;
  margin-top: 1.5rem;
}
.utisci-swiper .swiper-pagination-bullet-active {
  background: var(--brand-teget);
}

@media (max-width: 991.98px) {
  #kljucne-informacije .info-card,
  #tipovi-pene .pena-type-card {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .timeline-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .timeline-head {
    margin-bottom: 0.7rem;
  }

  .timeline-title-row {
    gap: 0.55rem;
    margin-bottom: 0.5rem;
  }

  #primena .primena-item {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .utisci-swiper-wrap {
    padding: 0 0 4rem;
  }
  .utisci-nav {
    top: auto;
    bottom: 0.25rem;
    width: 34px;
    height: 34px;
    transform: none;
    margin-top: 0;
  }
  .utisci-nav::after {
    font-size: 0.9rem;
  }
  #utisci-prev { left: calc(50% - 42px); right: auto; }
  #utisci-next { left: calc(50% + 8px); right: auto; }

  body {
    padding-top: 66px;
  }

  .section-desc {
    font-size: 0.95rem;
  }

  .sub-title {
    font-size: 0.95rem;
  }

  section {
    padding: 60px 0;
  }

  .main-title {
    font-size: 2rem;
  }

  .benefits-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-std {
    padding: var(--section-padding-mobile) !important;
  }

  .hero-section {
    padding: 4.5rem 0 3.15rem;
    min-height: min(760px, calc(100svh - 66px));
  }

  .contact-wrapper {
    padding: 1.5rem;
  }

  .form-header {
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    text-align: center;
  }

  .form-title {
    font-size: 1.5rem;
  }

  .form-subtitle {
    font-size: 0.95rem;
  }

  .form-group {
    margin-bottom: 1.25rem;
  }

  .form-label {
    font-size: 0.95rem;
  }

  .form-control-custom {
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .form-submit-wrapper {
    margin-top: 2rem;
    padding-top: 1.25rem;
  }

  .form-note {
    font-size: 0.85rem;
    text-align: center;
    flex-wrap: wrap;
  }

  .footer-hours,
  .form-label,
  .form-control-custom::placeholder,
  .form-check-custom,
  .primena-features-list li::before {
    font-size: 0.95rem;
  }

  .hero-title {
    font-size: 2.45rem;
    line-height: 1.1;
  }

  .hero-section .lead {
    font-size: 1rem;
    max-width: 620px;
  }

  .btn-base {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .hero-cta-group .btn-base {
    min-width: 182px;
  }

  .floating-phone-btn {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
    font-size: 1.3rem;
  }

  .r-vrednosti-bg {
    padding: 60px 0;
  }

  .r-vrednosti-bg::before {
    background-attachment: scroll;
  }

  .r-vrednosti-text {
    margin-bottom: 2.5rem;
    padding-right: 0;
  }

  .r-vrednosti-image-side {
    margin-left: 0;
  }

  .r-vrednosti-text .sub-title {
    font-size: 0.95rem;
  }

  .r-vrednosti-text .main-title {
    font-size: 2rem;
    margin-bottom: 0.875rem;
  }

  .r-vrednosti-text .section-desc {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.6;
  }

  .r-vrednosti-stats {
    gap: 18px;
  }

  .r-stat-item {
    margin-bottom: 0;
  }

  .r-stat-header {
    margin-bottom: 8px;
  }

  .r-stat-label {
    font-size: 0.95rem;
  }

  .r-stat-value {
    font-size: 1rem;
  }

  .r-progress-track {
    height: 10px;
  }

  .r-progress-fill::after {
    width: 18px;
    height: 18px;
    border-width: 2px;
  }

  .r-vrednosti-image-side {
    margin-top: 0;
    aspect-ratio: 16 / 10;
  }

  .r-vrednosti-bg .row {
    align-items: center;
  }

  .r-vrednosti-bg .col-lg-6:first-child {
    margin-bottom: 0;
  }

  .r-vrednosti-bg .col-lg-6:last-child {
    margin-top: 2.5rem;
  }

  #r-vrednosti .container {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  #faq .accordion {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  #faq .row {
    row-gap: 0 !important;
  }

  #faq .col-lg-6 {
    margin-bottom: 0 !important;
  }

  #faq .accordion-item {
    margin-bottom: 12px;
  }

  .pena-type-card {
    padding: 1.25rem 1rem;
  }

  .pena-type-header {
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
  }

  .pena-type-header i {
    font-size: 1.5rem;
  }

  .pena-type-title {
    font-size: 1.1rem;
  }

  .pena-type-desc {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
  }

  .pena-type-features li {
    padding: 0.25rem 0;
    font-size: 0.85rem;
  }

}

@media (max-width: 767.98px) {

  .navbar-nav li {
    display: inline-block;
    width: auto;
  }

  .gprev,
  .gnext {
    top: auto !important;
    bottom: 20px !important;
  }

  .gprev {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-60px) !important;
  }

  .gnext {
    left: 50% !important;
    right: auto !important;
    transform: translateX(10px) !important;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
  }
  .footer-right {
    text-align: left;
  }
  .footer-right .footer-social {
    justify-content: flex-start;
  }

  .timeline-wrapper {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .timeline-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 1.25rem;
    gap: 0.5rem;
  }

  .timeline-head {
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
    gap: 0.25rem;
  }

  .timeline-title-row {
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.45rem;
  }

  .timeline-number {
    width: 44px;
    height: 44px;
    font-size: 1rem;
    flex-shrink: 0;
  }

  .timeline-icon {
    width: 42px;
    height: 42px;
    font-size: 1.25rem;
  }

  .timeline-title {
    font-size: 1.1rem;
  }

  .timeline-text {
    font-size: 0.95rem;
  }

  .utisci-swiper-wrap {
    padding: 0 0 4rem;
  }
  .utisci-nav {
    top: auto;
    bottom: 0.25rem;
    width: 30px;
    height: 30px;
    transform: none;
    margin-top: 0;
  }
  .utisci-nav::after {
    font-size: 0.85rem;
  }
  #utisci-prev { left: calc(50% - 40px); }
  #utisci-next { left: calc(50% + 8px); right: auto; }
  .utisci-swiper .utisak-card {
    padding: 1.25rem 1rem;
    min-height: 180px;
    margin: 0;
  }
  .utisak-text { font-size: 0.95rem; }
  .utisak-meta { font-size: 0.85rem; }

  .main-title,
  .r-vrednosti-text .main-title {
    font-size: 1.75rem;
  }

  .hero-title {
    font-size: 2.35rem;
    line-height: 1.06;
  }

  div.col-xl-3:nth-child(2) {
    margin-top: 27px;
  }

  .o-nama-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .o-nama-feature-content {
    text-align: left;
  }

  .o-nama-feature-head {
    justify-content: flex-start;
    margin-bottom: 0.625rem;
  }

  .o-nama-feature-icon {
    width: 45px;
    height: 45px;
    font-size: 1.25rem;
    margin: 0;
  }

  .o-nama-feature-title {
    font-size: 1.15rem;
    text-align: left;
  }

  .o-nama-feature-text {
    font-size: 0.95rem;
    text-align: left;
  }

  .stat-number {
    font-size: 2rem;
  }

  .pena-type-card {
    padding: 1.15rem 0.875rem;
  }

  .pena-type-header {
    margin-bottom: 0.625rem;
    padding-bottom: 0.5rem;
  }

  .pena-type-header i {
    font-size: 1.35rem;
  }

  .pena-type-title {
    font-size: 1.05rem;
  }

  .pena-type-desc {
    margin-bottom: 0.625rem;
    font-size: 0.95rem;
  }

  .pena-type-features li {
    padding: 0.2rem 0;
    font-size: 0.85rem;
  }

  .primena-item {
    flex-direction: column;
  }

  .primena-image-wrapper {
    order: 1;
  }

  .primena-content-wrapper {
    order: 2;
  }

  .primena-content {
    height: auto;
    min-height: auto;
  }

  .primena-inner {
    padding: 30px 24px;
  }

  .primena-image-title {
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 18px;
  }

  .primena-image-title i {
    font-size: 1.3rem;
  }

  .primena-image-title .primena-title {
    font-size: 1.1rem;
  }

  .primena-image {
    aspect-ratio: 16 / 9;
    min-height: 300px;
  }

  .primena-image img {
    min-height: 300px;
  }

  .primena-features-list {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .r-vrednosti-bg {
    padding: 50px 0;
  }

  .r-vrednosti-text .sub-title {
    font-size: 0.95rem;
  }

  .r-vrednosti-text .main-title {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }

  .r-vrednosti-text .section-desc {
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
  }

  .r-vrednosti-stats {
    gap: 16px;
  }

  .r-stat-label {
    font-size: 0.85rem;
  }

  .r-stat-value {
    font-size: 0.95rem;
  }

  .r-progress-track {
    height: 9px;
  }

  .r-progress-fill::after {
    width: 16px;
    height: 16px;
  }

  .r-vrednosti-image-side {
    aspect-ratio: 4 / 3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  }
}

@media (max-width: 576px) {

  body {
    padding-top: 66px;
  }

  .section-desc,
  .r-vrednosti-text .section-desc {
    font-size: 0.95rem;
  }

  .sub-title,
  .r-vrednosti-text .sub-title {
    font-size: 0.85rem;
  }

  .main-title,
  .r-vrednosti-text .main-title {
    font-size: 1.75rem;
  }

  .r-vrednosti-bg {
    padding: 40px 0;
  }

  .r-vrednosti-text {
    margin-bottom: 2rem;
    text-align: center;
    padding-right: 0;
  }

  .r-vrednosti-text .main-title {
    margin-bottom: 0.625rem;
  }

  .r-vrednosti-text .section-desc {
    margin-bottom: 1.5rem;
    line-height: 1.55;
  }

  .r-vrednosti-image-side {
    margin-left: 0;
  }

  .r-vrednosti-stats {
    gap: 14px;
  }

  .r-stat-header {
    margin-bottom: 6px;
  }

  .r-stat-label {
    font-size: 0.85rem;
  }

  .r-stat-value {
    font-size: 0.95rem;
  }

  .r-progress-track {
    height: 8px;
  }

  .r-progress-fill::after {
    width: 14px;
    height: 14px;
    border-width: 2px;
  }

  .r-vrednosti-image-side {
    aspect-ratio: 1 / 1;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  }

  .r-vrednosti-bg .col-lg-6:last-child {
    margin-top: 2rem;
  }

  .navbar-brand {
    margin-right: auto;
  }

  .floating-phone-btn {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
    font-size: 1.2rem;
  }

  .benefit-number {
    font-size: 2rem;
    min-width: 40px;
  }

  .primena-inner {
    padding: 25px 20px;
  }

  .primena-image-title {
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
  }

  .primena-image-title i {
    font-size: 1.2rem;
  }

  .primena-image-title .primena-title {
    font-size: 1rem;
  }

  .primena-image {
    aspect-ratio: 4 / 3;
  }

  #faq .accordion-button {
    font-size: 0.95rem;
    padding: 0.85rem 1rem;
  }
  #faq .accordion-body {
    font-size: 0.95rem;
  }

  .hero-section {
    min-height: calc(100svh - 60px);
    padding: 3.5rem 0 2.75rem;
  }

  .hero-title {
    font-size: 2.15rem;
    line-height: 1.06;
  }

  .hero-cta-group {
    width: 100%;
  }

  .hero-cta-group .btn-base {
    width: auto;
    max-width: none;
    min-width: 190px;
  }
}

#faq .accordion-item {
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  margin-bottom: 14px;
  overflow: hidden;
  background: white;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
}

#faq .accordion-button {
  background-color: rgba(255, 182, 3, 0.8);

  font-weight: 600;
  font-size: 0.95rem;
  padding: 1rem 1.2rem;
  color: var(--text-dark);
  transition: all 0.25s ease;
  border: none;
  box-shadow: none;
}

#faq .accordion-button:hover {
  background-color: rgba(10, 31, 90, 0.04);
}

#faq .accordion-button:not(.collapsed) {
  color: var(--brand-teget);
  background-color: rgba(255, 182, 3, 0.8);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

#faq .accordion-body {
  background: white;
  padding: 1rem 1.2rem 1.3rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

#faq .accordion-button.collapsed,
#faq .accordion-button.collapsed:hover {
  background-color: rgba(255, 182, 3, 0.8);
}

#faq .accordion-button::after {
  filter: invert(24%) sepia(12%) saturate(1000%) hue-rotate(180deg);
}

@media (max-width: 1199.98px) {
  .navbar {
    min-height: 60px;
    padding: 0.45rem 0;
  }

  .navbar-brand img {
    max-height: 56px;
  }

  .custom-hamburger {
    width: 36px;
    height: 36px;
  }

  .nav-link::after {
    content: none !important;
    display: none !important;
  }

  .nav-link.active::after,
  .nav-link:focus::after {
    content: none !important;
    display: none !important;
  }

  .nav-link {
    padding: 0.5rem 0.7rem !important;
    font-size: 0.75rem;
    font-weight: 700 !important;
    letter-spacing: 0.3px;
    margin: 0.08rem 0;
    text-align: right !important;
  }

  .nav-link:hover,
  .nav-link.active {
    background-color: rgba(7, 22, 88, 0.08);
    transform: none;
  }

  .navbar-collapse {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100vw;
    max-height: 0;
    background-color: var(--bg-white) !important;
    z-index: 1040;
    padding: 0;
    overflow: hidden;
    transition:
      max-height 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      opacity 0.3s ease,
      transform 0.3s ease;
    box-shadow: none;
    opacity: 0;
    transform: translateY(-10px);
    border-top: none !important;
  }

  .navbar-collapse.show {
    background-color: var(--bg-white) !important;
    max-height: calc(100vh - 60px);
    height: calc(100svh - 60px);
    padding: 24px 0 16px;
    overflow-y: auto;
    opacity: 1;
    transform: translateY(0);
    border-top: none;
  }

  .navbar-collapse.collapsing {
    background-color: var(--bg-white) !important;
    max-height: 0;
    padding: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition:
      max-height 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      opacity 0.25s ease,
      transform 0.25s ease;
  }

  .navbar-nav {
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: 0;
    padding-right: 10px;
    align-items: flex-end;
    animation: fadeInUp 0.4s ease 0.1s both;
  }

  .navbar-collapse .nav-link {
    position: relative;
    padding: 0.5rem 0 !important;
    margin: 0.02rem 0;
    border-radius: 8px;
    background-color: transparent !important;
    transition:
      color 0.2s ease,
      opacity 0.2s ease;
  }

  .navbar-collapse .nav-link:hover,
  .navbar-collapse .nav-link:focus {
    background-color: transparent !important;
    transform: none;
  }

  .navbar-collapse .nav-link.active,
  .navbar-collapse .nav-link[aria-current="page"] {
    background-color: transparent !important;
    transform: none;
    font-weight: 800 !important;
    background-image: linear-gradient(
      90deg,
      rgba(255, 182, 3, 0.95) 0%,
      rgba(255, 182, 3, 0.95) 100%
    ) !important;
    background-repeat: no-repeat !important;
    background-size: 22px 2px !important;
    background-position: 0 calc(100% - 2px) !important;
  }

  .navbar-collapse.show .navbar-nav {
    animation: fadeInUp 0.4s ease 0.1s both;
    padding-top: 12px;
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .r-vrednosti-bg {
    padding: 70px 0;
  }

  .r-vrednosti-text .main-title {
    font-size: 2rem;
  }

  .r-vrednosti-text .section-desc {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .r-vrednosti-stats {
    gap: 18px;
  }

  .r-stat-label {
    font-size: 0.95rem;
  }

  .r-stat-value {
    font-size: 1.1rem;
  }

  .r-vrednosti-image-side {
    margin-top: 2.5rem;
  }

  .r-vrednosti-bg .row {
    align-items: flex-start;
  }

  .primena-title {
    font-size: 1.25rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .navbar-collapse.show {
    max-height: calc(100svh - 60px);
    padding: 12px 0 16px;
  }

  .navbar-collapse .nav-link {
    font-size: 0.84rem;
    padding: 0.5rem 0 !important;
    margin: 0.02rem 0;
  }

  .hero-section {
    justify-content: center;
    text-align: center;
  }

  .hero-cta-group .btn-base {
    min-width: 172px;
  }

  #kljucne-informacije .row > .col-lg-4.col-md-6:last-child {
    margin-left: auto;
    margin-right: auto;
  }

}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar-collapse .nav-link {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

}

@media (max-width: 767.98px) {
  .navbar-collapse.show {
    max-height: calc(100svh - 60px);
    padding: 10px 0 14px;
  }

  .navbar-nav {
    width: 100%;
    max-width: none;
  }

}

.stat-box {
  padding: 2rem 1rem;
  background: white;
  border-radius: var(--card-radius);
  border: 2px solid transparent;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
}
.stat-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--brand-yellow);
}
.stat-number {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-teget);
  line-height: 1;
}

.pena-type-card {
  padding: 1.5rem 1.25rem;
}
.pena-type-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--bg-light);
}
.pena-type-header i {
  font-size: 1.75rem;
  color: var(--brand-teget);
}
.pena-type-title {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}
.pena-type-desc {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.pena-type-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pena-type-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  color: var(--text-dark);
  font-size: 0.85rem;
}
.pena-type-features li i {
  color: var(--brand-yellow);
  font-size: 0.95rem;
}

.modal-backdrop.show {
  opacity: 0.9;
  background-color: #000;
}

.fade-in-element {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.fade-in-element.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.card-std.fade-in-element:nth-child(1) {
  transition-delay: 0.1s;
}
.card-std.fade-in-element:nth-child(2) {
  transition-delay: 0.2s;
}
.card-std.fade-in-element:nth-child(3) {
  transition-delay: 0.3s;
}
.card-std.fade-in-element:nth-child(4) {
  transition-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
  .fade-in-element {
    opacity: 1;
    transform: none;
    transition: none;
  }

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

.benefits-columns .benefit-row:nth-child(1) {
  transition-delay: 0.1s;
}
.benefits-columns .benefit-row:nth-child(2) {
  transition-delay: 0.2s;
}
.benefits-columns .benefit-row:nth-child(3) {
  transition-delay: 0.3s;
}
.benefits-columns .benefit-row:nth-child(4) {
  transition-delay: 0.4s;
}
.benefits-columns .benefit-row:nth-child(5) {
  transition-delay: 0.5s;
}
.benefits-columns .benefit-row:nth-child(6) {
  transition-delay: 0.6s;
}
.benefits-columns .benefit-row:nth-child(7) {
  transition-delay: 0.7s;
}
.benefits-columns .benefit-row:nth-child(8) {
  transition-delay: 0.8s;
}

.info-card {
  text-align: center;
  padding: 2rem;
}
.info-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  background: linear-gradient(
    135deg,
    rgba(7, 22, 88, 0.1) 0%,
    rgba(255, 182, 3, 0.1) 100%
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.info-icon i {
  font-size: 1.4rem;
  color: var(--brand-teget);
  transition: all 0.3s ease;
}
.info-card:hover .info-icon {
  background: linear-gradient(135deg, var(--brand-teget) 0%, #1a3a7a 100%);
  transform: scale(1.04);
}
.info-card:hover .info-icon i {
  color: white;
}
.info-title {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.info-text {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

@media (min-width: 992px) {
  .contact-wrapper {
    padding: 2.5rem 2.5rem;
  }

  #kljucne-informacije .info-card {
    width: min(100%, 330px);
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
    padding: 28px 22px;
  }

  #kljucne-informacije .info-card.hover-brand-lift:hover {
    box-shadow: 0 8px 20px rgba(7, 22, 88, 0.12);
  }

  #tipovi-pene .pena-type-card {
    width: min(100%, 420px);
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    padding: 27px 20px;
  }

  #prednosti .row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  #prednosti .col-lg-6 {
    width: 100%;
    max-width: none;
  }

  .primena-title {
    font-size: 1.3rem;
  }
}

@media (min-width: 1024px) {
  .hero-overlay {
    background: linear-gradient(
      120deg,
      rgba(7, 22, 88, 0.45) 0%,
      rgba(7, 22, 88, 0.26) 45%,
      rgba(0, 0, 0, 0.2) 100%
    );
  }

  :root {
    --section-padding-desktop: 108px 0;
  }

  html {
    font-size: 1.125rem !important;
    scroll-padding-top: 77px;
  }

  body {
    padding-top: 59px;
  }

  .container {
    max-width: 864px;
  }

  .main-title {
    margin-bottom: 27px;
  }

  .main-subtitle {
    margin-bottom: 4.5rem;
  }

  .section-desc {
    max-width: 810px;
    margin-bottom: 54px;
  }

  .o-nama-grid {
    max-width: 900px;
  }

  .r-vrednosti-bg {
    padding: 72px 0;
  }

  .galerija-slika-wrapper {
    height: 252px;
  }

  .primena-inner {
    padding: 32px 40px;
  }

  #primena .row.g-4 {
    --bs-gutter-x: 2.5rem;
    --bs-gutter-y: 2.5rem;
  }

  .footer-section {
    padding: 72px 0 27px 0;
  }

  #faq .accordion {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
  }

  #faq .row {
    --bs-gutter-x: 1.6rem;
  }

  #faq .accordion-item {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 1200px) {
  .nav-link.active,
  .nav-link:focus {
    background-color: transparent;
  }

  .navbar-collapse.show {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    background: transparent !important;
    z-index: auto !important;
    padding: 0 !important;
    overflow: visible !important;
    margin-top: 0 !important;
  }

  .navbar-collapse.collapsing {
    height: auto !important;
    transition: height 0.35s ease !important;
  }

  .container {
    max-width: 1026px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1188px;
  }
}
