/*-----------------*/
/* START OF HEADER */
/*-----------------*/

header {
    position: relative;
    background: linear-gradient(to right, #091024, #252F48); 
    color: white;
    text-align: center;
    width: 100%;
    height: 768px;
    overflow: hidden;
}

header div.headerBackground {
    position: absolute;
    background: url('../src/header-image-mobile.webp') no-repeat;
    background-position: 50% 60%;
    width: 100%;
    height: 100%;
    z-index: 0;
}

header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

header * {
    position: relative;
    z-index: 2;
}

/*-----------------*/
/*    HAMBURGER    */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1100; 
    position: absolute;
    top: 48px;
    right: 20px;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #fff; 
    margin: 3px 0;
    border-radius: 2px;
    transition: 0.4s;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}
.hamburger.open span:nth-child(4) {
    display: none;
}

.menuOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--secondary-color);
    overflow: hidden;
    transition: height 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.menuOverlay nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    font-size: 1.5rem;
    text-align: center;
}

.menuOverlay nav span {
    color: #fff;
    cursor: pointer;
}

.menuOverlay.active {
    height: 100vh;
}

/*-----------------*/

#menuContainer.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.menuPlaceholder {
    display: block;
}

.hamburger.stickyHamburger {
    position: fixed;
    top: 12px;
    right: 20px;
    z-index: 1100;
}

/*-----------------*/

div.miniContact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 300px;
    margin: 0 auto;
    position: relative;
    top: 5px;
}

div.headerCompany {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

div.headerCompany span {
    font-size: 10px;
    color: var(--font-secondary-color);
    font-weight: var(--font-weight-thin);
}

div.headerCompany div.headerPhone {
    display: none;
}

div.headerCompany div.headerMail {
    display: none;
}

div.headerCompany div.headerMail span.mailIcon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url('../src/mail.png') no-repeat center center;
}

div.headerCompany div.headerMail span.mail {
    font-size: var(--font-size-mini);
    font-weight: var(--font-weight-thin);
    color: var(--font-secondary-color);
}

div.headerRight {
    display: none;
    /* display: flex; */
    flex-direction: row;
    gap: 50px;
    position: relative;
    top: 30px;
    /* right: calc(50% - 12px); */
}

div.headerRight div.headerFlags {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

div.headerRight div.headerFlags a {
    display: inline-block;
    width: 30px;
    height: 15px;
}

div.headerRight div.headerFlags span {
    display: inline-block;
    width: 30px;
    height: 15px;
    cursor: pointer;
}

div.headerRight div.headerFlags span.ukFlag {
    background: url('../src/ukFlag.png') no-repeat center center;
    background-size: cover;
}

/* div.headerRight div.headerFlags span.deFlag {
    background: url('../src/deFlag.png') no-repeat center center;
} */

div.headerRight div.headerFlags span.plFlag {
    background: url('../src/pl.webp') no-repeat center center;
    background-size: cover;
}

a.mainPhone,
a.mainEmail {
    display: flex;
    justify-content: center;
    align-items: center;    
}

/*-----------------*/

div#menuContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 300px;
    margin: 30px auto 0 auto;
}

span.menuLogo {
    display: inline-block;
    width: 140px;
    height: 35px;
    background: url('../src/intrasped-logo.png') no-repeat center center;
    background-size: contain;
}

nav {
    display: none;
}

nav span {
    font-size: var(--font-size-regular);
    color: var(--font-secondary-color);
    font-weight: var(--font-weight-normal);
    letter-spacing: 3%;
    line-height: 12px;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
    cursor: pointer;
}

/*-----------------*/

div.headerSloganContainer {
    width: 300px;
    margin: 20px auto 0 auto;
    position: relative;
    top: 240px;
}

div.headerSlogan {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
}

div.headerSlogan h1 {
    font-size: var(--font-size-regular);
    color: var(--font-secondary-color);
    font-weight: var(--font-weight-bold);
    line-height: 1.4;
}

div.headerSlogan p {
    font-size: var(--font-size-small);
    color: var(--font-secondary-color);
    font-weight: var(--font-weight-thin);
    line-height: 1.6;
    margin-top: 15px;
    padding-right: 90px;
}

div.headerSlogan strong {
    font-weight: var(--font-weight-bold);
}

div.headerSlogan h1, 
div.headerSlogan p, 
div.headerSlogan span {
    text-align: left;
}

button.sloganButton {
    padding: 12px 30px;
    border-radius: 5px;
    background-color: var(--red);
    letter-spacing: 3.4%;
    line-height: 12px;
    font-size: var(--font-size-micro);
    font-weight: var(--font-weight-bold);
    color: var(--font-secondary-color);
    border: none;
    margin-top: 25px;
    cursor: pointer;
}

