/*! Blue Note Pros — Hero banner widget (ported from demo 2/demo.html .hero-banner) */

.elementor-widget-bnp-hero{
  overflow-x: hidden;
}
.bnp-hero img {
    transform: translateY(-300px);
    animation: heroImageMove 0.5s ease-out forwards;
    top: 0;
    max-width: calc(100% + 8px);
    margin-left: -8px;
    width: calc(100% + 8px);
}

@keyframes heroImageMove {
    from {
        transform: translateY(-40px);
    }
    to {
        transform: translateY(0);
    }
}

.bnp-hero {
	width: 100%;
	min-height: 1000px;
	overflow: hidden;
	background: #fff;
	display: flex;
	align-items: center;
	font-family: var(--bnp-font-config);
}

.bnp-hero__bg {
	position: absolute;
	inset: 0;
	width: calc(100% + 1px);
	height: 100%;
	object-fit: cover;
	object-position: bottom;
	z-index: 1;
	pointer-events: none;
  max-height: 100%;
  margin-left: -1px;
}

.bnp-hero__bg {
    inset: unset;

}

.bnp-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 60px;
    padding-right: 60px;
    height: auto;
    padding-bottom: 11%;
}

.bnp-hero__title {
	max-width: 100%;
	margin: 0 auto;
	color: #fff;
	font-family: var(--bnp-font-bungee);
	font-size: clamp(42px, 4.2vw, 76px);
	font-weight: 900;
	line-height: 0.95;
	letter-spacing: 2px;
	text-align: center;
	text-transform: uppercase;
	text-shadow: 2px 2px 0 #13839a, 4px 4px 0 rgba(0, 0, 0, 0.15);
}

.bnp-hero__description {
	max-width: 850px;
	margin-top: 28px;
	color: #fff;
	font-size: 20px;
	line-height: 1.45;
	text-align: center;
	font-weight: 400;
}

.bnp-hero__description span {
	display: block;
	margin-top: 4px;
}

.bnp-hero__cards {
	display: flex;
	justify-content: center;
	align-items: stretch;
	gap: 50px;
	width: 100%;
	max-width: 900px;
	margin-top: 38px;
}

.bnp-hero__card {
	width: 50%;
	min-height: 170px;
	padding: 5px 30px 12px 30px;
	border-radius: 10px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--bnp-hero-accent, #70c83d);
  position: relative;
}

.bnp-hero__card-title {
	margin-bottom: 15px;
	font-family: var(--bnp-font-bungee);
	font-size: clamp(30px, 2.5vw, 44px);
	line-height: 1;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--bnp-hero-accent, #70c83d);
  text-shadow: 2px 0 0 #00A2BB;
}

.bnp-hero__card-text {
	color: #fff;
	font-size: 14px;
	line-height: 1.5;
	margin-bottom: 14px;
  font-family: var(--bnp-font-roboto);
}

.bnp-hero__card-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	font-size: 16px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	color: var(--bnp-hero-accent, #70c83d);
  font-family: var(--bnp-font-roboto);
}

.bnp-hero__card-link:after {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    content: "";
    left: 0;
}
.bnp-hero__card-link:hover{
	color: #FFFFFF;
}

.bnp-hero__arrow {
	font-size: 20px;
	line-height: 10px;
	transition: transform 0.2s ease;
}

.bnp-hero__card-link:hover .bnp-hero__arrow {
	transform: translateX(5px);
}

@media (max-width: 1024px) {
	.bnp-hero {
		min-height: 600px;
	}

	.bnp-hero__content {
		padding-top: 13%;
		padding-left: 80px;
		padding-right: 50px;
	}

	.bnp-hero__title {
		max-width: 700px;
	}

	.bnp-hero__description {
		max-width: 700px;
		margin-top: 22px;
	}

	.bnp-hero__cards {
		max-width: 760px;
		gap: 30px;
		margin-top: 30px;
	}

	.bnp-hero__card {
		min-height: 155px;
		padding: 20px;
	}
}

