/* =======================
   HERO SECTION STYLING
   ======================= */
.arrow-down {
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid #FFC50B;
  display: inline-block;
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
}

.hero-section {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero-container {
    width: 100%;
    position: relative;
}

.hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    object-fit: cover;
}

.hero-text-container {
    text-align: center;
    color: #fff;
    width: 100%;
    z-index: 1;
    position: absolute;
    bottom: 0;
}

/* --- HERO HEADER --- */
.hero-header {
    margin: 0;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 70px;
    line-height: 1.11;
    letter-spacing: 2px;
    text-align: center;
    color: #fff;
}
.hero-header p{
    line-height: 0.2;
}
.hero-header em {
    color: #FFC50B;
    font-family: "Northwell Alt", cursive;
    font-weight: 400;
    font-size: 170px;
    line-height: 1.11;
    letter-spacing: -2px;
}
/* Safari-only CSS (WebKit hack) */
@supports (-webkit-touch-callout: none) {
  .hero-header em {
    line-height: 0.6; 
  }
}
@supports (-webkit-line-clamp: 1) and (not (text-align-last: justify)) {
    /* If the browser supports -webkit-line-clamp (WebKit/Safari/Chrome)
       BUT does NOT support text-align-last (which Firefox and IE/Edge do,
       but is inconsistently implemented in WebKit), apply this.
       This is a very common, though slightly complex, way to target Safari alone. */
  .hero-header em {
    line-height: 0.6; 
  }
}
.browser-safari .hero-header em {
    line-height: 0.6; 
 }
.hero-header em:after {
    content:"";
    width: 20px;
}

/* --- HERO SUBHEADER --- */
.hero-subheader {
    margin: 30px auto 0 auto;
    color: #fff;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 2px;
}
.hero-subheader p{
    margin: 0;
 }
/* --- BUTTON --- */
.hero-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 225px;
    margin: 70px auto 40px;
    background-color: #EF7223;
    border-radius: 154px;
    text-align: center;
    text-decoration: none;
    padding: 15px 20px;
    transition: all 0.3s ease;
}

.hero-button:hover {
    background-color: #ff8a3b;
}

/* --- BUTTON LABELS --- */
.hero-button-label-1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 1.11;
    letter-spacing: 2px;
    text-align: center;
    color: #fff;
}

.hero-button-label-2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 19px;
    line-height: 1.11;
    letter-spacing: 2px;
    text-align: center;
    color: #fff;
}

@media (max-width: 767px) {
    .hero-header {
        margin: 0;
        max-width: 538px;
        margin-left: auto;
        margin-right: auto;
        font-family: 'Montserrat', sans-serif;
        font-weight: 800;
        font-size: 35px;
        line-height: 1.11;
        letter-spacing: 0;
        text-align: center;
        color: #fff;
    }
    .hero-header em {
        color: #FFC50B;
        font-family: "Northwell Alt", cursive;
        font-weight: 400;
        font-size: 70px;
        line-height: 0.9;
        letter-spacing: 1px;
    }
    .hero-header p {
        line-height: 1;
    }
}


.hero-carousel {
    position: relative;
    overflow: hidden;
}

.hero-wrapper {
    display: flex;
    transition: transform 0.6s ease;
    height: 100%;
}

.hero-container {
    flex: 0 0 100%;
}

.hero-prev,
.hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    padding: 10px 18px;
    border-radius: 50%;
    z-index: 2;
    transition: background 0.3s ease;
}

.hero-prev:hover,
.hero-next:hover {
    background: rgba(0,0,0,0.7);
}

.hero-prev { left: 20px; }
.hero-next { right: 20px; }

.hero-subheader {
    padding: 30px 10px 0;
}

@media screen and (max-width:499px){

    .hero-image {
        object-position: 61%;
    }
    .btn.btn-primary{
        margin: 0 auto !important;
    }

    .hero-subheader p{
        display: inline !important;
    }
}