/*---------------*/
/* END OF HEADER */
/*---------------*/
/* --------------*/
/* START OF MAIN */
/* --------------*/

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    background-color: var(--primary-color);
    position: relative;
}

div.mainContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 300px;
    margin: 0 auto;
}

/*-----------------*/

section.transportBoxes {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: -110px;
    z-index: 10;
}

div.countryBox,
div.internationalBox {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    height: fit-content;
    padding: 40px;
}

div.countryBox {
    background-color: var(--tertiary-color);
}

div.countryBox span.countryBoxIcon {
    display: inline-block;
    width: 40px;
    height: 36px;
    background: url('../src/poland.svg') no-repeat center center;
    background-size: contain;
    margin-bottom: 20px;
}

div.countryBox h2 {
    font-size: var(--font-size-regular);
    color: #252F40;
    font-weight: var(--font-weight-semiBold);
    margin-bottom: 10px;
}

div.countryBox p {
    font-size: var(--font-size-small);
    color: var(--font-tertiary-color);
    font-weight: var(--font-weight-thin);
    line-height: 1.5;
}

div.countryBox button.countryButton {
    padding: 12px 30px;
    border-radius: 8px;
    background-color: transparent;
    line-height: 12px;
    font-size: var(--font-size-micro);
    font-weight: var(--font-weight-bold);
    color: var(--red);
    border: 1px solid var(--red);
    margin-top: 30px;
    cursor: pointer;
}

div.internationalBox {
    background-color: var(--secondary-color);
}

div.internationalBox span.internationalBoxIcon {
    display: inline-block;
    width: 56px;
    height: 42px;
    background: url('../src/europe.svg') no-repeat center center;
    background-size: contain;
    margin: -10px 0 20px 0;
}

div.internationalBox h2 {
    font-size: var(--font-size-regular);
    color: var(--font-secondary-color);
    font-weight: var(--font-weight-semiBold);
    margin-bottom: 10px;
}

div.internationalBox p {
    font-size: var(--font-size-small);
    color: var(--font-tertiary-color);
    font-weight: var(--font-weight-thin);
    line-height: 1.5;
}

div.internationalBox button.internationalButton {
    padding: 12px 30px;
    border-radius: 8px;
    background-color: transparent;
    line-height: 12px;
    font-size: var(--font-size-micro);
    font-weight: var(--font-weight-bold);
    color: var(--red);
    border: 1px solid var(--red);
    margin-top: 25px;
    cursor: pointer;
}

/*-----------------*/

div#mobileAboutUsBackground {
    /* display: inline-block; */
    width: 100%;
    height: 557px;
    background: url('../src/aboutUsPicture.jpg') no-repeat center center;
    /* background-size: contain; */
    position: absolute;
    top: 630px;
    z-index: 10;
}

/*------------------*/

section.aboutUs {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 50px 0 -280px 0;
    position: relative;
}

div.aboutUsText {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    /* height: 570px; */
    margin: 0 auto;
    position: relative;
    top: -255px;
    z-index: 11;
}

div.aboutUsText h2 {
    font-size: 24px;
    color: var(--font-secondary-color);
    font-weight: var(--font-weight-bold);
    margin-bottom: 105px;
    line-height: 1.4;
}

div.aboutUsText h4 {
    font-size: var(--font-size-regular);
    color: var(--font-primary-color);
    font-weight: var(--font-weight-semiBold);
    line-height: 1.5;
    margin-bottom: 10px;
}

div.aboutUsText p {
    font-size: var(--font-size-small);
    color: var(--font-tertiary-color);
    font-weight: var(--font-weight-thin);
    line-height: 1.4;
    margin-bottom: 30px;
}

div.aboutUsText div.aboutUsButtons {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}

div.aboutUsText div.aboutUsButtons button.aboutUsWhereButton,
div.aboutUsText div.aboutUsButtons button.aboutUsTaborButton {
    padding: 12px 30px;
    border-radius: 8px;
    background-color: transparent;
    letter-spacing: 3.4%;
    line-height: 12px;
    font-size: var(--font-size-micro);
    font-weight: var(--font-weight-bold);
    color: var(--red);
    border: 1px solid var(--red);
    margin-top: 10px;
    cursor: pointer;
}

div.aboutUsText div.aboutUsButtons button.aboutUsTaborButton {
    border: none;
}

div.aboutUsImage {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    height: 570px;
    position: relative;
}

span.aboutUsImagePicture {
    display: none;
}

span.aboutUsImageBackground {
    display: none;
}

/*-------------*/

section.kmData {
    display: flex;
    flex-direction: column;
    /* justify-content: space-between;
    align-items: center; */
    gap: 60px;
    width: 100%;
    margin: 100px auto 100px auto;
    position: relative;
}

section.kmData div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 100px;
}

