#gallerySec {
  position: relative;
  padding-top: 100px;
  padding-bottom: 100px;
  overflow: hidden;
}
#gallerySec .topContent {
  position: relative;
  width: 70%;
  margin: 0 auto 50px auto;
  text-align: center;
}
#gallerySec .topContent h1 {
  margin: 0;
  font-size: 60px;
  color: var(--primary-color);
  font-weight: 300;
  line-height: 70px;
}
#gallerySec .topContent h1 br {
  display: block;
}
#gallerySec .topContent p {
  margin: 20px 0 0 0;
  font-size: 18px;
  color: var(--text-color);
  font-weight: 400;
  line-height: 28px;
}
#gallerySec .gallery {
  position: relative;
  padding-bottom: 85px;
}
#gallerySec .gallery .gallery-slider {
  position: static;
}
#gallerySec .gallery .gallery-slider .owl-stage-outer {
  overflow: visible;
}
#gallerySec .gallery .gallery-slider .owl-item {
  opacity: 0.7;
  transform-origin: top;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}
#gallerySec .gallery .gallery-slider .owl-item.slide-active {
  box-shadow: 0px 7px 15px rgb(0 0 0 / 15%);
  opacity: 1;
}
#gallerySec .gallery .gallery-slider .owl-item.slide-prev {
  transform: scale(0.8);
  transform-origin: bottom;
  transition: transform 0.3s ease-in-out;
}
#gallerySec .gallery .gallery-slider .owl-item.slide-next {
  transform: scale(0.8);
  transform-origin: top;
  transition: transform 0.3s ease-in-out;
}
#gallerySec .gallery .gallery-slider .owl-dots {
  position: absolute;
  bottom: 0;
  left: 0;
}
#gallerySec .gallery .customNav {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  right: 0;
}
#gallerySec .gallery .customNav #counter {
  width: auto;
  margin: 0 0px;
  font-size: 20px;
  color: #000000;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}
#gallerySec .gallery .customNav #counter span {
  font-size: 40px;
  color: var(--secondary-color);
  line-height: 30px;
}

#gallerySec .subsidized-image {
  position: relative;
  margin: 0 auto 50px auto;
  max-width: 670px;
  
}

/* #iPad Pro - Large Screens beyond 1024px
================================================== */
@media only screen and (min-width: 959px) and (max-width: 1180px) {
  #gallerySec .topContent h1 {
    font-size: 50px;
    line-height: 60px;
  }
  #gallerySec .topContent p {
    font-size: 16px;
    line-height: 26px;
  }
}

/* #Tablet (Portrait)
================================================== */
/* Note: Design for a width of 768px */
@media only screen and (min-width: 768px) and (max-width: 959px) {
  #gallerySec {
    padding-top: 70px;
    padding-bottom: 70px;
  }
  #gallerySec .topContent {
    width: 100%;
  }
  #gallerySec .topContent h1 {
    font-size: 40px;
    line-height: 50px;
  }
  #gallerySec .topContent p {
    font-size: 16px;
    line-height: 26px;
  }
  #gallerySec .gallery {
    padding-bottom: 82px;
  }
  #gallerySec .gallery .gallery-slider .owl-dots {
    right: auto;
    left: 0;
  }
  #gallerySec .gallery .gallery-slider .owl-dots .owl-dot {
    width: 32px;
    height: 32px;
    margin: 0 5px;
  }
  #gallerySec .gallery .gallery-slider .owl-dots .owl-dot:first-child {
    margin-left: 0;
  }
  #gallerySec .gallery .gallery-slider .owl-dots .owl-dot:last-child {
    margin-right: 0;
  }
  #gallerySec .gallery .gallery-slider .owl-dots .owl-dot:before,
  #gallerySec .gallery .gallery-slider .owl-dots .owl-dot:after {
    display: none;
  }
  #gallerySec .gallery .gallery-slider .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
  }
  #gallerySec .gallery .customNav {
    bottom: 5px;
  }
  #gallerySec .gallery .customNav #counter {
    font-size: 17px;
    line-height: 17px;
  }
  #gallerySec .gallery .customNav #counter span {
    font-size: 30px;
    line-height: 20px;
  }
  #gallerySec .subsidized-image {
    width: 100%;
  }
}

/*  #Mobile (Portrait)
================================================== */
/* Note: Design for a width of 320px */
@media only screen and (max-width: 767px) {
  #gallerySec {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  #gallerySec .topContent {
    width: 100%;
    margin-bottom: 30px;
  }
  #gallerySec .topContent h1 {
    font-size: 30px;
    line-height: 40px;
  }
  #gallerySec .topContent p {
    font-size: 16px;
    line-height: 26px;
  }
  #gallerySec .gallery {
    width: calc(100% + 30px);
    margin-left: -15px;
    padding-bottom: 62px;
  }
  #gallerySec .gallery .gallery-slider .owl-item.slide-prev {
    transform: scale(1);
  }
  #gallerySec .gallery .gallery-slider .owl-item.slide-next {
    transform: scale(1);
  }
  #gallerySec .gallery .customNav {
    bottom: 5px;
    right: 15px;
  }
  #gallerySec .gallery .customNav #counter {
    font-size: 15px;
    line-height: 15px;
  }
  #gallerySec .gallery .customNav #counter span {
    font-size: 25px;
    line-height: 15px;
  }
  #gallerySec .gallery .gallery-slider .owl-dots {
    right: auto;
    left: 15px;
  }
  #gallerySec .gallery .gallery-slider .owl-dots .owl-dot {
    width: 32px;
    height: 32px;
    margin: 0 5px;
  }
  #gallerySec .gallery .gallery-slider .owl-dots .owl-dot:first-child {
    margin-left: 0;
  }
  #gallerySec .gallery .gallery-slider .owl-dots .owl-dot:last-child {
    margin-right: 0;
  }
  #gallerySec .gallery .gallery-slider .owl-dots .owl-dot:before,
  #gallerySec .gallery .gallery-slider .owl-dots .owl-dot:after {
    display: none;
  }
  #gallerySec .gallery .gallery-slider .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
  }

  #gallerySec .subsidized-image {
    width: 100%;
  }
}
