/* ---- hero section ---- */
#hero-section {
  position: relative;
  height: 710px;
}

#hero-section .hero-section-content {
  text-align: right;
  margin: 100px 50px 0 0;
  max-width: fit-content;
  float: right;
  padding: 28px 18px;
  background-color: rgba(27, 54, 104, 0.5);
}

#hero-section h1.title {
  font-size: 48px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 32px 0;
}

#hero-section p.subtitle {
  font-size: 32px;
  color: #FFFFFF;
  margin: 0;
}

.hero-section-wrapper {
  position: relative;
}

.hero-section-wrapper .hero-section-bottom-content-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.hero-section-wrapper .hero-section-bottom-content {
  background-color: #ECEEF7;
  padding: 50px 60px;
}

.hero-section-wrapper .hero-section-bottom-content p {
  font-size: 26px;
  text-align: justify;
  color: #1b3668;
  margin: 0;
}


/* ---- main content ---- */
#main-content {
  padding: 100px 0;
}

/* ---- stats section ---- */
#stats-section {
  background-color: #f3f7ff;
  padding: 100px 0;
}

#stats-section .stat-box {
  flex: 1;
  padding-right: 20px;
  margin-right: 20px;
  border-right: 1px solid #1d3e73;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

#stats-section .stat-box:last-of-type {
  border-right: 0;
}

#stats-section .value {
  width: 100%;
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #1d3e73;
  margin: 0 0 10px 0;
}

#stats-section .item {
  font-size: 18px;
  width: 100%;
  text-align: center;
  color: #1d3e73;
}

/* ---- brands promotion ---- */
#brands-promotion {
  padding: 100px 0;
}

#brands-promotion h2.title {
  text-align: center;
  font-size: 50px;
  font-weight: bold;
  color: #1b3668;
  line-height: 100%;
  margin: 0 0 70px 0;
}

#brands-promotion .brands-slider-wrapper {
  position: relative
}

#brands-promotion .brands-slider-wrapper .prev {
  position: absolute;
  left: -100px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  transition: 0.2s linear all;
}

#brands-promotion .brands-slider-wrapper .prev:hover {
  fill: #1b3668;
}

#brands-promotion .brands-slider-wrapper .next {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  transition: 0.2s linear all;
}

#brands-promotion .brands-slider-wrapper .next:hover {
  fill: #1b3668;
}

#brands-promotion ul {
  margin: 0 0 50px 0;
  padding: 0;
}

#brands-promotion ul li {
  list-style: none;
}

#brands-promotion ul li a {
  display: block;
}

#brands-promotion ul li a img {
  display: block;
  margin: 0 auto;
  width: 150px;
  /* Set desired width */
  height: auto;
  /* Maintain aspect ratio */
}



/* ---- distribution promotion ---- */
#distribution-promotion {
  position: relative;
  background-size: cover;
  padding: 100px 0;
  min-height: 1150px;
  overflow: hidden;
}

#distribution-promotion:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: rgb(255, 255, 255);
  background: -moz-linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
  background: -webkit-linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
  background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#FFFFFF", endColorstr="#ffffff", GradientType=1);
  z-index: 1;
}

#distribution-promotion:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: rgb(255, 255, 255);
  background: -moz-linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
  background: -webkit-linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#FFFFFF", endColorstr="#ffffff", GradientType=1);
  z-index: 1;
}

#distribution-promotion h2.title {
  position: relative;
  text-align: center;
  font-size: 50px;
  font-weight: bold;
  color: #1b3668;
  line-height: 100%;
  margin: 0 0 70px 0;
  z-index: 2;
}

#distribution-promotion .main-content p {
  font-size: 24px;
  text-align: justify !important;
  color: #1b3668;
  text-align: center;
}

#distribution-promotion img.map-overview,
#distribution-promotion object.map-overview {
  position: absolute;
  width: 100%;
  height: 60%;
  height: auto;
  top: 15%;
  transform: translateY(-40%);
  left: 0;
  z-index: 0;
  transition: 1s linear all;
}