section.kmData div:nth-last-child(even) {
    margin-right: 150px;
}

section.kmData div:nth-last-child(odd) {
    margin-left: 150px;
}

section.kmData div h1 {
    font-size: var(--font-size-large);
    font-weight: var(--font-weight-bold);
    color: var(--font-primary-color);
    text-align: center;
    margin-bottom: -10px;
}

section.kmData div h4 {
    font-size: var(--font-size-regular);
    font-weight: var(--font-weight-semiBold);
    color: var(--font-primary-color);
    text-align: center;
    margin-bottom: 10px;
}

section.kmData div p {
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-thin);
    color: var(--font-tertiary-color);
    text-align: center;
}

/*-------------*/

div.interval {
    width: 100%;
    height: 800px;
    background-color: var(--secondary-color);
}

section.stayUpToDate {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 70px;
    position: relative;
    top: -840px;
}

section.stayUpToDate h1 {
    font-size: 23px;
    font-weight: var(--font-weight-bold);
    color: var(--font-secondary-color);
    line-height: 1.4;
    margin-bottom: 40px;
    text-align: center;
}

section.stayUpToDate div.stayUpToDateItems {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
}

section.stayUpToDate div.stayUpToDateItems div.slick-list {
    width: 300px;
    position: relative;
}

section.stayUpToDate div.stayUpToDateItems ul.slick-dots {
    position: absolute;
    bottom: -50px;
    width: 280px; 
    height: 4px;
    background-color: #fff; 
    overflow: hidden;
    padding: 0;
    margin: 0;
    border-radius: 5px;
}

section.stayUpToDate div.stayUpToDateItems ul.slick-dots li {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%; 
    height: 100%;
    position: relative;
}

section.stayUpToDate div.stayUpToDateItems ul.slick-dots li button {
    display: none;
}

section.stayUpToDate div.stayUpToDateItems ul.slick-dots::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--red); 
    width: calc(100% / 3); 
    transform: translateX(var(--move, 0%));
    transition: transform 0.5s ease; 
    border-radius: 3px;
}



section.stayUpToDate div.stayUpToDateItems  div.stayUpToDateItem {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 300px;
    height: 515px;
    margin: 0 3px;
    background-color: var(--tertiary-color);
    border-radius: 3px;
    box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.2);
}

section.stayUpToDate div.stayUpToDateItems div span {
    display: inline-block;
    width: 280px;
    height: 250px;
    margin: 10px auto;
    border-radius: 3px;
    background-size: cover;
}

span.upToDate1 {
    background: url('../src/upToDate1.jpg') no-repeat center center;
}

section.stayUpToDate div.stayUpToDateItems div span.upToDate2 {
    background: url('../src/upToDate2.jpg') no-repeat 98% center;
}

section.stayUpToDate div.stayUpToDateItems div span.upToDate3 {
    background: url('../src/upToDate3.jpg') no-repeat 27% center;
}

section.stayUpToDate div.stayUpToDateItems div h4 {
    font-size: var(--font-size-regular);
    font-weight: var(--font-weight-semiBold);
    align-self: flex-start;
    margin: 35px 0 20px 20px;
    color: #252F40;
}

section.stayUpToDate div.stayUpToDateItems div p {
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-normal);
    color: var(--font-tertiary-color);
    line-height: 1.4;
    align-self: flex-start;
    margin: 0 20px;
} 

/*-------------*/

section.destinations {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: -650px auto 600px auto;
    overflow: visible;
    position: relative;
    z-index: 10;
}

section.destinations div.destinationsInfo {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 300px;
}

section.destinations div.destinationsInfo h1 {
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    color: var(--font-primary-color);
    line-height: 1.4;
}

section.destinations div.destinationsInfo ul li {
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-semiBold);
    color: var(--font-footerInfo-color);
    margin-left: 25px;
}

section.destinations div.destinationsInfo p {
    display: none;
}

section.destinations div.destinationsInfo span {
    display: none;
}


section.destinations div.destinationsMap {
    display: none;
}

div#mobileEuropeMap {
    background: linear-gradient(rgba(248, 249, 250, 0.5), rgba(248, 249, 250, 0.5)), url('../src/europeMap.png') no-repeat center center;
    width: 100%;
    height: 950px;
    position: absolute;
    margin-top: 135px;
}

/*-------------*/

div.taborContainer {
    width: 100%;
    height: 495px;
    background-color: var(--font-primary-color);
    position: relative;
    margin-top: 100px;
}

div.taborContainer div.taborContainerTitle {
    width: 300px;
    margin: 50px auto 0 auto;
}

div.taborContainer div.taborContainerTitle h1 {
    font-size: var(--font-size-large);
    font-weight: var(--font-weight-bold);
    color: var(--font-secondary-color);
    line-height: 1.4;
    margin-bottom: 20px;
}

