
/* reviews */

.feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: .75rem;
}

.icon-square {
  width: 3rem;
  height: 3rem;
  border-radius: .75rem;
}

.text-shadow-1 { text-shadow: 0 .125rem .25rem rgba(0, 0, 0, .25); }
.text-shadow-2 { text-shadow: 0 .25rem .5rem rgba(0, 0, 0, .25); }
.text-shadow-3 { text-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .25); }


.feature-icon-small {
  width: 3rem;
  height: 3rem;
}

.nav-item{
	margin-left: 15px;
	margin-right: 15px;
}

#nav-main .navbar-nav .nav-link {
    color: var(--ifpd-primary);
}

#nav-main .navbar-nav .nav-link:hover,
#nav-main .navbar-nav .nav-link:focus,
#nav-main .navbar-nav .nav-link.mPS2id-highlight,
#nav-main .navbar-nav .nav-link.mPS2id-clicked {
    color: var(--ifpd-secondary);
}

#nav-main .navbar-nav .current-menu-item:not(.menu-item-type-custom) > .nav-link,
#nav-main .navbar-nav .current-menu-ancestor > .nav-link,
#nav-main .navbar-nav .nav-link.active:not([href*="#"]) {
    color: var(--ifpd-secondary);
}

.navbar-toggler{
 background-color: transparent;
    border:none;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus,
.navbar-toggler-icon:active {
    outline: none;
    box-shadow:1px 0px 1px 1px #343434, 
    -1px 1px 1px 1px #343434;
}



/* Initial Hidden State */
.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateX(0); /* Reset transforms to ensure proper application */
}

/* Common Styles for Animations */
.animated {
    opacity: 0;

    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
}

/* Fade-in from the Left */
.fade-in-left {
    transform: translateX(-25px); /* Start position from the left */
    animation-name: fadeInLeft;
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade-in from the Right */
.fade-in-right {
    transform: translateX(25px); /* Start position from the right */
    animation-name: fadeInRight;
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(25px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade-in from the Top */
.fade-in-down {
    transform: translateY(-25px); /* Start position from the top */
    animation-name: fadeInDown;
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-25px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade-in from the Top on Page Load */
.fade-in-down-initial {
    opacity: 0;
    transform: translateY(-50px); /* Start position from the top */
    animation: fadeInDown 1s ease-in-out forwards;
}
    
    .hero-text{
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        width: clamp(300px, 80vw, 800px)
        }

@media screen and (max-width:767px) {
    #hero{
        height: 100vh;
    }
}


.carousel-item::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 10;
    pointer-events: none;
}

.video-overlay::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(1, 1, 1, 1);
    opacity: 0.3;
    z-index: 10;
    pointer-events: none;
}



.nav-link {
font-family: 'huova-bold', Arial, sans-serif;
font-weight:normal;
font-style:normal;
}

.navbar{
	height: 100px;
}



[data-bs-theme=light] .carousel .carousel-control-next-icon, [data-bs-theme=light] .carousel .carousel-control-prev-icon, [data-bs-theme=light].carousel .carousel-control-next-icon, [data-bs-theme=light].carousel .carousel-control-prev-icon {
    filter: none!important;
	
}


.offcanvas-header{
    padding-left:20px;
    padding-right: 30px;
}

/* Filterable gallery */

.ifpd-gallery {
    background: #f7f7f4;
    color: #111827;
}

.ifpd-gallery__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.ifpd-gallery__intro {
    max-width: 720px;
}

.ifpd-gallery__intro h2 {
    margin-bottom: 0.75rem;
    color: #111827;
}

.ifpd-gallery__intro-text {
    color: #4b5563;
}

.ifpd-gallery__intro-text > :last-child {
    margin-bottom: 0;
}

.ifpd-gallery__filters {
    flex: 0 0 auto;
}

.ifpd-gallery__filter-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem;
}

.ifpd-gallery__filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0.5rem 1rem;
    color: #111827;
    font-weight: 700;
    line-height: 1;
    background: transparent;
    border: 2px solid #111827;
    border-radius: 999px;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ifpd-gallery__filter:hover,
.ifpd-gallery__filter:focus {
    color: #fff;
    background: #2f5f4a;
    border-color: #2f5f4a;
    box-shadow: 0 10px 24px rgba(47, 95, 74, 0.18);
    transform: translateY(-1px);
}

