/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
    CSS
-----------------------------------------------------------------*/



/* ---- Carousel brand color overrides ---- */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 2rem;   /* optional—make arrows a little larger */
  height: 2rem;
  /* green SVG arrow (replace default white) */
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23008859' viewBox='0 0 16 16'%3e%3cpath d='M11.354 1.146a.5.5 0 0 1 0 .708L5.207 8l6.147 6.146a.5.5 0 0 1-.708.708l-6.5-6.5a.5.5 0 0 1 0-.708l6.5-6.5a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}
.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23008859' viewBox='0 0 16 16'%3e%3cpath d='M4.646 14.854a.5.5 0 0 1 0-.708L10.793 8 4.646 1.854a.5.5 0 1 1 .708-.708l6.5 6.5a.5.5 0 0 1 0 .708l-6.5 6.5a.5.5 0 0 1-.708 0z'/%3e%3c/svg%3e");
}

/* indicator (dot) color */
.carousel-indicators [data-bs-target] {
  background-color: #008859;
}

.carousel-item .card {
  opacity: 0;
  transform: scale(0.92) translateY(10px);
  transition: opacity .6s ease, transform .6s ease;
}
.carousel-item.active .card {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* --- Dash-style carousel indicators --- */
.carousel-indicators {
  gap: .45rem;                 /* space between dashes */
}

.carousel-indicators [data-bs-target]{
  width: 1.3rem;              /* ← dash length  (shorter or longer) */
  height: 0.3rem;                 /* ← dash thickness (make “thicker”) */
  border-radius: 0em;          /* rounded ends */
  background-color: #008859;   /* brand green */
  opacity: .45;                /* dim when inactive */
  transition: opacity .3s;
}

.carousel-indicators .active{
  opacity: 1;                  /* fully opaque for the current slide */
}

/* For screens 1401px and above */
    @media (min-width: 1400px) {
        .custom-line-height {
            line-height: 1.8; /* Change to your desired value */
        }
    }

    /* For screens 1399px and below */
    @media (max-width: 1399px) {
        .custom-line-height {
            line-height: 1.45; /* Change to your desired value */
        }
    }


/* Prevent margin right on mobile */
html, body { overflow-x: hidden; }


/* Offset Fixed Header */
html { 
    scroll-padding-top: 60px; 
}


/* Custom Fonts */
@font-face {
    font-family: 'BNPP Sans';
    src: url('fonts/bnpp-sans.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'BNPP Sans';
    src: url('fonts/bnpp-sans-bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'BNPP Square';
    src: url('fonts/bnpp-square-regular-v3.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'BNPP Square';
    src: url('fonts/bnpp-square-bold-v3.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

.blinkerwhite {
    animation: blinkerwhite 5s linear infinite;
  }
  
  @keyframes blinkerwhite {
    0%{     color: #ffffff;   }
    15%{     color: #ffffff;   }
    25%{    color: transparent; }
    30%{     color: #ffffff;   }
    70%{     color: #ffffff;   }
    75%{    color: transparent; }
    100%{   color: #ffffff;    }
  }

/* Custom Under Line About Headline */
.hp-text-headline:before {
    content: ""; 
    display: block; 
    width: 7rem;
    height: 0.3525rem;
    margin-bottom: 1.2rem;
    background-color: #008859;
    border-radius: 0.3125rem 0.3125rem 0 0; /* Top-left and top-right corners rounded */
}

.hp-text-headline2 {
    text-align: center;
    position: relative;
}

.hp-text-headline2::before {
    content: ""; 
    display: block; 
    width: 7rem;
    height: 0.3525rem;
    margin: 0 auto 1.2rem auto; /* auto margins center it */
    background-color: #008859;
    border-radius: 0.3125rem 0.3125rem 0 0; /* Top-left and top-right corners rounded */
}


/* Flip Card */
.card-flip > div {
    backface-visibility: hidden;
    transition: transform 300ms;
    transition-timing-function: linear;
    -moz-backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
  }
  
  .card-front {
    transform: rotateY(0deg);
  }
  
  .card-back {
    transform: rotateY(180deg);
    position: absolute;
    top: 0;
  }
  
  .card-flip:hover .card-front {
    transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
    -webkit-transform: rotateY(-180deg);
    -o-transform: rotateY(-180deg);
    -ms-transform: rotateY(-180deg);
  }
    
  .card-flip:hover .card-back {
    transform: rotateY(0deg);
    -moz-transform: rotateY(0);
    -webkit-transform: rotateY(0);
    -o-transform: rotateY(0);
    -ms-transform: rotateY(0);
  }



/* Make font smaller conditionally */
@media (max-width: 1399.98px) {
    .custom-font-size {
      font-size: 0.92rem;
    }
  }

/* Color Variables */
:root {
    --hp-custom-primary: #2D2926;
    --hp-custom-secondary: #008859;
    --hp-custom-tertiary: #004DFF;
}


/* Custom Text Colors */
.hp-text-custom-primary{
    color: var(--hp-custom-primary);
}

.hp-text-custom-secondary{
    color: var(--hp-custom-secondary);
}

.hp-text-custom-tertiary{
    color: var(--hp-custom-tertiary);
}

.hp-text-custom-white{
    color: #ffffff;
}

.hp-text-custom-light{
    color: #a1a1a1;
}

.hp-text-custom-dark{
    color: #000000;
}


/* Custom Background Colors */
.hp-bg-custom-primary{
    background-color: var(--hp-custom-primary);
}

.hp-bg-custom-secondary{
    background-color: var(--hp-custom-secondary);
}

.hp-bg-custom-tertiary{
    background-color: var(--hp-custom-tertiary);
}

.hp-bg-custom-white{
    background-color: #ffffff;
}

.hp-bg-custom-blue{
    background-color: #F1FAFD;
}

.hp-bg-custom-light{
    background-color: #f3f4f4;
}

.hp-bg-custom-dark{
    background-color: #000000;
}



/* Custom Borders */
.hp-border-custom-primary{
    border: 0.5px solid var(--hp-custom-primary); 
    border-radius: 0.1em;
}

.hp-border-custom-secondary{
    border: 0.5px solid var(--hp-custom-secondary); 
    border-radius: 0.1em;
}

.hp-border-custom-tertiary{
    border: 0.5px solid var(--hp-custom-tertiary); 
    border-radius: 0.1em;
}

.hp-border-custom-white{
    border: 0.5px solid #ffffff; 
    border-radius: 0.1em;
}

.hp-border-custom-light{
    border: 0.5px solid #f1f1f1; 
    border-radius: 0.1em;
}

.hp-border-custom-dark{
    border: 0.5px solid #000000; 
    border-radius: 0.1em;
}


/* Custom Link Colors */
.hp-link-custom-primary{
    color: var(--hp-custom-primary);
}
.hp-link-custom-primary:hover, .hp-link-custom-primary:active, .hp-link-custom-primary:focus{
    color: var(--hp-custom-primary);
}

.hp-link-custom-secondary{
    color: var(--hp-custom-secondary);
}
.hp-link-custom-secondary:hover, .hp-link-custom-secondary:active, .hp-link-custom-secondary:focus{
    color: var(--hp-custom-secondary);
}

.hp-link-custom-tertiary{
    color: var(--hp-custom-tertiary);
}
.hp-link-custom-tertiary:hover, .hp-link-custom-tertiary:active, .hp-link-custom-tertiary:focus{
    color: var(--hp-custom-tertiary);
}

.hp-link-custom-white{
    color: #ffffff;
}
.hp-link-custom-white:hover, .hp-link-custom-white:active, .hp-link-custom-white:focus{
    color: #ffffff;
}

.hp-link-custom-dark{
    color: #000000;
}
.hp-link-custom-dark:hover, .hp-link-custom-dark:active, .hp-link-custom-dark:focus{
    color: #000000;
}


/* Custom Outline Button */
.hp-btn-custom-outline-pill{
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    background-color: #f9f9f9;
    border-color: var(--hp-custom-primary);
    color: black;
  }

.hp-btn-custom-outline-primary{
  border-radius: 0px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  background-color: white;
  border-color: var(--hp-custom-primary);
  color: black;
}
.hp-btn-custom-outline-primary:hover, .hp-btn-custom-outline-primary:active, .hp-btn-custom-outline-primary:focus{
   font-weight: 600;
   font-size: 16px;
   background-color: var(--hp-custom-primary);
   border-color: white;
   color: white;
}

.hp-card-custom{
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    background-color: #fffbee;
    border: solid 1.5px #ffc20e;
    color: black;
  }

/* Custom Filled Button */
.hp-btn-custom-filled-primary{
    border-radius: 0px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    background-color: var(--hp-custom-primary);
    color: white;
}
.hp-btn-custom-filled-primary:hover, .hp-btn-custom-filled-primary:active, .hp-btn-custom-filled-primary:focus{
     font-weight: 600;
     font-size: 16px;
     background-color: white;
     border-color: var(--hp-custom-primary);
     color: black;
}

.hp-btn-custom-filled-secondary{
    border-radius: 0px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    background-color: var(--hp-custom-secondary);
    border-color: white;
    color: white;
}
.hp-btn-custom-filled-secondary:hover, .hp-btn-custom-filled-secondary:active, .hp-btn-custom-filled-secondary:focus{
     font-weight: 600;
     font-size: 14px;
     background-color: white;
     border-color: var(--hp-custom-secondary);
     color: black;
}

.hp-btn-custom-filled-secondary-white{
    border-radius: 0px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    background-color: white;
    border-color: white;
    color: black;
}
.hp-btn-custom-filled-secondary-white:hover, .hp-btn-custom-filled-secondary-white:active, .hp-btn-custom-filled-secondary-white:focus{
     background-color: var(--hp-custom-secondary);
     border-color: white;
     color: white;
}


.hp-btn-custom-filled-secondary-small{
    border-radius: 0px;
    text-decoration: none;
    font-size: 12px;
    background-color: white;
    border-color: white;
    color: black;
}
.hp-btn-custom-filled-secondary-small:hover, .hp-btn-custom-filled-secondary-small:active, .hp-btn-custom-filled-secondary-small:focus{
    background-color: var(--hp-custom-secondary);
    border-color: white;
    color: white;
}

.hp-btn-custom-filled-tertiary{
    border-radius: 0px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    background-color: var(--hp-custom-tertiary);
    border-color: var(--hp-custom-tertiary);
    color: black;
}
.hp-btn-custom-filled-tertiary:hover, .hp-btn-custom-filled-tertiary:active, .hp-btn-custom-filled-tertiary:focus{
     font-weight: bold;
     font-size: 16px;
     background-color: var(--hp-custom-primary);
     border-color: var(--hp-custom-primary);
     color: white;
}



/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
}

.floating-reg {
    position: fixed;
    bottom: 20px;
    right: 90px;
    display: none;
}

.hp-btn-backtotop{
    border-radius: 0.25rem;
    text-decoration: none;
    background-color: #f3f3f3;
    border-color: #DCDCDC;
}
.hp-btn-backtotop:hover, .hp-btn-backtotop:active, .hp-btn-backtotop:focus{
    background-color: #ffffff;
    border-color: #C0C0C0;
}