@media (max-width: 767px) {
	.bnp-hero {
		min-height: 720px;
	}

	.bnp-hero__bg {
		object-position: center top;
	}

	.bnp-hero__content {
		padding: 130px 30px 100px 75px;
		justify-content: flex-start;
	}

	.bnp-hero__title {
		max-width: 100%;
		font-size: 38px;
		line-height: 0.98;
		letter-spacing: 1px;
	}

	.bnp-hero__description {
		max-width: 500px;
		margin-top: 22px;
		font-size: 14px;
		line-height: 1.5;
	}

	.bnp-hero__description span {
		margin-top: 5px;
	}

	.bnp-hero__cards {
		flex-direction: column;
		width: 100%;
		max-width: 500px;
		gap: 18px;
		margin-top: 28px;
	}

	.bnp-hero__card {
		width: 100%;
		min-height: 150px;
		padding: 20px 18px;
	}

	.bnp-hero__card-title {
		font-size: 32px;
		margin-bottom: 12px;
	}

	.bnp-hero__card-text {
		font-size: 13px;
		margin-bottom: 10px;
	}

	.bnp-hero__card-link {
		font-size: 12px;
	}
}

@media (max-width: 480px) {
	.bnp-hero {
		min-height: 680px;
	}

	.bnp-hero__content {
		padding: 105px 20px 80px 55px;
	}

	.bnp-hero__title {
		font-size: 30px;
	}

	.bnp-hero__description {
		font-size: 13px;
	}

	.bnp-hero__card {
		min-height: 140px;
		padding: 18px 12px;
	}

	.bnp-hero__card-title {
		font-size: 28px;
	}
}



@media (max-width: 1199px) {
  .bnp-hero {
    min-height: 690px !important;
    padding-bottom: 11% !important;
}
  .bnp-hero__content {
    max-width: 100%;
    padding-left: 45px;
    padding-right: 45px;
    padding-block: 9%;
  }
  .bnp-hero__title {
    max-width: 760px;
    font-size: clamp(30px, 4vw, 60px);
    line-height: 0.96;
  }

  .bnp-hero__description {
    max-width: 760px;

    margin-top: 24px;

    font-size: clamp(14px, 1.4vw, 18px);
    line-height: 1.45;
  }

  .bnp-hero__cards {
    max-width: 820px;

    gap: 35px;

    margin-top: 32px;
  }

  .bnp-hero__card {
    min-height: 155px;
    padding: 22px 25px;
  }
  .bnp-hero__cards {
    margin-top: 29px !important;
}
.bnp-hero__cards {
    max-width: 630px  !important;
    display: flex;
    flex-direction: row;
}

  .bnp-hero__card-title {
    font-size: clamp(27px, 3vw, 38px);
    margin-bottom: 12px;
  }

  .bnp-hero__card-text {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .bnp-hero__card-link {
    font-size: 13px;
    gap: 9px;
  }
}


/* =========================================================
   991px — TABLET
========================================================= */

@media (max-width: 991px) {

  .bnp-hero {
    min-height: 540px !important;
    padding-bottom: 24% !important;
}

  .bnp-hero__content {
    padding-left: 30px !important;
    padding-right: 30px !important;
    padding-block: 5% !important;
}

  .bnp-hero__title {
    max-width: 650px;

    font-size: clamp(34px, 3vw, 52px);
    line-height: 0.98;

    letter-spacing: 1.5px;
  }

  .bnp-hero__description {
    max-width: 680px;

    margin-top: 20px;

    font-size: 15px;
    line-height: 1.45;
  }

  .bnp-hero__cards {
    max-width: 720px;

    gap: 25px;

    margin-top: 28px;
  }

  .bnp-hero__card {
    min-height: 145px;

    padding: 20px;
  }

  .bnp-hero__card-title {
    font-size: clamp(24px, 3.4vw, 33px);

    margin-bottom: 10px;
  }

  .bnp-hero__card-text {
    font-size: 12px;
    line-height: 1.45;

    margin-bottom: 10px;
  }

  .bnp-hero__card-link {
    font-size: 12px;
    gap: 8px;
  }

  .bnp-hero__arrow {
    font-size: 18px;
  }
}


/* =========================================================
   767px — MOBILE
========================================================= */

@media (max-width: 767px) {

  .bnp-hero {
    min-height: 0 !important;
    padding: 140px 0 50%!important;
    align-items: flex-start !important;
}

  .bnp-hero__bg {
    object-position: center bottom;
  }
  body .bnp-hero__content {
    padding-top: 0px !important;
    padding-inline: 20px !important;
}

  .bnp-hero__content {
    padding: 35px 20px 50%;
    justify-content: flex-start;
  }

  .bnp-hero__title {
    max-width: 100%;
    font-size: clamp(30px, 8vw, 22px);
    line-height: 0.96;
    letter-spacing: 1px;
  }

.bnp-hero__description {
    max-width: 100%;
    margin-top: 10px;
    font-size: 20px;
    line-height: 28px;
}

  .bnp-hero__description span {
    margin-top: 4px;
  }
section.bnp-hero img {
    height: 100%;
    object-position: left bottom;
    width: 100%;
    margin-left: 0;
}
.bnp-hero:after{
  display: none;
}
.bnp-hero__card {
    margin: 0 auto;
    min-height: 0 !important;
    padding: 12px 10px !important;
}

  .bnp-hero__card {
    width: 100%;
    min-height: 0;

    padding: 22px 20px;
  }

  .bnp-hero__card-title {
    font-size: clamp(25px, 7vw, 20px);
    line-height: 1;

    margin-bottom: 11px;
  }

  .bnp-hero__card-text {
    font-size: 13px;
    line-height: 1.5;
    font-family: var(--bnp-font-roboto);
    margin-bottom: 11px;
  }

  .bnp-hero__card-link {
    font-size: 16px;
    gap: 8px;
    104
    font-weight: 500;
  }

  .bnp-hero__arrow {
    font-size: 18px;
  }
  .bnp-hero__cards {
    gap: 30px;
    flex-direction: column;
    padding-inline: 20px;
  }
}
 
/*line animation*/

 
.bnp-hero {
    height: 49vw !important;
    min-height: 0 !important;
}
.bnp-hero__lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 120%;
    z-index: 5;
    pointer-events: none;
    transform: rotate(0.1deg);
    left: 1px;
    top: auto;
    bottom: 9px;
}
.bnp-hero__bg {
    z-index: 2;
}
.bnp-hero:after {
    background: #fff;
    content: "";
    position: absolute;
    bottom: 8%;
    width: 700px;
    height: 120px;
    z-index: 1;
    transform: rotate(-10deg);
    left: 5%;
}
.bnp-hero__lines svg{display:block;width:100%;height:100%}