div.taborContainer div.tabor {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 50px;
    width: 300px;
    height: 250px;
    margin: 50px auto 0 auto;
    position: relative;
    z-index: 10;
}

div.taborContainer div.tabor button {
    position: absolute;
    top: -70px;
    right: 0;
    width: 25px;
}

div.taborContainer div.tabor button.slick-prev {
    left: unset;
    right: 50px;
}

div.taborContainer div.tabor button span {
    color: #FFF;
    font-size: 30px;
}

div.taborContainer div.tabor div {
    width: 300px;
    height: 100%;
}

div.taborContainer div.tabor div h1 {
    font-size: var(--font-size-large);
    font-weight: var(--font-weight-bold);
    color: var(--font-secondary-color);
}

div.taborContainer div.tabor div h4 {
    font-size: var(--font-size-regular);
    font-weight: var(--font-weight-bold);
    color: var(--font-secondary-color);
    margin-bottom: 15px;
}

div.taborContainer div.tabor div p {
    font-size: var(--font-size-mini);
    font-weight: var(--font-weight-thin);
    color: var(--font-secondary-color);
    line-height: 1.2;
}

div.taborContainer div.moreQuestion {
    display: none;
}

div.taborContainer div.taborPictureContainer {
    width: 300px;
    margin: 0 auto;
    position: relative;
}

div.taborContainer span.taborPicture {
    display: inline-block;
    width: 350px;
    height: 230px;
    background: url('../src/taborPicture.png') no-repeat center center;
    background-size: contain;
    position: absolute;
    right: -20px;
    top: -70px;
}

.slick-prev, .slick-next {
    background-color: transparent;
    border: none;
    font-size: 30px;
    color: #333; /* Kolor strzałek */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    cursor: pointer;
}

.slick-prev {
    left: 10px; /* Pozycja strzałki w lewo */
}

.slick-next {
    right: 10px; /* Pozycja strzałki w prawo */
}

/*-------------*/

section#gallery {
    width: 300px;
    margin: 50px auto;
}

/*-------------*/

#galleryWrapper {
    margin: 0 auto 90px auto;
}

.galleryTitle {
    width: 328px;
    margin: 0 auto 50px auto;
    display: block;
}

.galleryTitle h1 {
    font-size: var(--font-size-large);
    font-weight: var(--font-weight-bold);
    color: var(--font-primary-color);
    text-align: left;
}

.galleryGrid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 15px;
}

.galleryGrid ul.slick-dots {
    position: absolute;
    bottom: -50px;
    width: 280px; 
    height: 4px;
    background-color: #fff; 
    overflow: hidden;
    padding: 0;
    margin: 0;
    border-radius: 5px;
}

.galleryGrid ul.slick-dots li {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%; 
    height: 100%;
    position: relative;
}

.galleryGrid ul.slick-dots li button {
    display: none;
}

.galleryGrid ul.slick-dots::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--red); 
    width: calc(100% / 3); 
    transform: translateX(var(--move, 0%));
    transition: transform 0.5s ease; 
    border-radius: 3px;
}

.collapsibleContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.thumbItem {
    width: calc(33.333% - 10px);
    box-sizing: border-box;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
    animation: fadeInScale 0.4s ease forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.thumbItem img {
    width: 100%;
    height: 400px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover;
    will-change: transform;
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, 0.4) 1px 1px 10px;
}

.thumbItem img:hover {
    transform: scale(1.05);
    box-shadow: rgba(0, 0, 0, 0.4) 5px 10px 10px;
}

.thumbItem.hidden {
    display: none;
}

.galleryModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    flex-direction: column;
}

.galleryModal.hidden {
    display: none;
}

.galleryModal img {
    max-width: 90%;
    max-height: 90%;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.galleryModal img.swipe-left {
    transform: translateX(-100%)!important;
    opacity: 0!important;
}

.galleryModal img.swipe-right {
    transform: translateX(100%)!important;
    opacity: 0!important;
}

.galleryModal .close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 42px;
    cursor: pointer;
}

.galleryModal .prev,
.galleryModal .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 48px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.galleryModal .prev { left: 30px; }
.galleryModal .next { right: 30px; }

.galleryModal .prev:hover,
.galleryModal .next:hover,
.galleryModal .close:hover {
    color: var(--active-color);
}

/*-------------*/

div.joinUs {
    width: 100%;
    height: 820px;
    /* background: url('../src/joinUs.jpg') no-repeat center center; */
    background-color: var(--font-primary-color);
    position: relative;
}

div.joinUs div.joinUsImg {
    display: inline-block;
    width: 100%;
    height: 820px;
    background: url('../src/joinUs.jpg') no-repeat center center;
    position: absolute;
    left: calc(50% - 50%);
}

