html {
  scroll-padding-top: 4rem;
}

/* Klasa za navbar koji treba da menja boju pri skrolovanju */

.navbar-scroll-effect {
  background-color: transparent !important;
  transition: background-color 0.3s ease-in-out;
}

/* Klasa koja se dodaje navbaru nakon skrolovanja */

.navbar-scrolled-custom {
  background-color: #c0e3ff !important;
}

/* Opciono: Osigurajte da linkovi ostanu vidljivi.   Prilagodite boje prema vašem dizajnu i da li koristite .navbar-light ili .navbar-dark */

/* Boja linkova kada je navbar skrolovan (možda ne treba menjati ako #cae6fc dobro radi sa podrazumevanim bojama) */

/* .navbar-scrolled-custom.navbar-light .navbar-nav .nav-link,.navbar-scrolled-custom.navbar-light .navbar-brand {    color: #000;}.navbar-scrolled-custom.navbar-dark .navbar-nav .nav-link,.navbar-scrolled-custom.navbar-dark .navbar-brand {    color: #fff;} */

.logo-carousel {
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: relative;
}

.logo-carousel .logo-slide {
  display: flex;
  transition: transform 0.5s ease-in-out;
  flex-shrink: 0;
  width: 100%;
  justify-content: center;
}

.logo-carousel .logo-column {
  flex: 0 0 16.666%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 0 5px;
}

.logo-carousel .logo-column img {
  max-width: 100%;
  height: auto;
  max-height: 90px;
}

@media (max-width: 991px) {
  .logo-carousel .logo-slide {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 991px) {
  .logo-carousel .logo-column {
    flex: 0 0 33.333%;
    padding: 0 5px;
  }
}

.logo-container {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  text-align: center;
}

.logo-row {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.logo-carousel {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: relative;
}

.logo-carousel .logo-slide {
  display: flex;
  transition: transform 0.5s ease-in-out;
  flex-shrink: 0;
  width: 100%;
  justify-content: center !important;
}

.logo-carousel .logo-column {
  flex: 0 0 16.666%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 3%;
}

.logo-carousel .logo-column img {
  max-width: 100%;
  height: auto;
  max-height: 90px;
}

@media (max-width: 991px) {
  .logo-carousel .logo-slide {
    width: 100%;
    justify-content: center !important;
  }
}

@media (max-width: 991px) {
  .logo-carousel .logo-column {
    flex: 0 0 33.333%;
    padding: 0 5px;
  }
}

/* CTA Section Styles */

.cta-section {
  background-color: #f8f9fa;
  padding: 50px 0;
  text-align: center;
}

.cta-container {
  max-width: 1200px;
  margin: 0 auto;
}

.cta-heading {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-subheading {
  font-size: 1.25rem;
  margin-bottom: 30px;
  color: #6c757d;
}

.cta-description {
  font-size: 1rem;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-card {
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
}

.cta-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.cta-card p {
  font-size: 1rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.cta-card .btn {
  width: 100%;
  padding: 3px;
  font-size: 1rem;
  margin-top: auto;
}

@media (max-width: 767px) {
  .cta-heading {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  .cta-subheading {
    font-size: 1rem;
  }
}

@media (max-width: 767px) {
  .cta-card {
    margin-bottom: 30px;
    min-height: auto;
  }
}

.footer a {
  color: #b3b3b4;
}

.footer a:hover {
  color: #fb3640;
}

#social .logo-carousel {
  max-width: 1200px;
  margin: 0 auto;
}

#social p {
  max-width: 1140px;
  margin: 0 auto;
  text-align: left;
}

.hero a {
  color: #fb3640;
}

.hero a:hover {
  color: #3066be;
}

/* Custom Pulse Animation on Hover */

.custom-hover-pulse {
  display: inline-block;
  vertical-align: middle;
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  transition-duration: 0.3s;
  transition-property: transform;
}

.custom-hover-pulse:hover, .custom-hover-pulse:focus, .custom-hover-pulse:active {
  transform: scale(1.1);
}

[id] {
  scroll-margin-top: 90px;
}

.manual-sidebar .nav-link {
  padding-top: 0.15rem;
  padding-bottom: 0.15rem;
  font-size: 0.95rem;
}

.manual-sidebar .nav-item {
  width: 100%;
}

.manual-sidebar {
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding-bottom: 3rem;
}

[id^="survey-"], #price-calculation, #working-with-agencies {
  scroll-margin-top: 80px;
}