/* The colored paths themselves stay static. The white mask moves once
   and is then stopped permanently at the end of each path. */
.reveal-rect{fill:#fff}
.bnp-svg-line{opacity:1}

.bnp-hero__card {
    transition:
        box-shadow 0.3s ease,
        transform 0.3s ease;
}


/* Card hover - accent shadow */
.bnp-hero__card:hover {
    box-shadow: 2px 2px 0 var(--bnp-hero-accent);
}


/* =========================================
   EXPLORE LINK
========================================= */

.bnp-hero__card-link {
    z-index: 2;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid transparent;
    border-radius: 6px;
    transition:
        color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}


/* =========================================
   SHOW BUTTON STYLE WHEN CARD IS HOVERED
========================================= */

.bnp-hero__card:hover .bnp-hero__card-link {
    color: #fff;
    border-color: var(--bnp-hero-accent);
    box-shadow: 2px 2px 0 var(--bnp-hero-accent);
}


/* Arrow */
.bnp-hero__arrow {
    transition: transform 0.3s ease;
}

.bnp-hero__card:hover .bnp-hero__arrow {
    transform: translateX(5px);
}

@media (max-width: 1600px) {
.bnp-hero {
    height: 61vw !important;
}
.bnp-hero__lines {
    width: 100%;
    height: 97%;
    left: 0px;
    bottom: 29px;
}
.bnp-hero__content{
  padding-bottom: 11% !important;
}
.bnp-hero:after {
    bottom:93px;
    height: 150px; 
    left: 4%;
}

}

@media(max-width:1300px){
.bnp-hero__lines {
    bottom: 28px;
}
}
@media(max-width:1199px){
.bnp-hero:after {
  left: 4%;
  bottom: 88px;
}
.bnp-hero__lines {
    bottom: 19px;
}
}

@media(max-width:767px){
  .bnp-hero{min-height:680px}
  .bnp-hero__bg{object-position:center bottom} 
 .bnp-hero__lines, .bnp-hero__lines svg {
    width: 100%;
    height: 675px;
    transform: none;
    margin-left: 0;
}
  .bnp-hero {height: auto!important;}
  .bnp-hero__lines {display: none;}
}


@media screen and (min-width:768px) and (max-width:991px){
.bnp-hero__card {
    min-height: 145px;
    padding: 6px;
}
.bnp-hero__lines {
    bottom: 13px;
}
.bnp-hero:after {
    left: 3%;
    bottom: 78px;
}
.bnp-hero__card-link {
    min-height: 32px;
    padding: 3px 14px;
}
.bnp-hero__cards {
    margin-top: 15px !important;
}
.bnp-hero__description{
  margin-top: 5px;
}
}