div.joinUs div.joinUsContainer {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    width: 300px;
    height: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

div.joinUsText {
    width: 300px;
}

div.joinUsText h1 {
    font-size: var(--font-size-regular);
    font-weight: var(--font-weight-bold);
    color: var(--font-secondary-color);
    line-height: 1.3;
    margin: -20px 0 20px 0;
}

div.joinUs h4 {
    font-size: var(--font-size-mini);
    font-weight: var(--font-weight-bold);
    color: var(--red);
    margin-bottom: 20px;
}

div.joinUs p:first-of-type {
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-bold);
    color: var(--font-secondary-color);
    margin-bottom: 10px;
}

div.joinUs p:nth-of-type(2) {
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-semiBold);
    color: var(--font-secondary-color);
    margin-bottom: 10px;
}

div.joinUs ul {
    font-size: var(--font-size-mini);
    font-weight: var(--font-weight-thin);
    color: var(--font-secondary-color);
    margin: 0 0 20px 20px;
}

div.joinUs button {
    padding: 12px 30px;
    border-radius: 8px;
    background-color: transparent;
    line-height: 12px;
    font-size: var(--font-size-micro);
    font-weight: var(--font-weight-bold);
    color: var(--red);
    border: 1px solid var(--red);
    margin-top: 30px;
    cursor: pointer;
}

/*-------------*/

div.split {
    width: 100%;
    height: fit-content;
    /* background: linear-gradient(to bottom, var(--primary-color) 0%, var(--primary-color) 50%, var(--tertiary-color) 50%, var(--tertiary-color) 100%); */
    background: var(--primary-color);
    position: relative;
}

div.split div.dualSpace {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 300px;
    height: 100%;
    margin: 0 auto;
}

div.split div.dualSpace div.contact,
div.split div.dualSpace div.contactForm {
    width: 300px;
    height: 100%;
    padding-top: 100px;
}

div.split div.dualSpace div.contact h1 {
    font-size: 26px;
    font-weight: var(--font-weight-bold);
    color: var(--font-primary-color);
    margin-bottom: 30px;
}

div.split div.dualSpace div.contact div.contactMenu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    width: 300px;
    margin-bottom: 20px;
    padding-bottom: 5px;
}

div.split div.dualSpace div.contact div.contactMenu button {
    border: none;
    background: transparent;
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-semiBold);
    color: var(--font-primary-color);
    padding: 10px 0 5px 0;
    position: relative;
    cursor: pointer;
    display: inline-block;
    width: 110px;
}
  
.contactMenu .active-line {
    position: absolute;
    height: 2px;
    background-color: var(--active-color);
    transition: all 0.3s ease;
    pointer-events: none;
}
  

div.split div.dualSpace div.contact div.contactMenuResponse {
    height: fit-content;
    min-height: 410px;
    max-height: 720px;
    width: 300px;
    position: relative;
}

div.split div.dualSpace div.contact div.contactMenuResponse div.dynamicContact {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
}

div.split div.dualSpace div.contact div.contactMenuResponse div.dynamicContact.ceo {
    gap: 0;
}

div.split div.dualSpace div.contact div.contactMenuResponse div.dynamicContact h4 {
    font-size: var(--font-size-regular);
    font-weight: var(--font-weight-semiBold);
    color: #000;
    margin-top: 40px;
}

div.split div.dualSpace div.contact div.contactMenuResponse div.dynamicContact.ceo h4:first-of-type {
    margin-bottom: 30px;
}

div.split div.dualSpace div.contact div.contactMenuResponse div.dynamicContact.ceo.invo h4:nth-of-type(2) {
    margin: 30px 0 30px 0;
}

div.split div.dualSpace div.contact div.contactMenuResponse div.dynamicContact.ceo h4:nth-of-type(2) {
    margin: 0 0 30px 0;
}

div.split div.dualSpace div.contact div.contactMenuResponse div.dynamicContact div.pplContactContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    width: 100%;
}

div.split div.dualSpace div.contact div.contactMenuResponse div.dynamicContact.ceo.invo div.pplContactContainer:nth-of-type(2) {
    margin-bottom: 10px;
}

div.split div.dualSpace div.contact div.contactMenuResponse div.dynamicContact div.pplContactContainer div.person {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    height: 140px;
}

div.split div.dualSpace div.contact div.contactMenuResponse div.dynamicContact.ceo div.pplContactContainer div.person {
    height: 100px;
}

div.split div.dualSpace div.contact div.contactMenuResponse div.dynamicContact div.pplContactContainer div.person div.personData {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 245px;
}

div.split div.dualSpace div.contact div.contactMenuResponse div.dynamicContact div.pplContactContainer div.person span.personName {
    font-size: var(--font-size-regular);
    font-weight: var(--font-weight-semiBold);
    color: var(--font-primary-color);
    line-height: 1.4;
}