.ifpd-gallery__filter:focus-visible,
.ifpd-gallery__filter-select:focus-visible,
.ifpd-gallery__show-more:focus-visible,
.ifpd-gallery__link:focus-visible {
    outline: 3px solid rgba(231, 76, 60, 0.35);
    outline-offset: 3px;
}

.ifpd-gallery__filter.is-active {
    color: #fff;
    background: #e74c3c;
    border-color: #e74c3c;
    box-shadow: 0 10px 24px rgba(231, 76, 60, 0.22);
}

.ifpd-gallery__filter-select-wrap {
    display: none;
}

.ifpd-gallery__filter-select {
    width: 100%;
    min-height: 3rem;
    padding: 0.65rem 2.75rem 0.65rem 1rem;
    color: #111827;
    font-weight: 700;
    background-color: #fff;
    border: 2px solid #111827;
    border-radius: 8px;
}

.ifpd-gallery__grid {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    margin-right: -0.65rem;
    margin-left: -0.65rem;
    transition: opacity 220ms ease, filter 220ms ease;
}

.ifpd-gallery.is-sorting .ifpd-gallery__grid {
    opacity: 0.82;
    filter: saturate(0.9);
}

.ifpd-gallery__item,
.ifpd-gallery__sizer {
    width: 33.3333%;
}

.ifpd-gallery__item {
    padding: 0.65rem;
}

.ifpd-gallery__link {
    position: relative;
    display: block;
    overflow: hidden;
    color: #fff;
    background: #111827;
    border-radius: 8px;
    box-shadow: 0 14px 30px rgba(17, 24, 39, 0.12);
    isolation: isolate;
}

.ifpd-gallery__image {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 420ms ease, opacity 420ms ease;
}

.ifpd-gallery__link::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(17, 24, 39, 0.72));
    opacity: 0;
    transition: opacity 220ms ease;
    z-index: 1;
}

.ifpd-gallery__item-category {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
    opacity: 0;
    transform: translateY(0.4rem);
    transition: opacity 220ms ease, transform 220ms ease;
}

.ifpd-gallery__link:hover .ifpd-gallery__image,
.ifpd-gallery__link:focus .ifpd-gallery__image {
    opacity: 0.92;
    transform: scale(1.035);
}

.ifpd-gallery__link:hover::after,
.ifpd-gallery__link:focus::after,
.ifpd-gallery__link:hover .ifpd-gallery__item-category,
.ifpd-gallery__link:focus .ifpd-gallery__item-category {
    opacity: 1;
    transform: translateY(0);
}

.ifpd-gallery__actions {
    display: flex;
    justify-content: center;
    margin-top: 1.75rem;
}

.ifpd-gallery__show-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 10rem;
    min-height: 3rem;
    padding: 0.75rem 1.5rem;
    color: #fff;
    font-weight: 700;
    background: #e74c3c;
    border: 2px solid #e74c3c;
    border-radius: 999px;
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ifpd-gallery__show-more:hover,
.ifpd-gallery__show-more:focus {
    color: #fff;
    background: #c0392b;
    border-color: #c0392b;
    box-shadow: 0 10px 22px rgba(192, 57, 43, 0.24);
    transform: translateY(-1px);
}

.ifpd-gallery__show-more[hidden] {
    display: none;
}

.ifpd-gallery-modal .modal-content {
    overflow: hidden;
    background: #0f1720;
    border: 0;
    border-radius: 8px;
}

.ifpd-gallery-modal .modal-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    padding: 0;
}

.ifpd-gallery-modal__image {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 84vh;
}

.ifpd-gallery-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    background-color: #fff;
    border-radius: 999px;
    opacity: 1;
}

@media screen and (max-width: 991px) {
    .ifpd-gallery__header {
        display: block;
    }

    .ifpd-gallery__filters {
        margin-top: 1.5rem;
    }

    .ifpd-gallery__filter-pills {
        justify-content: flex-start;
    }

    .ifpd-gallery__item,
    .ifpd-gallery__sizer {
        width: 50%;
    }
}

@media screen and (max-width: 767px) {
    .ifpd-gallery__filter-pills {
        display: none;
    }

    .ifpd-gallery__filter-select-wrap {
        display: block;
    }

    .ifpd-gallery__item,
    .ifpd-gallery__sizer {
        width: 100%;
    }

    .ifpd-gallery__grid {
        margin-right: -0.35rem;
        margin-left: -0.35rem;
    }

    .ifpd-gallery__item {
        padding: 0.35rem;
    }
}