#distribution-promotion img.map-overview.scaled,
#distribution-promotion object.map-overview.scaled {
  scale: 2;
  transform-origin: 50% 26%;
  transition: 1s linear all;
}

#distribution-promotion .map-buttons-wrapper {
  display: flex;
  justify-content: space-evenly;
  margin: 40px 0 0 0;
}

#distribution-promotion .map-buttons-wrapper>div {
  color: #587c7f;
  font-size: 18px;
  padding: 0 0 5px 0;
  background-color: transparent;
  border-bottom: 1px solid #587c7f;
  cursor: pointer;
}

#distribution-promotion .map-buttons-wrapper>div:hover {
  background-color: transparent;
  color: #1b3668;
  border-bottom: 1px solid #251e69;
}

/* ---- modal ---- */
.map-modal-wrapper {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.4);
  z-index: 10;
}

.map-modal-wrapper .map-modal-holder {
  position: relative;
}

.map-modal-wrapper .map-modal-holder .prev {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  cursor: pointer;
  transition: 0.2s linear all;
}

.map-modal-wrapper .map-modal-holder .prev:hover {
  fill: #1b3668;
}

.map-modal-wrapper .map-modal-holder .next {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  cursor: pointer;
  transition: 0.2s linear all;
}

.map-modal-wrapper .map-modal-holder .next:hover {
  fill: #1b3668;
}

.map-modal-wrapper .map-modal-box {
  display: flex;
  background-color: #FFF;
  padding: 50px 100px;
  border: 2px solid #bbbfd8;
}

.map-modal-wrapper .map-modal-box .map-image {
  flex: 1;
}

.map-modal-wrapper .map-modal-box .map-info {
  flex: 3;
  padding: 0 0 0 20px;
}

.map-modal-wrapper .map-modal-box .map-info h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 20px 0;
  color: #1B3668;
}

.map-modal-wrapper .map-modal-box .map-info p {
  font-size: 18px;
  margin: 0 0 20px 0;
  color: #1B3668;
}

.map-modal-wrapper .close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: #7185ba;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s linear all;
}

.map-modal-wrapper .close-modal:hover {
  background-color: #1a3668;
}

.map-hidden {
  visibility: hidden;
  display: block;
}

.map-lowopacity {
  opacity: 0.01;
}

.map-content-wrapper {
  margin: 50px 0;
}

.map-content-wrapper h3 {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #1b3668;
  margin: 0 0 50px 0;
}

.map-content-wrapper ul {
  margin: 0;
  padding: 0;
}

.map-content-wrapper ul li {
  font-size: 24px;
  list-style: none;
  color: #587c7f;
  margin: 0 0 12px 0;
}

.zoom-options {
  display: flex;
  text-align: center;
  justify-content: center;
  margin: 0;
}

.zoom-options .enlarge {
  width: 64px;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: #cfd5e7;
  margin: 0 20px 0 0;
  cursor: pointer;
  transition: 0.2s linear all;
}

.zoom-options .enlarge:hover {
  background-color: #1b3668;
  transition: 0.2s linear all;
}

.zoom-options .downsize {
  width: 64px;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: #cfd5e7;
  margin: 0 20px 0 0;
  cursor: pointer;
  transition: 0.2s linear all;
}

.zoom-options .downsize:hover {
  background-color: #1b3668;
  transition: 0.2s linear all;
}

.zoom-options svg {
  max-width: 32px;
  width: 100%;
  height: auto;
}

/* ---- logistics promotion ---- */
#logistics-promotion {
  padding: 0 0 40px;
}

#logistics-promotion h2.title {
  text-align: center;
  font-size: 36px;
  font-weight: bold;
  color: #1b3668;
  line-height: 1.2;
  margin-bottom: 40px;
}

#logistics-promotion .row {
  margin: 0 -10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#logistics-promotion .col-md-6,
#logistics-promotion .col-md-auto {
  margin: 0;
  padding: 0;
}

#logistics-promotion .logistics-box {
  height: 250px;
  width: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #7184b8;
  margin: 5px;
  padding: 20px;
  text-decoration: none;
  transition: 0.2s linear all;
  border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

#logistics-promotion .logistics-box:hover {
  background-color: #251e69;
}

