.hero-sec {
    height: 720px;
    overflow: hidden;
    position: relative;
}

.hero-sec h1, .hero-sec h2 {
    font-size:85px;
    color: white;
}

.slider-for {
    height: 100%;
}

.hero-sec .slider-main-wrapper {
    height: 100%;
    width: 100%;
    position: relative;
}

.hero-sec .slider-main-wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #000;
    opacity: 0.5;
    z-index: 3;
}

.mytable.table-content {
    position: relative;
    z-index: 3;
}

.hero-sec .slider-banner-image {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-animation: zoom 40s linear infinite;
    animation: zoom 40s linear infinite;
}

.h-100,
.hero-sec .slick-list,
.hero-sec .slick-track,
.hero-sec .slick-slide>div {
    height: 100%;
}



/* Slider Zoom Effect */
@-webkit-keyframes zoom {
    0% {

        -webkit-transform: scale(1);

    }

    25% {

        -webkit-transform: scale(1.05);

    }

    50% {

        -webkit-transform: scale(1.08);

    }

    75% {

        -webkit-transform: scale(1.05);

    }

    100% {

        -webkit-transform: scale(1);

    }
}

@-moz-keyframes zoom {
    0% {

        -moz-transform: scale(1);

    }

    25% {

        -moz-transform: scale(1.05);

    }

    50% {

        -moz-transform: scale(1.08);

    }

    75% {

        -moz-transform: scale(1.05);

    }

    100% {

        -moz-transform: scale(1);

    }
}

@-o-keyframes zoom {
    0% {

        -o-transform: scale(1);

    }

    25% {

        -o-transform: scale(1.05);

    }

    50% {

        -o-transform: scale(1.08);

    }

    75% {

        -o-transform: scale(1.05);

    }

    100% {

        -o-transform: scale(1);

    }
}

@keyframes zoom {
    0% {

        transform: scale(1);

    }

    25% {

        transform: scale(1.05);

    }

    50% {

        transform: scale(1.08);

    }

    75% {

        transform: scale(1.05);

    }

    100% {

        transform: scale(1);

    }
}

.hero-sec .slider-main-wrapper p {
    color: #fff;
}


.hero-sec .slick-dots {
    width: 100%;
    top: 94%;
    bottom: auto;
    transform: translate(-50%, -50%);
    left: auto;
    right: -50%;
    /* transform: translateY(-50%); */
}

.hero-sec .slick-dots li {
    opacity: 0.5;
    transition: all ease-in-out 0.4s;
}

.hero-sec .slick-dots li.slick-active {
    opacity: 1;
}

.hero-sec .slick-dots li:hover {
    opacity: 1;
    transition: all ease-in-out 0.4s;
}
.hero-sec .slick-dots li button:before {
    content: '\f0c8';
    font-size: 10px;
    font-family: "Font Awesome 6 Sharp";
    color: #B42318;
    padding-bottom: 0;

}

.hero-sec .slick-dots li {
    height: 24px;
    width: 24px;
    position: relative;
    display: inline-block;
    margin-top: 12px;
    cursor: initial;
}

.hero-sec .slick-dots li button {
    height: 24px;
    width: 24px;
    border: 5px solid #B42318;
    position: relative;
}

.hero-sec .thumb-image .thumbnail-image {
    margin-bottom: 7px;
    cursor: pointer;
}

.hero-sec .thumb-image .slick-current.slick-active .thumbnail-image .thumbImg {
    opacity: 1;
}
.slide-down,
.slide-up,
.slide-in {
    opacity: 0;
}

.slide-down.animate {
    opacity: 0;
    -webkit-animation: slide-down 1s cubic-bezier(0.4, 0, 0.2, 1) 500ms forwards;
}

.slide-up.animate {
    opacity: 0;
    -webkit-animation: slide-up 1s cubic-bezier(0.4, 0, 0.2, 1) 500ms forwards;
}

.slide-in.animate {
    opacity: 0;
    -webkit-animation: slide-in 1s cubic-bezier(0.4, 0, 0.2, 1) 500ms forwards;
}

@-webkit-keyframes slide-down {
    0% {
        -webkit-transform: translateY(-200%);
        opacity: 0
    }

    100% {
        -webkit-transform: translateY(0);
        opacity: 1
    }
}