div.split div.dualSpace div.contact div.contactMenuResponse div.dynamicContact div.pplContactContainer div.person span.personPosition {
    font-size: var(--font-size-mini);
    font-weight: var(--font-weight-thin);
    color: #A4AEBF;
    line-height: 1.4;
    margin-bottom: 5px;
}

div.split div.dualSpace div.contact div.contactMenuResponse div.dynamicContact div.pplContactContainer div.person span.personEmail,
div.split div.dualSpace div.contact div.contactMenuResponse div.dynamicContact div.pplContactContainer div.person span.personPhone {
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-normal);
    color: var(--font-primary-color);
    line-height: 1.4;
}

div.split div.dualSpace div.contact div.mainContactData {
    width: 300px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #A4AEBF;
}

div.split div.dualSpace div.contact div.mainContactData div.mainContactInfo {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    width: 255px;
    height: 80px;
    padding: 0 30px;
}

div.split div.dualSpace div.contact div.mainContactData div.mainContactInfo div.mainInfo p:first-of-type {
    font-size: var(--font-size-mini);
    font-weight: var(--font-weight-bold);
    color: var(--font-primary-color);
    line-height: 1.4;
}

div.split div.dualSpace div.contact div.mainContactData div.mainContactInfo div.mainInfo p:nth-of-type(2) {
    font-size: var(--font-size-mini);
    font-weight: var(--font-weight-thin);
    color: var(--red);
    line-height: 1.4;
}

div.split div.dualSpace div.contact div.mainContactData div.mainContactInfo a span.mainPhoneIcon {
    display: inline-block;
    width: 28px;
    height: 28px;
    background: url('../src/mainContactPhoneIcon.png') no-repeat center center;
}

div.split div.dualSpace div.contact div.mainContactData div.mainContactInfo a span.mainEmailIcon {
    display: inline-block;
    width: 28px;
    height: 28px;
    background: url('../src/mainContactLetterIcon.png') no-repeat center center;
}

div.split div.dualSpace div.contactForm {
    width: 300px;
    height: 922px;
    padding-bottom: 100px;
    position: relative;
    z-index: 10;
}

div.split div.dualSpace div.contactForm h1 {
    font-size: 22px;
    font-weight: var(--font-weight-bold);
    color: var(--font-primary-color);
}

div.split div.dualSpace div.contactForm p {
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-normal);
    color: #A4AEBF;
    line-height: 1.4;
    margin: 20px auto;
}

div.split div.dualSpace div.contactForm form#contactForm {
    width: 100%;
}

.contactFormInputs {
    width: 100%;
    padding: 16px;
    margin: 10px 0;
    border: 1px solid #A4AEBF;
    font-size: var(--font-size-mini);
    font-weight: var(--font-weight-normal);
}

.contactFormInputs::placeholder {
    font-family: var(--font-base);
    font-size: var(--font-size-mini);
    color: #A4AEBF;
}

div.split div.dualSpace div.contactForm form#contactForm textarea {
    resize: none;
}

div.split div.dualSpace div.contactForm form#contactForm div#selectContactForm {
    position: relative;
    width: 100%;
    height: 37px;
    border: 1px solid #A4AEBF;
    padding: 10px 15px;
    user-select: none;
    overflow: visible;
}

div.split div.dualSpace div.contactForm form#contactForm div#selectContactForm div.select span.currentSelected {
    font-family: var(--font-base);
    font-size: var(--font-size-mini);
    color: #A4AEBF;
    display: block;
    position: relative;
    top: -3px;
}

div.split div.dualSpace div.contactForm form#contactForm div#selectContactForm div.select {
    cursor: pointer;
    position: relative;
}

div.split div.dualSpace div.contactForm form#contactForm div#selectContactForm div.select:after {
    content: "▾";
    position: absolute;
    right: -5px;
    top: 34%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform .3s ease;
    color: #A4AEBF;
    font-size: 28px;
}

div.split div.dualSpace div.contactForm form#contactForm div#selectContactForm div.select.open:after {
    transform: translateY(-50%) rotate(180deg);
    transition: transform .3s ease;
}

div.split div.dualSpace div.contactForm form#contactForm div#selectContactForm div.options {
    position: absolute;
    top: 100%;
    left: -1px;
    right: 0;
    background: white;
    border: 1px solid #A4AEBF;
    border-top: none;
    z-index: 10;
    display: none;
    max-height: 200px;
    overflow-y: auto;
    width: 300px;
}


div.split div.dualSpace div.contactForm form#contactForm div#selectContactForm div.options span.option {
    font-family: var(--font-base);
    font-size: var(--font-size-mini);
    color: #A4AEBF;
    display: block;
    padding: 5px 15px;
    cursor: pointer;
}

