@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
body {
    background-color: #ececec;
    background-image: url("/img/bgPatern.svg");
    background-repeat: repeat-y;
    background-size: cover;
    background-position: top center;
    font-family: 'Montserrat', sans-serif;
}
/*custom fonts*/
.montserrat-400 {
     font-family: "Montserrat", sans-serif;
     font-optical-sizing: auto;
     font-weight: 0;
     font-style: normal;
 }
.great-vibes-regular {
    font-family: "Great Vibes", cursive;
    font-weight: 400;
    font-style: normal;
}

/*preloader*/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #007bff; /* Niebieski kolor tła - zmień na dowolny */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
#preloaderLogo {
    max-width: 150px;
    max-height: 50px;
    margin-bottom: 20px;
}
/*main baner*/
.hero-banner {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    border-radius: 0 0 25px 25px;
}

.hero-banner video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero-tint {
    position: absolute;
    inset: 0;
    background: rgba(77,61,77,0.55);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    color: #fff;
}

.hero-texts {
    position: absolute;
    bottom: 6rem;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 4;
}
.hero-texts > p {
    margin: 0;
    padding: 0;
}
.hero-texts > p.smallLetters {
    font-size: 1.5rem;
    letter-spacing: 32%;

}

.hero-arrow-btn {
    width: 62px;
    height: 42px;
    border-radius: 10px;
    border:0px;
    background: rgba(217,217,217,0.3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.hero-arrow-btn:hover {
    background: #fff !important;
    color: #000;
}

/* main menu */
:root {
    --nav-height: 80px;
    --nav-bg: rgba(217,217,217,0.3);
    --nav-text: #ffffff;
    --lava-bg: rgba(217,217,217,0.3);
}
.nav-wrapper {
    position: fixed;
    top: 0;
    z-index: 999;
    left: 50%;
    transform: translateX(-50%);
}

/* desktop */

.nav {
    position: relative;
    height: var(--nav-height);
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    padding: 10px 16px;
}

.nav-inner {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--nav-bg);
    border-radius: 9999px;
    padding: 0 40px;
    height: 100%;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    overflow: hidden;
}

.nav-link {
    position: relative;
    z-index: 2;
    color: var(--nav-text);
    text-decoration: none;
    padding: 0 32px;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 14px;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

/* element „lava lamp” */

.nav-lava {
    position: absolute;
    z-index: 1;
    top: 6px;
    bottom: 6px;
    left: 16px;
    width: 80px;
    border-radius: 9999px;
    background: var(--lava-bg);
    backdrop-filter: blur(12px);
    transition:
            left 0.35s cubic-bezier(0.25,0.8,0.25,1),
            width 0.35s cubic-bezier(0.25,0.8,0.25,1),
            opacity 0.35s ease;
    pointer-events: none;
    opacity: 0; /* pojawia się dopiero przy hoverze */
}

/* aktywny link jaśniejszy */

.nav-link.active {
    font-weight: 500;
}

/* mobile toggle */

.nav-toggle {
    display: none;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 22px;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    z-index: 10;
}

.nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    margin-bottom: 4px;
    border-radius: 999px;
    background: #ffffff;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* responsywność */

@media (max-width: 768px) {
    .nav {
        justify-content: flex-start;
    }

    .nav-inner {
        position: absolute;
        left: 8px;
        right: 8px;
        top: 8px;
        flex-direction: column;
        align-items: flex-start;
        padding: 8px 20px 12px;
        height: auto;
        max-height: 0;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: max-height 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-link {
        padding: 8px 0;
        width: 100%;
    }

    .nav-lava {
        display: none; /* na mobile zwykły hover bez efektu */
    }

    .nav-toggle {
        display: block;
    }

    /* otwarte menu */

    .nav.open .nav-inner {
        max-height: 300px;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav.open .nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .nav.open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }
    .nav.open .nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}
/* team section */
.team-showcase {
    background: #d9d9d9;
}

.team-card {
    background: #d9d9d9;
    min-height: 760px;
    padding: 60px 0 150px;
}

.team-copy {
    position: relative;
    z-index: 2;
}

.team-name {
    font-size: clamp(3rem, 6vw, 5.5rem);
    letter-spacing: -0.04em;
}

.team-first {
    color: #222;
    font-weight: 300;
}

.team-last {
    color: #000;
    font-weight: 800;
}

.team-role {
    font-size: 1.4rem;
    color: #4c4c4c;
}

.team-desc {
    max-width: 440px;
    font-size: 0.98rem;
    line-height: 1.45;
    color: #4a4a4a;
}

.team-visual {
    position: relative;
    z-index: 2;
    min-height: 560px;
}

.team-main-image {
    max-height: 700px;
    object-fit: contain;
}

.team-shape {
    position: absolute;
    top: 20px;
    right: 140px;
    width: 360px;
    height: 360px;
    border: 26px solid rgba(255, 255, 255, 0.28);
    transform: rotate(-17deg);
    z-index: 1;
    pointer-events: none;
}

.team-shape::before {
    content: "";
    position: absolute;
    inset: 55px;
    border: 20px solid rgba(255, 255, 255, 0.18);
}

.team-thumbs-wrap {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    width: min(100% - 30px, 760px);
    z-index: 5;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.team-thumb {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    padding: 0;
    border: 2px solid transparent;
    overflow: hidden;
    background: transparent;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
    flex: 0 0 auto;
}

.team-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-thumb:hover {
    transform: translateY(-2px);
}

.team-thumb.active {
    border-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
    transform: scale(1.05);
}

@media (max-width: 991.98px) {
    .team-card {
        min-height: auto;
        padding: 40px 0 130px;
    }

    .team-copy {
        padding-top: 10px;
    }

    .team-desc {
        max-width: 100%;
        margin-inline: auto;
    }

    .team-visual {
        min-height: auto;
        padding-inline: 20px;
    }

    .team-main-image {
        max-height: 480px;
    }

    .team-thumbs-wrap {
        width: calc(100% - 24px);
        bottom: 18px;
    }
}

@media (max-width: 575.98px) {
    .team-card {
        padding-bottom: 150px;
    }

    .team-thumb {
        width: 64px;
        height: 64px;
    }

    .team-role {
        font-size: 1.1rem;
    }

    .team-desc {
        font-size: 0.92rem;
    }
}
.team-fade-target {
    transition:
            opacity .28s ease,
            transform .28s ease,
            filter .28s ease;
    will-change: opacity, transform, filter;
}

.team-fade-out {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(2px);
}

.team-fade-in {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.team-main-image {
    transition:
            opacity .35s ease,
            transform .35s ease,
            filter .35s ease;
    will-change: opacity, transform, filter;
}

.team-main-image.team-fade-out {
    opacity: 0;
    transform: translateY(12px) scale(.985);
    filter: blur(3px);
}

.team-main-image.team-fade-in {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
    .team-fade-target,
    .team-main-image {
        transition: none;
    }
}
/* service slider */
.services-slider-section {
    background: #f7f7f5;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

.services-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.services-menu-item {
    border: 0;
    color: #222;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    background: #efefec;
    flex-shrink: 0;
}

.services-menu-item {
    width: 128px;
    height: 128px;
    min-width: 128px;
    min-height: 128px;
    border-radius: 50% !important;
    border: 1px solid #5EBEFE;
}

.services-menu-item.is-active {
    background: #5EBEFE;
}

.services-menu-item span {
    display: block;
}

.services-visual {
    position: relative;
}

.services-image {
    width: 100%;
    max-width: 520px;
    aspect-ratio: 4 / 5.8;
    object-fit: cover;
    display: block;
    opacity: 1;
    transition: opacity 0.35s ease, transform 0.35s ease, filter 0.35s ease;
}

.services-content {
    max-width: 440px;
    color: #222;
    opacity: 1;
    transition: opacity 0.35s ease, transform 0.35s ease, filter 0.35s ease;
}

.services-title {
    font-size: clamp(2.4rem, 4vw, 4.7rem);
    line-height: 0.95;
    font-weight: 800;
    margin-bottom: 26px;
    color: #222;
}

.services-description {
    margin-bottom: 34px;
}

.services-description p {
    margin: 0;
    font-size: clamp(1.1rem, 1.7vw, 1.6rem);
    line-height: 1.22;
    color: #222;
}

.services-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    min-height: 40px;
    padding: 10px 20px;
    border-radius: 999px;
    background: #d4d4d1;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.25s ease;
}

.services-btn:hover {
    color: #fff;
    background: #bfbfbc;
}

.is-leaving {
    opacity: 0 !important;
    transform: translateY(14px);
    filter: blur(6px);
}

.is-entering {
    animation: fadeInUp 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(18px);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.stagger-item {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(6px);
    animation: fadeInUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.stagger-1 { animation-delay: 0.03s; }
.stagger-2 { animation-delay: 0.12s; }
.stagger-3 { animation-delay: 0.2s; }

@media (max-width: 991.98px) {
    .services-menu {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 14px;
        margin-bottom: 12px;
    }

    .services-menu-item:not(.is-active) {
        width: 96px;
        height: 96px;
        min-width: 96px;
        min-height: 96px;
        font-size: 0.88rem;
    }

    .services-menu-item.is-active {
        width: 150px;
        min-width: 150px;
        min-height: 78px;
        border-radius: 22px !important;
    }

    .services-content {
        max-width: 100%;
    }

    .services-title {
        margin-bottom: 18px;
    }

    .services-description {
        margin-bottom: 24px;
    }
}
/* add label */
.services-menu-item {
    position: relative;
    overflow: hidden;
}

.menu-label {
    display: block;
    transition:
            opacity 0.28s ease,
            transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-label-default,
.menu-label-active {
    text-align: center;
}

.menu-label-default {
    opacity: 1;
    transform: translateY(0);
}

.menu-label-active {
    position: absolute;
    inset: 50% auto auto 50%;
    width: calc(100% - 28px);
    /*transform: translate(-50%, calc(-50% + 12px));*/
    opacity: 0;
}

/*.services-menu-item.is-active .menu-label-default {*/
/*    opacity: 0;*/
/*    transform: translateY(-10px);*/
/*}*/

/*.services-menu-item.is-active .menu-label-active {*/
/*    opacity: 1;*/
/*    transform: translate(-50%, -50%);*/
/*}*/

/* main rulez*/
.fs-2rem {
    font-size: 2rem !important;
}
.mainRounded {
    border-radius: 25px;
}
.mainRoundedTopFooter {
    background: #1e1e1e;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    color: #fff !important;
}
.mainRoundedTopFooter a {
    color: #fff !important;
    text-decoration: none !important;
}

#mainPageRoundedDark {
    background-color: #2F2F2F;
    color: white;
}
#compareZone {
    background: url('../img/compareDivBG.png')no-repeat center bottom ;
    background-size: cover;
}
.cardMod {
    background: #E3E3E3;
    border: none !important;
}
.cardMod:hover {
    background: #fff !important;
}
.cardMod > .card-body > .card-subtitle {
    color: #10CFFF;
}
.cardMod > .card-body > .card-title {
    color: #595959;
    font-weight: bold;
}
.cardMod > .card-body > .card-text {
    color: #595959;
}
#labSection {
    background: rgba(0, 0, 0, 0.80);
}
#subPageHeader {
    min-height: 300px !important;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}
.singleNewsContainer {
    background: rgba(255, 255, 255, 0.80);
}
.subMenuPricelistCat {
    list-style: none !important;
}
.subMenuPricelistCat > li {
    display: inline-block;
}
.subMenuPricelistCat > li > a {
    background: #262626;
    padding: 15px 5px;
    border-radius: 1rem;
    color: #fff;
    text-decoration: none !important;
    border: 2px solid #262626;
}
.subMenuPricelistCat > li > a:hover {
    border: 2px solid #10CFFF;
    background: #10CFFF;
}
.subMenuPricelistCat > li > a > span {
    display: block !important;
}
#mainPriceList {
    background: #fff;
    border-radius: 1rem;
}
.priceCategoryHook {
    color: #C3C3C3;
}
.priceListItems > div.row:nth-child(even) {
    background: #F7F7F7;
}
.priceListItems > div.row:hover {
    background: #10CFFF;
    color: #fff;
}