@-webkit-keyframes slide-up {
    0% {
        -webkit-transform: translateY(100%);
        opacity: 0
    }

    100% {
        -webkit-transform: translateY(0);
        opacity: 1
    }
}

@-webkit-keyframes slide-in {
    0% {
        -webkit-transform: translateX(200%);
        opacity: 0
    }

    100% {
        -webkit-transform: translateX(0);
        opacity: 1
    }
}

.hero-sec .thumbnail-image .thumbImg {
    width: 84px;
    height: 60px;
    opacity: 0.4;
    border: 5px solid #B42318;
    transition: all ease-in-out .4s;
}

.hero-sec .thumbnail-image .thumbImg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-sec .thumb-image {
    position: absolute;
    z-index: 4;
    bottom: 0%;
    right: -13%;
    transform: translate(-50%, -50%);
    width: 255px;
}
.hero-sec .slick-dots li {
    display: none;
}
@media only screen and (min-width: 768px) {

    .hero-sec .thumbnail-image .thumbImg {
        width: 84px;
        height: 60px;
    }

    .hero-sec .slick-dots li {
        height: 32px;
        width: 32px;
    }

    .hero-sec .slick-dots li button {
        height: 32px;
        width: 32px;
    }

    .hero-sec .slick-dots li button:before {
        font-size: 16px;
    }

    .hero-sec .hero-btn a.btn {
        width: auto;
        padding: 16px 48px;
    }
}

@media only screen and (min-width: 992px) {
    .hero-sec .thumbnail-image .thumbImg {
        width: 122px;
        height: 65px;
        opacity: 0.5;
        border: 5px solid #B42318;
        transition: all ease-in-out .4s;
    }
    .hero-sec .slick-dots li { 
        display: block;
    }
   
    .hero-sec .thumb-image {
        bottom: auto;
        top: 52%;
        left: auto;
        right: 2.5%;
        width: 125px;
    }

    .hero-sec .slick-dots {
        width: 55px;
        top: 52.5%;
        bottom: auto;
        transform: translate(-50%, -50%);
        left: auto;
        right: 0;
    }

    .hero-sec .slick-dots li {
        height: 65px;
        width: 32px;
        position: relative;
        display: block;
        margin-top: 12px;
        cursor: initial;
    }

    .hero-sec .thumb-image .thumbnail-image .thumbImg:hover {
        opacity: 1;
        transition: all ease-in-out .4s;
    }

}

.mcl-each.mcl-btn-holder .btn.btn-primary:hover {
    color: #fff;
}


/* ===== Mobile fixes for .hero-sec ===== */
@media (max-width: 767.98px) {

  .hero-sec {
    height: 70vh;
    min-height: 480px;
    overflow: hidden;
  }

  .hero-sec .slider-banner-image {
    animation: none !important;
    -webkit-animation: none !important;
    background-position: center center;
  }

  .hero-sec .slider-main-wrapper::before {
    opacity: 0.45;
  }

  /* Slightly larger, stronger headings */
  .hero-sec h1,
  .hero-sec h2 {
    font-size: clamp(36px, 10vw, 48px); /* was max 44px, bumped to 48px */
    line-height: 1.05;
    margin: 0 0 12px;
  }

  .hero-sec .slider-main-wrapper p {
    font-size: 15px;
    line-height: 1.45;
    margin-bottom: 18px;
  }

  /* ✅ Button: not full-width, but still big and centered */
  .hero-sec .hero-btn {
    text-align: left; /* Ensures native layout */
  }

  .hero-sec .hero-btn a.btn {
    display: inline-block;
    width: auto;
    padding: 14px 28px; /* Less excessive than 48px */
    font-size: 15px;
    white-space: normal;
  }

  /* Hide thumbnails & slick dots */
  .slider.slider-nav.thumb-image,
  .hero-sec .thumb-image,
  .hero-sec .slick-dots {
    display: none !important;
  }

  .h-100,
  .hero-sec .slick-list,
  .hero-sec .slick-track,
  .hero-sec .slick-slide > div {
    height: 100%;
  }
}