div.split div.dualSpace div.contactForm form#contactForm div.formButtons div.fileUploadWrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 50px;
    padding-left: 20px;
}

div.split div.dualSpace div.contactForm form#contactForm div.formButtons label {
    font-size: var(--font-size-mini);
    font-weight: var(--font-weight-normal);
    color: #A4AEBF;
    cursor: pointer;
    margin: 0 40px 0 20px;
    text-wrap: nowrap;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
    padding-right: 20px;
}

div.split div.dualSpace div.contactForm form#contactForm div.formButtons div.fileUploadWrapper label#fileLabel.valid {
    color: green;
}

div.split div.dualSpace div.contactForm form#contactForm div.formButtons div.fileUploadWrapper label#fileLabel.invalid {
    color: red;
}

div.split div.dualSpace div.contactForm form#contactForm div.formButtons div.fileUploadWrapper label#fileLabel span.fileIcon {
    display: inline-block;
    width: 10px;
    height: 14px;
    background: url('../src/fileIcon.png') no-repeat center center;
    margin: 0 10px;
    position: relative;
    top: 3px;
}

div.split div.dualSpace div.contactForm form#contactForm div.formButtons div.fileUploadWrapper label#fileLabel span.fileText {
    font-weight: var(--font-weight-bold);
}


div.split div.dualSpace div.contactForm form#contactForm div.formButtons div.fileUploadWrapper label#fileLabel span.fileStatusIcon {
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    display: none;
}

div.split div.dualSpace div.contactForm form#contactForm div.formButtons div.fileUploadWrapper label#fileLabel span.fileStatusIcon.valid::before {
    content: "✓";
    color: green;
    border: 2px solid green;
    border-radius: 50%;
    padding: 2px 7px;
}

div.split div.dualSpace div.contactForm form#contactForm div.formButtons div.fileUploadWrapper label#fileLabel span.fileStatusIcon.invalid::before {
    content: "✗";
    color: red;
    border: 2px solid red;
    border-radius: 50%;
    padding: 2px 6px;
}

div.split div.dualSpace div.contactForm form#contactForm div.formButtons div.fileUploadWrapper label#fileLabel span.fileStatusIcon span.tooltip {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
    background-color: #FFF;
    /* color: green; */
    text-align: center;
    padding: 8px 10px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: var(--font-weight-semiBold);
    position: absolute;
    bottom: 125%;
    left: -75px;
    transform: translateX(-50%);
    white-space: normal;
    width: 250px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

div.split div.dualSpace div.contactForm form#contactForm div.formButtons div.fileUploadWrapper label#fileLabel span.fileStatusIcon.valid span.tooltip {
    color: green;
}

div.split div.dualSpace div.contactForm form#contactForm div.formButtons div.fileUploadWrapper label#fileLabel span.fileStatusIcon.invalid span.tooltip {
    color: red;
}

div.split div.dualSpace div.contactForm form#contactForm div.formButtons div.fileUploadWrapper label#fileLabel span.fileStatusIcon span.tooltip::after {
    content: "";
    position: absolute;
    top: 98%; 
    right: 22px;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #FFF transparent transparent transparent;
}

div.split div.dualSpace div.contactForm form#contactForm div.formButtons div.fileUploadWrapper label#fileLabel span.fileStatusIcon.invalid span.tooltip::after {
    top: 99%;
}

div.split div.dualSpace div.contactForm form#contactForm div.formButtons div.fileUploadWrapper label#fileLabel span.fileStatusIcon:hover .tooltip {
    visibility: visible!important;
    opacity: 1!important;
}

div.split div.dualSpace div.contactForm form#contactForm div.formButtons div.fileUploadWrapper button#removeFileBtn {
    display: none;
    position: absolute;
    right: calc(50% - 18px);
    top: 60px;
    transform: translateY(-50%);
    background-color: transparent;
    border: none;
    color: #d00;
    cursor: pointer;
    font-weight: bold;
    width: 36px;
    height: 20px;
    padding: 0;
}


div.split div.dualSpace div.contactForm form#contactForm div.formButtons div.fileUploadWrapper input.upload-hidden {
    display: none;
}

div.split div.dualSpace div.contactForm form#contactForm div.formButtons {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
    width: 100%;
    height: 50px;
    margin-top: 115px;
}

div.split div.dualSpace div.contactForm form#contactForm div.formButtons button {
    font-size: var(--font-size-micro);
    font-weight: var(--font-weight-bold);
    align-self: center;
    width: 300px;
    height: 40px;
    padding: 15px 30px;
    border-radius: 8px;
    background-color: var(--red);
    line-height: 12px;
    font-weight: var(--font-weight-bold);
    color: var(--font-secondary-color);
    border: none;
    cursor: pointer;
}