#logistics-promotion .logistics-box h3 {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  color: #ffffff;
  margin-top: 15px;
}

#logistics-promotion .logistics-box img {
  max-width: 100px;
  height: auto;
  margin-bottom: 10px;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
  #logistics-promotion {
    padding: 0 0 40px;
  }

  #logistics-promotion h2.title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  #logistics-promotion .row {
    margin: 0;
    padding: 0 10px;
  }

  #logistics-promotion .col-md-auto {
    width: calc(47% - 5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0px;
  }

  #logistics-promotion .logistics-box {
    height: 170px;
    width: 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #7184b8;
    margin: 5px;
    padding: 20px;
    text-decoration: none;
    transition: 0.2s linear all;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  }

  #logistics-promotion .logistics-box img {
    max-width: 60px;
  }

  #logistics-promotion .logistics-box h3 {
    font-size: 16px;
    margin-top: 10px;
  }
}

/* Small mobile devices */
@media screen and (max-width: 375px) {
  #logistics-promotion .logistics-box {
    height: 150px;
    width: 140px;
    margin: 5px;
  }

  #logistics-promotion h2.title {
    font-size: 24px;
  }

  #logistics-promotion .logistics-box img {
    max-width: 50px;
  }

  #logistics-promotion .logistics-box h3 {
    font-size: 14px;
  }
}

#web-shop-wrapper {
  min-height: 600px;
  display: flex;
  text-align: right;
  align-items: center;
  margin-bottom: 40px;
}

#web-shop-wrapper h3 {
  font-size: 36px;
  color: #FFFFFF;
  margin: 0 0 30px 0;
}

#web-shop-wrapper a.primary-button {
  margin: 0 0 0 auto;
}

#careers-wrapper {
  min-height: 330px;
  display: flex;
  align-items: center;
}

#careers-wrapper h3 {
  font-size: 36px;
  color: #FFFFFF;
  margin: 0 0 30px 0;
}

#careers-wrapper a.primary-button {
  margin: 0;
}

@media only screen and (min-width: 1921px) {
  #hero-section {
    background-size: cover;
  }
}

@media only screen and (max-width: 1280px) {
  #brands-promotion .brands-slider-wrapper .prev {
    /* display: none !important; */
    left: -15px;
  }

  #brands-promotion .brands-slider-wrapper .next {
    /* display: none !important; */
    right: -15px;
  }
}

@media only screen and (max-width: 1280px) {
  #distribution-promotion {
    min-height: 980px;
  }

  #distribution-promotion img.map-overview {
    top: 63%;
  }

  #distribution-promotion img.map-overview.scaled {
    scale: 4;
    transform-origin: 50% 25%;
  }
}

@media (max-width: 992px) {
  #distribution-promotion .main-content {
    padding-left: 50px;
    padding-right: 50px;
  }

  #distribution-promotion h2.title {
    font-size: 32px;
  }

  #distribution-promotion .main-content p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  #distribution-promotion .main-content {
    padding-left: 30px;
    padding-right: 30px;
  }

  #distribution-promotion h2.title {
    font-size: 28px;
  }

  #distribution-promotion .main-content p {
    font-size: 16px;
  }
}

@media (max-width: 576px) {

  #distribution-promotion .zoom-options,
  #distribution-promotion .zoom-options .enlarge,
  #distribution-promotion .zoom-options .downsize {
    display: none !important;
  }

  #distribution-promotion {
    padding: 50px 0;
    overflow: hidden;
  }

  .distribution-overview .main-content {
    position: relative;
    z-index: 10;
  }

  #distribution-promotion img.map-overview,
  #distribution-promotion object.map-overview {
    scale: 4.5;
    transform-origin: center center;
    transition: 0.75s linear all;
    width: 100%;
    left: 0%;
    margin-top: 550px;
    z-index: 1;
  }

  #distribution-promotion:before,
  #distribution-promotion:after {
    display: none;
  }
}

