.hero-section {
  height: 100vh;
}

.hero-mid {
  width: 95%;
  /* background: url(../images/hba-hub-hero.png); */
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 10vh;
}

.hero-mid h1,
.hero-mid h5 {
  color: #fff;
  margin: 0;
  font-weight: 500;
  letter-spacing: 8px;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  z-index: 2;
}

  .hero-mid h1{
    font-size: 40px;
  }
.hero-mid h5 {
  font-weight: 400;
}

.home-o-nama-left h2::after {
  position: static;
}

.hba-counter-section {
  display: flex;
  background-color: #f6f6f6;
  padding: 8% 5%;
}

.counter-single {
  width: 33%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.counter-single a {
  font-size: 64px;
  font-weight: 500;
  letter-spacing: 8px;
  margin: 0;
  position: relative;
}

.counter-single a::after {
  content: ""; /* Required for the pseudo-element to be displayed */
  display: block;
  width: 90%; /* Set the width of the underline */
  height: 1px; /* Set the height of the underline */
  background-color: #222; /* Set the color of the underline */
  position: absolute;
  bottom: -5px; /* Position it just below the text */
  left: 50%; /* Start from the middle */
  transform: translateX(-50%); /* Center it horizontally */
}

.counter-single h3 {
  font-size: 32px;
  text-align: center;
  font-weight: 500;
  letter-spacing: 8px;
  margin: 10px 0;
  text-transform: uppercase;
}

@media (max-width: 1600px) {
  .counter-single a {
    font-size: 55px;
  }

  .counter-single h3 {
    font-size: 28px;
  }
}
@media (max-width: 1400px) {
  .counter-single a {
    font-size: 50px;
  }

  .counter-single h3 {
    font-size: 26px;
  }
}
@media (max-width: 1200px) {
  .counter-single a {
    font-size: 45px;
  }

  .counter-single h3 {
    font-size: 22px;
  }
}
.hub-objekti {
  padding: 5%;
}
.hub-objekti-top {
  display: flex;
  justify-content: space-between;
  gap: 3vw;
}
.hub-objekti-top__left {
  width: 30%;
}
 .hub-objekti-top__mid, .hub-objekti-top__right, .hub-objekti-bot__left, .hub-objekti-bot__mid, .hub-objekti-bot__right {
  cursor: pointer;
  position: relative;
}
.hub-objekti-top__left span {
  position: relative;
  padding-left: 60px;
}
.hub-objekti-top__left span::before {
  content: url("../images/horizontal.png");
  position: absolute;
  top: 25%;
  margin-left: -50px;
  transform: translateY(-50%);
}

.hub-objekti-top__left h2 {
  font-size: 45px;
  margin: 0;
  font-weight: 500;
  letter-spacing: 8px;
}

.hub-objekti-top__left p {
  font-size: 20px;
  margin: 3vh 0;
  font-weight: 500;
  letter-spacing: 2px;
}

@media (max-width: 1600px) {
  .hub-objekti-top__left h2 {
    font-size: 40px;
  }

  .hub-objekti-top__left p {
    font-size: 18px;
  }
}
@media (max-width: 1400px) {
  .hub-objekti-top__left h2 {
    font-size: 36px;
  }

  .hub-objekti-top__left p {
    font-size: 16px;
  }
}
@media (max-width: 1200px) {
  .hub-objekti-top__left h2 {
    font-size: 32px;
  }

  .hub-objekti-top__left p {
    font-size: 14px;
  }
}

.hub-objekti-top__mid {
  /* background: url(../images/project-img.png); */
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45%;
  padding: 10px;
  text-align: center;
  color: #fff;
}

.hub-objekti-top__right {
  /* background: url(../images/milenijum.png); */
  background-size: cover;
  height: 60vh;
  width: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  text-align: center;
  color: #fff;
}

.hub-objekti-top__mid,
.hub-objekti-top__right,
.hub-objekti-bot__mid,
.hub-objekti-bot__right,
.hub-objekti-bot__left {
  height: 450px;
}

.hub-objekti-top__mid h2,
.hub-objekti-top__right h2,
.hub-objekti-bot__mid h2,
.hub-objekti-bot__right h2,
.hub-objekti-bot__left h2 {
  font-size: 45px;
  font-weight: 500;
  letter-spacing: 8px;
  position: relative;
  z-index: 2;
}
@media (max-width: 1600px) {
  .hub-objekti-top__mid h2,
  .hub-objekti-top__right h2,
  .hub-objekti-bot__mid h2,
  .hub-objekti-bot__right h2,
  .hub-objekti-bot__left h2 {
    font-size: 40px;
  }
}
@media (max-width: 1400px) {
  .hub-objekti-top__mid h2,
  .hub-objekti-top__right h2,
  .hub-objekti-bot__mid h2,
  .hub-objekti-bot__right h2,
  .hub-objekti-bot__left h2 {
    font-size: 36px;
  }
}
@media (max-width: 1200px) {
  .hub-objekti-top__mid h2,
  .hub-objekti-top__right h2,
  .hub-objekti-bot__mid h2,
  .hub-objekti-bot__right h2,
  .hub-objekti-bot__left h2 {
    font-size: 32px;
  }
}

.hub-objekti-bot {
  display: flex;
  gap: 3vw;
  margin: 5vh 0;
}
.hub-objekti-bot__left {
  background: url(../images/montenegro-hub.png);
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 29%;
  padding: 10px;
  text-align: center;
  color: #fff;
}

.hub-objekti-bot__mid {
  background: url(../images/vila-moraca.png);
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 26%;
  padding: 10px;
  text-align: center;
  color: #fff;
}

.hub-objekti-bot__right {
  background: url(../images/moraca.png);
  background-size: cover;
  height: 60vh;
  width: 45%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  text-align: center;
  color: #fff;
}

.kompleks {
  padding: 2% 5%;
  text-align: center;
}
.kompleks h2 {
  margin: 0;
  font-size: 50px;
  letter-spacing: 8px;
  font-weight: 400;
}
@media (max-width: 1600px) {
  .kompleks h2 {
    font-size: 45px;
  }
}
@media (max-width: 1400px) {
  .kompleks h2 {
    font-size: 40px;
  }
}
@media (max-width: 1200px) {
  .kompleks h2 {
    font-size: 36px;
  }
}

.kompleks-inner {
  gap: 10vw;
  display: flex;
  text-align: left;
  margin: 5vh 0;
}

.kompleks-inner-left {
  width: 50%;
}

.kompleks-inner-left img,
.kompleks-inner-right img {
  width: 100%;
  height: auto;
}

.kompleks-inner-right {
  width: 50%;
}

.kompleks-inner p {
  color: #222;
  letter-spacing: 2px;
  margin: 5vh 0;
}

.map {
  margin: 0;
  padding: 0;
}

.map iframe {
  width: 100%;
  height: 60vh;
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .hero-section {
    height: 80vh;
  }

  .hero-mid {
    width: 100%;
    background: url(../images/hba-hub-hero.png);
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10vh;
  }

  .home-o-nama-left h2::after {
    position: static;
  }

  .hba-counter-section {
    display: flex;
    flex-direction: column;
    background-color: #f6f6f6;
    padding: 8% 5%;
  }

  .counter-single {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .counter-single a {
    font-size: 45px;
    font-weight: 500;
    letter-spacing: 8px;
    margin: 0;
    position: relative;
  }

  .counter-single a::after {
    content: ""; /* Required for the pseudo-element to be displayed */
    display: block;
    width: 90%; /* Set the width of the underline */
    height: 1px; /* Set the height of the underline */
    background-color: #222; /* Set the color of the underline */
    position: absolute;
    bottom: -5px; /* Position it just below the text */
    left: 50%; /* Start from the middle */
    transform: translateX(-50%); /* Center it horizontally */
  }

  .counter-single h3 {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 8px;
    margin: 10px 0;
  }
  .hub-objekti {
    padding: 5%;
  }
  .hub-objekti-top {
    display: flex;
    flex-direction: column;
    gap: 3vw;
  }
  .hub-objekti-top__left {
    width: 100%;
  }
  .hub-objekti-top__left span {
    position: relative;
    padding-left: 60px;
  }
  .hub-objekti-top__left span::before {
    content: url("../images/horizontal.png");
    position: absolute;
    top: 25%;
    margin-left: -50px;
    transform: translateY(-50%);
  }

  .hub-objekti-top__left h2 {
    font-size: 40px;
    margin: 0;
    font-weight: 500;
    letter-spacing: 8px;
  }

  .hub-objekti-top__left p {
    font-size: 16px;
    margin: 3vh 0;
    font-weight: 500;
    letter-spacing: 2px;
  }

  .hub-objekti-top__mid {
    background: url(../images/project-img.png);
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 95%;
    padding: 10px;
    text-align: center;
    color: #fff;
  }

  .hub-objekti-top__right {
    background: url(../images/milenijum.png);
    background-size: cover;
    height: 60vh;
    width: 95%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    text-align: center;
    color: #fff;
  }

  .hub-objekti-top__mid h2,
  .hub-objekti-top__right h2,
  .hub-objekti-bot__mid h2,
  .hub-objekti-bot__right h2,
  .hub-objekti-bot__left h2 {
    font-size: 35px;
    font-weight: 500;
    letter-spacing: 8px;
  }
  .hub-objekti-bot {
    display: flex;
    flex-direction: column;
    gap: 3vw;
    margin: 2vh 0;
  }
  .hub-objekti-bot__left {
    background: url(../images/montenegro-hub.png);
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 95%;
    padding: 10px;
    text-align: center;
    color: #fff;
  }

  .hub-objekti-bot__mid {
    background: url(../images/vila-moraca.png);
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 95%;
    padding: 10px;
    text-align: center;
    color: #fff;
  }

  .hub-objekti-bot__right {
    background: url(../images/moraca.png);
    background-size: cover;
    height: 60vh;
    width: 95%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    text-align: center;
    color: #fff;
  }

  .kompleks {
    padding: 2% 5%;
    text-align: center;
  }
  .kompleks h2 {
    margin: 0;
    font-size: 50px;
    letter-spacing: 8px;
    font-weight: 400;
  }

  .kompleks-inner {
    gap: 10vw;
    display: flex;
    text-align: left;
    margin: 5vh 0;
  }

  .kompleks-inner-left {
    width: 50%;
  }

  .kompleks-inner-left img,
  .kompleks-inner-right img {
    width: 100%;
    height: auto;
  }

  .kompleks-inner-right {
    width: 50%;
  }

  .kompleks-inner p {
    color: #222;
    letter-spacing: 2px;
    margin: 5vh 0;
  }

  .map {
    margin: 0;
    padding: 0;
  }

  .map iframe {
    width: 100%;
    height: 30vh;
  }
}

@media (max-width: 768px) {
  .hero-section {
    /* height: 80vh; */
    height: 45vh;
  }

  .hero-mid {
    width: 100%;
    background: url(../images/hba-hub-hero.png);
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10vh;
  }

    .hero-mid h1{
    font-size: 30px;
  }

  .home-o-nama-left h2::after {
    position: static;
  }

  .hba-counter-section {
    display: flex;
    flex-direction: column;
    background-color: #f6f6f6;
    padding: 8% 5%;
  }

  .counter-single {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .counter-single a {
    font-size: 45px;
    font-weight: 500;
    letter-spacing: 8px;
    margin: 0;
    position: relative;
  }

  .counter-single a::after {
    content: ""; /* Required for the pseudo-element to be displayed */
    display: block;
    width: 90%; /* Set the width of the underline */
    height: 1px; /* Set the height of the underline */
    background-color: #222; /* Set the color of the underline */
    position: absolute;
    bottom: -5px; /* Position it just below the text */
    left: 50%; /* Start from the middle */
    transform: translateX(-50%); /* Center it horizontally */
  }

  .counter-single h3 {
    font-size: 19px;
    font-weight: 500;
    letter-spacing: 8px;
    margin: 10px 0;
  }
  .hub-objekti {
    padding: 5%;
  }
  .hub-objekti-top {
    display: flex;
    flex-direction: column;
    gap: 3vw;
  }
  .hub-objekti-top__left {
    width: 100%;
  }
  .hub-objekti-top__left span {
    position: relative;
    padding-left: 60px;
  }
  .hub-objekti-top__left span::before {
    content: url("../images/horizontal.png");
    position: absolute;
    top: 25%;
    margin-left: -50px;
    transform: translateY(-50%);
  }

  .hub-objekti-top__left h2 {
    font-size: 40px;
    margin: 0;
    font-weight: 500;
    letter-spacing: 8px;
  }

  .hub-objekti-top__left p {
    font-size: 16px;
    margin: 3vh 0;
    font-weight: 500;
    letter-spacing: 2px;
  }

  .hub-objekti-top__mid {
    background: url(../images/project-img.png);
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 95%;
    /* height: 27vh; */
    padding: 10px;
    text-align: center;
    color: #fff;
  }

  .hub-objekti-top__right {
    background: url(../images/milenijum.png);
    background-size: cover;
    height: 27vh;
    width: 95%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    text-align: center;
    color: #fff;
  }

  .hub-objekti-top__mid h2,
  .hub-objekti-top__right h2,
  .hub-objekti-bot__mid h2,
  .hub-objekti-bot__right h2,
  .hub-objekti-bot__left h2 {
    /* font-size: 30px; */
    font-size: 25px;
    font-weight: 500;
    letter-spacing: 8px;
  }
  .hub-objekti-bot {
    display: flex;
    flex-direction: column;
    gap: 3vw;
    margin: 2vh 0;
  }
  .hub-objekti-bot__left {
    /* background: url(../images/montenegro-hub.png); */
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 95%;
    padding: 10px;
    text-align: center;
    color: #fff;
    height: 20vh;

  }

  .hub-objekti-bot__mid {
    /* background: url(../images/vila-moraca.png); */
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 95%;
    padding: 10px;
    text-align: center;
    color: #fff;
    height: 20vh;

  }

  .hub-objekti-bot__right {
    /* background: url(../images/moraca.png); */
    background-size: cover;
    width: 95%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    text-align: center;
    color: #fff;
    height: 20vh;

  }

  .kompleks {
    padding: 2% 5%;
    text-align: center;
  }
  .kompleks h2 {
    margin: 0;
    font-size: 50px;
    letter-spacing: 8px;
    font-weight: 400;
  }

  .kompleks-inner {
    gap: 10vw;
    display: flex;
    text-align: left;
    margin: 5vh 0;
  }

  .kompleks-inner-left {
    width: 50%;
  }

  .kompleks-inner-left img,
  .kompleks-inner-right img {
    width: 100%;
    height: auto;
  }

  .kompleks-inner-right {
    width: 50%;
  }

  .kompleks-inner p {
    color: #222;
    letter-spacing: 2px;
    margin: 5vh 0;
  }

  .map {
    margin: 0;
    padding: 0;
  }

  .map iframe {
    width: 100%;
    height: 30vh;
  }

  .hub-objekti-top__mid,
.hub-objekti-top__right,
.hub-objekti-bot__mid,
.hub-objekti-bot__right,
.hub-objekti-bot__left {
  height: 300px;
}
}

.timeline-event-overlay{
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.3);
  width: 100%;
  height: 100%;
  z-index: 0;
}

.kompleks span{
  text-transform: uppercase;
}

@media only screen and (max-width: 768px){
  .timeline-event-overlay{
    /* height: 80vh; */
    height: 45vh;
  }
}

.object-image-overlay{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
}

.object-wrap-around{
    padding: 5%;
}

.objects-wrapper{
  display: block;
}

.objects-wrapper .object-cont{
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: flex-start;
  height: 500px;
}

.objects-wrapper .object-cont .object-text{
  width: 33%;
  padding: 20px;
    background-color: #f6f6f6;
    height: calc(100% - 40px);
}

.objects-wrapper .object-cont .object-text span{
position: relative;
padding-left: 60px;
}

.objects-wrapper .object-cont .object-text span::before{
  content: url(../images/horizontal.png);
    position: absolute;
    top: 25%;
    margin-left: -50px;
    transform: translateY(-50%);
}

.objects-wrapper .object-cont .object-text h3{
  margin-bottom: 30px;
}

.objects-wrapper .object-cont .object-text .more-link{
position: relative;
padding-left: 60px;
color: #000;
font-weight: 600;
text-decoration: none;
}

.objects-wrapper .object-cont .object-text .more-link::before{
  content: url(../images/horizontal.png);
    position: absolute;
    top: 25%;
    margin-left: -50px;
    transform: translateY(-50%);
}

.objects-wrapper .object-cont .object-image{
  width: 33%;
  height: 500px;
}

.objects-wrapper .object-cont .object-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.objects-wrapper .object-cont .object-offer{
  width: 33%;
    background-color: #f6f6f6;
    padding: 20px;
        height: calc(100% - 40px);
}

.objects-wrapper .object-cont .object-offer h3{
  margin-bottom: 30px;
}

.objects-wrapper .object-cont .object-offer span{
position: relative;
padding-left: 60px;
}

.objects-wrapper .object-cont .object-offer span::before{
  content: url(../images/horizontal.png);
    position: absolute;
    top: 25%;
    margin-left: -50px;
    transform: translateY(-50%);
}

.objects-wrapper .object-cont .object-offer ul{
  list-style: none;
  margin-top: 45px;
  padding-left: 0;

}

.objects-wrapper .object-cont .object-offer ul li{
  margin-bottom: 50px;
    display: flex;
  align-items: flex-end;
}

.objects-wrapper .object-cont .object-offer ul li img{
  width: 44px;
  height: 46px;
  object-fit: contain;
  object-position: center;
}

.objects-wrapper .object-cont .object-offer ul li a{
  font-size: 18px;
  font-weight: 400;
  color: #000;
  text-transform: uppercase;
  text-decoration: none;
    transition: all 0.5s ease-in-out;
    margin-left: 20px;
    position: relative;
    padding-right: 50px;
}

.objects-wrapper .object-cont .object-offer ul li a::before{
  content: url(../images/arrow-right.png);
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.objects-wrapper .object-cont .object-offer ul li a:hover{
  font-weight: 600;
  transition: all 0.5s ease-in-out;
}

@media only screen and (max-width: 1200px){
  .objects-wrapper .object-cont{
flex-direction: column;
height: auto;
  }

  .objects-wrapper .object-cont .object-text, 
  .objects-wrapper .object-cont .object-offer{
    width: calc(100% - 40px);
  }

   .objects-wrapper .object-cont .object-image{
    height: 350px;
    width: 100%;
   }
}

@media only screen and (max-width: 576px){
.objects-wrapper .object-cont .object-offer ul li img{
  width: 40px;
  height: 41px;
}

.objects-wrapper .object-cont .object-offer ul li a{
  font-size: 14px;
  margin-left: 10px;
}
}

.playBtn{
  position: relative;
  z-index: 1;
  width: 90px;
  height: 90px;
  object-fit: contain;
  object-position: center;
  margin-top: 100px;
  cursor: pointer;
}

  /* Popup container - hidden by default */
.popup {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  align-items: center;
  justify-content: center;
  z-index: 9999; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.7); /* Black w/ opacity */
}

/* Popup Content */
.popup-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto ; /* 15% from the top and centered */
  padding: 20px;
  width: auto; /* Could be more or less, depending on screen size */
  max-width: 100%; /* Maximum width */
}

/* Close Button */
.close-button {
  position: absolute;
  top: 0;
  right: 25px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
}

.close-button:hover,
.close-button:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

#playButton {
  cursor: pointer;
}
.popup-content iframe {
  width: 1000px;

}

.no-scroll {
  overflow: hidden;
}

@media only screen and (max-width: 768px){
  .playBtn{
    margin-top: 20px;
      width: 70px;
  height: 70px;
  }

    .popup-content iframe {
    width: 100%;
    margin: auto;
    height: 300px;
  }
  .popup-content {
    width: 100%;
  }
}