.input-error {
    border-color: red !important;
}

div.split div.formBackgorundMobile {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 900px;
    background-color: #FFF;
}



div#question {
    position: relative;
}

.formOverlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    /* display: flex !important; */
    justify-content: center;
    align-items: center;
    z-index: 999;
    display: none;
    flex-direction: column;
}

.envelopeAnimation {
    width: 100px;
    height: 60px;
    background: #f2f2f2;
    position: relative;
    top: calc(50% - 30px);
    animation: bounce 1s infinite;
    border: 2px solid #999;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    margin: auto;
    perspective: 800px;
}

.envelopeAnimation .envelopeFlap {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    bottom: 100%;
    left: 0;
    border-width: 0 50px 30px 50px;
    border-color: transparent transparent #f2f2f2 transparent;
    z-index: 2;
}

.envelopeAnimation .envelopeBody {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    top: 0;
    left: 0;
    border-width: 30px 50px 0 50px;
    border-color: #e0e0e0 transparent transparent transparent;
    z-index: 1;
}


@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.successBox {
    position: absolute;
    width: 95%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #FFF;
    padding: 20px;
    border: 1px solid #00aa00;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    text-align: center;
}

.successBox .successMessageText {
    font-size: var(--font-size-small)!important;
    margin-bottom: 1em!important;
    color: #00aa00!important;
    font-weight: var(--font-weight-bold)!important;
}

.successBox .successBoxClose {
    padding: 8px 16px;
    border: none;
    background: #00aa00;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

.successBox .successBoxClose:hover {
    background: #007700;
}

.errorBox {
    position: absolute;
    width: 95%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #FFF;
    padding: 20px;
    border: 1px solid var(--red);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.errorBox .errorMessageText {
    font-size: var(--font-size-small)!important;
    margin-bottom: 1em!important;
    color: var(--red)!important;
    font-weight: var(--font-weight-bold)!important;
}

.errorBox .errorBoxClose {
    padding: 8px 16px;
    border: none;
    /* background: #cc0000; */
    background: var(--red);
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

.errorBox .errorBoxClose:hover {
    background: var(--active-color);
}

.envelopeAnimation.closing {
    animation: envelopeClose 0.6s ease forwards;
    background-color: #4CAF50; 
    /* border-color: #4CAF50; */
}

.envelopeAnimation.closing .envelopeFlap {
    border-color: transparent transparent #4CAF50 transparent; /* zielony trójkąt */
    animation: envelopeFlapClose 0.6s ease forwards;
    transform-origin: bottom center;
    z-index: 2;
}

@keyframes envelopeFlapClose {
    0% {
        transform: translateY(0) rotateX(0deg); /* otwarta: klapka „na wprost” */
    }
    100% {
        transform: translateY(29px) rotateX(180deg); /* zamknięta: klapka opadła na dół */
    }
}


@keyframes envelopeClose {
    0% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
    100% {
        transform: scale(0.5) translateY(100px);
        opacity: 0;
    }
}

/*-------------*/
/* END OF MAIN */
/*-------------*/
/*-----------------*/
/* START OF FOOTER */
/*-----------------*/

footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: fit-content;
    background-color: #000;
    color: var(--font-secondary-color);
    padding: 20px 0;
}

footer div.footerContent {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    width: 300px;
    height: fit-content;
    padding: 50px 0;
}

footer div.footerContent div.footerCompany {
    width: 100%;
}

footer div.footerContent div.footerCompany span.footerLogo {
    display: inline-block;
    width: 257px;
    height: 60px;
    background: url('../src/intrasped-logo.png') no-repeat left center;
}

footer div.footerContent div.footerCompany div.footerCompanyInfo {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

footer div.footerContent div.footerCompany div.footerCompanyInfo div p {
    font-size: var(--font-size-mini);
    font-weight: var(--font-weight-normal);
    color: var(--font-footerInfo-color);
    line-height: 1.5;
    margin-top: 20px;
}

footer div.footerContent div.footerCompany div.footerCompanyInfo div p:first-of-type {
    margin-top: 40px;
}

footer div.footerContent div.footerMenu {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    margin-top: 50px;
}

footer div.footerContent div.footerMenu span {
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-normal);
    color: var(--font-secondary-color);
    cursor: pointer;
}

footer div.footerContent div.footerMenu a {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    text-decoration: none;
    gap: 15px;
}

footer div.footerContent div.footerMenu a span.downloadIcon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: url('../src/downloadIcon.png') no-repeat center center;
    background-size: cover;
}

footer div.footerContent div.footerMenu a p {
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-normal);
    color: var(--font-secondary-color);
}

div#download {
    margin-top: 50px;
}

div#scrollToTop {
    opacity: 0;
}