/* Testimonials carousel */
.ifpd-testimonials {
    background:
        radial-gradient(circle at top left, rgba(231, 76, 60, 0.16), transparent 34rem),
        linear-gradient(135deg, #101820 0%, #1f2d2f 52%, #2f5f4a 100%);
    color: #fff;
}

.ifpd-testimonials__shell {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4rem);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 8px;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.2);
    color: #111827;
}

.ifpd-testimonials__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 720px;
    margin: 0 auto 1.5rem;
}

.ifpd-testimonials__title {
    margin: 0;
    color: #111827;
    line-height: 1.08;
}

.ifpd-testimonials__review-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.65rem 1.25rem;
    border: 1px solid currentColor;
    border-radius: 999px;
    color: #2f5f4a;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.ifpd-testimonials__review-link:hover,
.ifpd-testimonials__review-link:focus {
    background: #2f5f4a;
    color: #fff;
    border-color: #2f5f4a;
}

.ifpd-testimonials__carousel {
    position: relative;
    padding: 0 clamp(0rem, 7vw, 4rem) 3rem;
}

.ifpd-testimonials .carousel-item::before {
    content: none;
}

.ifpd-testimonials__review {
    display: flex;
    min-height: 320px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.ifpd-testimonials__stars {
    display: inline-flex;
    gap: 0.25rem;
    color: #d2a662;
    font-size: clamp(1.2rem, 4vw, 1.6rem);
}

.ifpd-testimonials__quote {
    margin: 0;
    color: #243036;
    font-size: clamp(1.1rem, 3vw, 1.45rem);
    line-height: 1.65;
}

.ifpd-testimonials__quote > :last-child {
    margin-bottom: 0;
}

.ifpd-testimonials__name {
    margin: 0;
    color: #111827;
    font-size: 1rem;
    font-weight: 700;
}

.ifpd-testimonials__date {
    margin: -0.65rem 0 0;
    color: #5f6b74;
    font-size: 0.92rem;
}

.ifpd-testimonials__name::before {
    content: "";
    display: block;
    width: 3rem;
    height: 2px;
    margin: 0 auto 0.8rem;
    background: #e74c3c;
}

.ifpd-testimonials__control {
    top: 50%;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(17, 24, 39, 0.2);
    border-radius: 999px;
    background: #fff;
    opacity: 1;
    transform: translateY(-50%);
}

.ifpd-testimonials__control:hover,
.ifpd-testimonials__control:focus {
    background: #2f5f4a;
}

.ifpd-testimonials__control .carousel-control-prev-icon,
.ifpd-testimonials__control .carousel-control-next-icon {
    width: 1.25rem;
    height: 1.25rem;
    filter: invert(1) grayscale(100);
}

.ifpd-testimonials__control:hover .carousel-control-prev-icon,
.ifpd-testimonials__control:focus .carousel-control-prev-icon,
.ifpd-testimonials__control:hover .carousel-control-next-icon,
.ifpd-testimonials__control:focus .carousel-control-next-icon {
    filter: none;
}

.ifpd-testimonials__indicators {
    right: auto;
    bottom: 0;
    left: 50%;
    gap: 0.5rem;
    width: auto;
    margin: 0;
    transform: translateX(-50%);
}

.ifpd-testimonials__indicators [data-bs-target] {
    width: 0.75rem;
    height: 0.75rem;
    margin: 0;
    border: 0;
    border-radius: 999px;
    background-color: #9ca3af;
    opacity: 1;
}

.ifpd-testimonials__indicators .active {
    background-color: #e74c3c;
}

.ifpd-testimonials__trustatrader {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(17, 24, 39, 0.12);
    text-align: center;
}

.ifpd-testimonials__trustatrader-logo {
    display: block;
    width: min(110px, 42vw);
    height: auto;
}

@media screen and (max-width: 767px) {
    .ifpd-testimonials__shell {
        padding: 2rem 1.25rem;
    }

    .ifpd-testimonials__carousel {
        padding-right: 0;
        padding-left: 0;
    }

    .ifpd-testimonials__review {
        min-height: 360px;
    }

    .ifpd-testimonials__control {
        display: none;
    }
}
