.subhero-sec {
    height: 675px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: relative;
}
.subhero-sec img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.subhero-sec .caption-sec {
    position: absolute;
    bottom: 107px;
}
.subhero-sec .caption-sec .btnbox {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.subhero-sec .caption-sec .btnbox .btntag {
  margin-left: 25px;
  margin-bottom: -15px;
  z-index: 1;
  font-weight: bold;
  transition: all .3s ease-in-out;
}
/*.subhero-sec .caption-sec .btnbox:hover .btntag {
    margin-left: 45px;
}*/
.subhero-sec .caption-sec .btnbox h1,
.subhero-sec .caption-sec .btnbox .btn-main {
  font-size: 54px;
  padding: 0 58px 0 47px;
  border: 2px solid var(--white);
  font-weight: bold;
  letter-spacing: normal;
}
.subhero-sec .caption-sec .btnbox h1,
.subhero-sec .caption-sec a:hover {
  padding: 0 170px 0 97px;
}
.subhero-sec .caption-sec .btnbox h1::after,
.subhero-sec .caption-sec a::after {
  position: absolute;
  width: 35px;
  height: 35px;
  right: 39px;
}

.subhero-sec .caption-sec .btn-main::after {
    display: none;
}

.subhero-sec .caption-sec .btn-main span,
.subhero-sec .caption-sec .btn-main:hover span { transform: none; }

.subhero-sec .caption-sec > h1 {
    border: 2px solid #ffffff;
    border-radius: 49px;
    height: 98px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 47px;
    font-weight: bold;
    color: var(--white);
    background: linear-gradient(45deg, rgba(26, 112, 184, 1) 0%, rgba(111, 162, 87, 1) 69%, rgba(187, 207, 0, 1) 100%);
}

@media (max-width: 991px) {
}

@media (min-width: 768px) and (max-width: 991px) {
    .subhero-sec .caption-sec h1 {
        font-size: 46px;
        padding: 0 40px;
    }
    
}

@media (max-width: 991px) {
    .subhero-sec .caption-sec h1 {
        font-size: 30px;
        padding: 0 70px;
    }
    .subhero-sec {
        height: 548px;
    }
    .subhero-sec .caption-sec {
        left: 15px;
        bottom: 50px;
        right: 15px;
    }
    .subhero-sec .caption-sec .btnbox .btn-main {
        font-size: 30px;
        min-width: 0;
        height: 68px;
        width: 100%;
        padding: 0;
    }
    .subhero-sec .caption-sec .btnbox .btntag {
        font-size: 18px;
        margin: 0;
    }
    
    .subhero-sec .caption-sec .btnbox {
        align-items: center;
    }
}