@media only screen and (max-width: 768px) {
  #hero-section {
    /* background-image: url("/wp-content/uploads/2024/02/ROX-home-banner-mobile-temporary-800x1280-1.jpg") !important; */
    background-repeat: no-repeat !important;
    background-position: bottom center !important;
    background-size: cover;
    height: 520px;
  }

  #hero-section.image-1 {
    background-image: url("/wp-content/uploads/2024/05/Home-mobile-slider-1.jpg") !important;
  }

  #hero-section.image-2 {
    background-image: url("/wp-content/uploads/2024/11/3mobile.jpg") !important;
  }

  #hero-section.image-3 {
    background-image: url("/wp-content/uploads/2024/11/4mobile.jpg") !important;
  }

  #hero-section .hero-section-content {
    margin: 40px 0 40px 0;
    float: none;
    max-width: unset;
  }

  #hero-section h1.title {
    text-align: center;
    font-size: 28px;
    margin: 0 0 20px 0;
  }

  #hero-section p.subtitle {
    text-align: center;
    font-size: 18px;
  }

  .hero-section-wrapper .hero-section-bottom-content-wrapper {
    transform: translateY(70%);
  }

  .hero-section-wrapper .hero-section-bottom-content {
    padding: 30px 20px;
  }

  .hero-section-wrapper .hero-section-bottom-content p {
    text-align: center;
    font-size: 16px;
  }

  #main-content {
    padding: 150px 0 25px 0;
  }

  #main-content p {
    font-size: 16px;
  }

  #stats-section {
    padding: 25px 0;
  }

  #stats-section .stat-box {
    flex: none;
    width: 100%;
    padding-right: 0;
    margin-right: 0;
    border-right: 0;
  }

  #stats-section .stat-box:last-of-type {
    margin-bottom: 0;
    border-right: 0;
  }

  #stats-section .value {
    margin: 0;
  }

  #stats-section .item {
    max-width: 300px;
    margin: 0 auto 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #1d3e73;
  }

  #stats-section .stat-box:last-of-type .item {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
  }

  #brands-promotion {
    padding: 25px 0;
  }

  #brands-promotion h2.title {
    font-size: 32px;
    margin: 0 0 50px 0;
  }

  #brands-promotion ul {
    margin: 0 0 50px 0;
    padding-left: 25px;
    padding-right: 25px;
  }

  #brands-promotion ul li a img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
  }

  #brands-promotion .brands-slider-wrapper .prev {
    display: block !important;
    margin-left: -20px;
    left: 0;
    height: 36px;
    width: 36px;
  }

  #brands-promotion .brands-slider-wrapper .next {
    display: block !important;
    margin-right: -5px;
    height: 36px;
    width: 36px;
  }


  .map-modal-wrapper .map-modal-box {
    padding: 20px 40px;
  }

  .map-content-wrapper ul li {
    font-size: 16px;
  }

  .map-modal-wrapper .map-modal-box .map-image {
    display: none;
  }

  .map-modal-wrapper .close-modal {
    width: 30px;
    height: 30px
  }

  .map-modal-wrapper .map-modal-holder .next {
    right: 10px;
  }

  .map-modal-wrapper .map-modal-holder .prev {
    left: 10px;
  }

  .zoom-options .enlarge {
    width: 48px;
    height: 48px;
  }

  .zoom-options .downsize {
    width: 48px;
    height: 48px;
  }


  #web-shop-wrapper {
    background: url(/wp-content/uploads/sites/2/2024/05/Home-banner-ROX-Slider-B2B-MOBILE-600x625-1.jpg) center center no-repeat !important;
    position: relative;
  }

  #web-shop-wrapper .col-md-6 {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 40px;
  }

  #web-shop-wrapper h3 {
    text-align: center;
  }

  #web-shop-wrapper a.primary-button {
    margin: 0 auto;
  }

  #careers-wrapper {
    background: url(/wp-content/uploads/sites/2/2024/05/Home-banner-ROX-Slider-karijera-MOBILE-600x625-1.jpg) center center no-repeat !important;
    position: relative;
  }

  #careers-wrapper .col-md-6 {
    position: absolute;
    left: 0;
    right: 0;
  }

  #careers-wrapper h3 {
    text-align: center;
  }

  #careers-wrapper a.primary-button {
    margin: 0 auto;
  }
}