/******************** NAGŁÓWEK *******************/

.navbar-toggler{
    border: 0px !important;
}

.navbar-toggler-icon {
    width: 2.3rem;
    height: 2.3rem;
}

#wrapper-navbar {
    position: absolute;
    width: 100%;
    z-index: 100;
}

.bg-primary {
    background-color: rgb(0 0 0 / 0%) !important;
}


 .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1600px !important;
        margin: 0 auto;
        padding: 0 20px;
 }

.main-navbar--white .navbar-brand,
.main-navbar--dark .navbar-brand {
    width: 17%;
}

@media (max-width: 767.98px) {
    .main-navbar--white .navbar-brand,
    .main-navbar--dark .navbar-brand {
        width: 50%;
    }
}

@media (min-width: 1200px) {
    .main-navbar--white .nav-link,
    .main-navbar--dark .nav-link {
        margin-right: 75px !important;
    }
}

.dynamic-word::after {
    content: "|";
    display: inline-block;
    margin: 0px 2px 0px 1px;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/******************** COOKIEBOT********************/

#CybotCookiebotDialogPoweredbyImage{
	max-height: 3rem !important;
 }

/******************** SEKCJA HERO ********************/

.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-image: url('/wp-content/themes/4Commerce/assets/hero-static.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.video-background {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #000 40%, #080F26 100%);
    z-index: 0;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    pointer-events: none;
}

.video-background::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        #080F26 8%,
        rgba(8,15,38,0.80) 35%,
        rgba(8,15,38,0.60) 80%,
        transparent 100%
    );
}

.video-background.loaded {
    opacity: 1;
}

.container.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-set {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title-wrapper {
    width: 100%;
}

.hero-subtitle {
    color: #FFF;
    font-family: Archivo, Arial, sans-serif;
    font-size: 1.4375rem;
    font-weight: 300;
    letter-spacing: 0.0575rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-title {
    color: #FFF;
    font-family: Archivo, Arial, sans-serif;
    font-size: 6.1875rem;
    font-weight: 100;
    letter-spacing: 0.12375rem;
    text-transform: uppercase;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-button {
    background-color: #274ac0;
    color: #fff;
    font-size: 16px;
    font-weight: 100;
    padding: 0.75rem 2.25rem;
    gap: 0.625rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    clip-path: polygon(10% 0%, 100% 0%, 100% 50%, 90% 100%, 0% 100%, 0% 50%);
    margin-top: 2rem;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.hero-button:hover {
    background-color: black;
    color: white;
    transform: translateY(-3px);
}

.hero-section .hero-text svg {
    margin-top: 5%;
    max-width: 70px;
    height: auto;
}

/******************** SEKCJA NORTH ********************/

.north-section {
    margin: 8rem 0rem 8rem 0rem;
    display: flex;
    flex-direction: row;
    gap: 7.3rem;
    place-content: center;
}

.north-img{
    clip-path: polygon(40% 0%, 100% 0%, 100% 100%, 90% 100%, 0% 100%, 0% 25%)
}

.north-text {
    display: flex;
    width: 50%;
    flex-direction: column;
    padding: 0.625rem 3rem;
    border-left: 1px solid #A7A7A7;
    justify-content: center;
}

.north-text-wrapper-first{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.625rem;
}

.north-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.625rem;
}

.north-title {
    align-self: stretch;
}

.north-section-text-primary, 
.north-section-text {
    color: #000;
    font-family: Inter;
    font-size: 1.1875rem;
    font-style: normal;
    font-weight: 300;
    line-height: 140%;
}

.direction-action-wrapper {
    display: flex;
    justify-content: center;
}

.blue-direction,
.gray-direction {
    margin-bottom: 2rem;
}

/******************** SEKCJA CTA ********************/

.cta-section {
    margin: 8rem 0rem 8rem 0rem;
}

.text-content {
    width: 70%;
}

.cta-text{
    font-family: Archivo;
    font-size: 1.75rem;
    font-weight: 300;
    line-height: 120%;
    letter-spacing: -0.00875rem;
    text-transform: uppercase;
}

.cta-wrapper {
    display: flex;
    align-content: center;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

/******************** SEKCJA HOW WORKS ********************/

.how-works-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.how-works-left {
    display: flex;
    flex-direction: column;
}

.how-works-left h3 {
    font-family: Archivo;
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 300;
    line-height: 100%;
    text-transform: uppercase;
}


.how-works-diagram {
    margin-top: 4rem;
}

.how-works-diagram img {
  height: auto;
}

.how-works-right {
  width: 40%;
  display: flex;
  flex-direction: column;
}

.how-works-right .text-block {
  margin-bottom: 3rem;
}

.how-works-right .text-block + .text-block {
  border-top: 1px solid #e0e0e0;
  padding-top: 3rem;
  margin-top: 0;
}

.how-works-right h4 {
    font-family: Archivo;
    font-size: 2.0625rem;
    font-style: normal;
    font-weight: 300;
    line-height: 100%;
    letter-spacing: -0.01031rem;
    text-transform: uppercase;
}

.how-works-right p {
    font-family: Inter;
    font-size: 1.1875rem;
    font-style: normal;
    font-weight: 300;
    line-height: 140%;
}

.text-block h4 {
    padding-bottom: 4rem;
}

/******************** SEKCJA FAQ ********************/

.faq-wrapper {
    margin: 8rem 0rem 8rem 0rem;
}

.faq-item {
    border-bottom: 1px solid #274AC0;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-answer {
    font-family: Inter;
    font-size: 1.1875rem;
    font-style: normal;
    font-weight: 300;
    line-height: 140%;
    max-height: 0;  /* Zamknięte na start */
    overflow: hidden;
    width: 75%;
    padding: 0 15px;
    opacity: 0;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.faq-answer.open {
    max-height: 500px;
    width: 100%;
    opacity: 1;
    padding: 15px;
}

.faq-plus {
    font-size: x-large;
    background: #343c57;
    color: white;
    width: 3rem;
    height: 3rem;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    clip-path: polygon(100% 0, 100% 60%, 60% 100%, 0 100%, 0 0);
}

/******************** SEKCJA CARE ********************/

.care-section {
    width: 100%;
}

.banner-block {
    position: relative;
    width: 100%;
    height: 440px;
    overflow: hidden;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.gradient-overlay {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #274AC0 22%, rgba(39, 74, 192, 0.00) 101.22%)
}

.overlay-text {
    color: #D4DBF2;
    font-size: 3rem;
    font-style: normal;
    line-height: 100%;
    letter-spacing: -0.045rem;
    text-transform: uppercase;
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
}

/******************** SEKCJA CARE BOTTOM ********************/

.care-section-bottom {
    display: flex;
    align-items: flex-start;
    margin-bottom: 4.5rem;
}

.care-section-points, .care-section-title{
    display: flex;
    padding: 5rem;
    gap: 2rem;
    flex-direction: column;
}

.care-section-benefits {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
}

.care-section-benefits h5{
    font-size: 1.75rem;
    font-style: normal;
    font-weight: 300;
    line-height: 120%;
    letter-spacing: -0.00875rem;
}

/******************** USTAWIENIA SLIDERA *******************/

.swiper-slide {
    width: 100%;
    max-width: none;
}

.swiper-button-prev,
.swiper-button-next {
    all: unset !important;
}

.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after,
.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after {
    content: '' !important;
}

.swiper-button-next.custom-arrow {
    padding: 10px !important;
    color: white !important;
    background: #080F26 !important;
    border: 1px solid black !important;
    clip-path: polygon(100% 0, 100% 60%, 60% 100%, 0 100%, 0 0) !important;
}

.swiper-button-prev.custom-arrow{
    padding: 10px !important;
    border: 1px solid black !important;
}

/******************** SEKCJA DISCOVER ********************/

.discover-section {
  position: relative;
  padding: 80px 0;
  overflow: visible;
}

.discover-section .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.discover-slider-wrapper {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.offer-slider.splide {
  width: 100%;
  max-width: var(--wrapper-max-width, 1440px);
  overflow: visible;
}

.offer-slider .splide__track {
  overflow: visible;
}

.offer-slider .splide__list {
  display: flex;
  gap: 0;
  margin-left: calc((100vw - 1280px) / 2);
  scroll-snap-type: x mandatory;
}

.offer-slider .splide__slide {
  flex-shrink: 0;
  width: 420px;
  scroll-snap-align: start;
}

.offer-card {
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid #A7A7A7;
  padding: 48px;
  height: 530px;
  transition: transform 0.3s ease;
}

.offer-card:hover {
  transform: translateY(-6px);
}

.offer-card h3 {
  color: #000;
  font-family: Archivo, sans-serif;
  font-size: 28px;
  font-weight: 300;
  text-transform: uppercase;
  line-height: 120%;
}

.offer-card p {
  color: #000;
  font-family: Inter, sans-serif;
  font-size: 19px;
  font-weight: 300;
  line-height: 140%;
}

.offer-card a {
  color: #000;
  font-family: Archivo, sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.64px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.offer-card.blue {
  background: #2447f9;
  color: #fff;
}

.offer-card.blue .fc-square--offer{
    background: white;
    color: #003cff;
}

.offer-card.blue h3 { color: #D4DBF2; }
.offer-card.blue p,
.offer-card.blue a { color: #fff; }

/******************** SEKCJA TAGCLOUD ********************/

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    padding: 1rem 1rem 5rem 1rem;
}

.tag a {
    font-size: 1.1875rem;
    font-style: normal;
    font-weight: 300;
    line-height: 140%;
    border: 1px solid #B7C3EA;
    color: black;
    background: rgba(0, 0, 255, 0);
    padding: 8px 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tag a:hover {
    background: rgb(0 0 0);
    color: white;
    border: 1px solid black;
    text-decoration: none;
}

/******************** SEKCJA STORY ********************/

.story-content-1 .story-top,
.story-content-1 .story-bottom {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5rem;
}

.story-content-2 {
    display: flex;
    justify-content: space-between;
}

.story-top .story-add-header,
.story-top p,
.story-bottom img,
.story-bottom p {
    width: 40%;
    object-fit: cover;
}

.story-content-2 .story-add-header,
.story-content-2 p {
    width: 40%;
}

section.story-section {
    padding: 0rem 0rem 8rem 0rem;
}

.story-top p,
.story-bottom p,
.story-content-2 p{
    color: #000;
    font-family: Inter;
    font-size: 1.1875rem;
    font-style: normal;
    font-weight: 300;
    line-height: 140%;
}

/******************** SEKCJA TEAM ********************/

.swiper.team-slider {
    padding: 2rem 0;
    overflow: visible;
  }

.team-wrapper {
    padding: 80px 0;
    background: #EAEDF7;
    position: relative;
    overflow: hidden;
}

.team-card {
    overflow: hidden;
}

.team-card img {
    height: 530px;
    object-fit: cover;
    object-position: center;
    position: relative;
    width: 100%;
    display: block;
    top: 75px;
    z-index: 1;
}

.team-info {
    padding: 20px;
}

.team-info.blue {
    position: relative;
    background: #274AC0;
    color: white;
    border: 1px solid #274AC0;
    clip-path: polygon(85% 0, 100% 50%, 100% 100%, 0 100%, 0 0);
    z-index: 2;
}

.team-info.dark {
    position: relative;
    background: #000a2d;
    border: 1px solid #000a2d;
    color: white;
    clip-path: polygon(85% 0, 100% 50%, 100% 100%, 0 100%, 0 0);
    z-index: 2;
}

.team-info.dark p,
.team-info.dark h4,
.team-info.blue p,
.team-info.blue h4{
    color: white;
}


.team-nav {
    position: relative;
    margin: 50px 0px 10px 0px;
    justify-self: right;
}

/******************** SEKCJA SUCCESS ********************/

#success{
    background: linear-gradient(235deg, #080F26 3.09%, #1D378C 32.62%, #080F26 56.78%);
    padding: 8rem 8rem 5rem 8rem;
}

#success h2{
    color: white;
}

.success-header{
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0rem 0rem 5rem 0rem;
    border-bottom: 1px solid #A7A7A7;
}

.success-case{
    display: flex;
    justify-content: space-between;
    padding: 2rem 0rem 2rem 0rem;
}

.success-case-first {
    padding: 2rem 0rem 2rem 0rem;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #A7A7A7;
}

.success-case-first h3,
.success-case-first p,
.success-case h3,
.success-case p{
    color: white;
}

.project-intro {
    display: flex;
    width: 35%;
    flex-direction: column;
    justify-content: flex-start;
    gap: 5rem;
}

.success-case-first .project-img,
.success-case .project-img {
    width: 50%;
}

/******************** SEKCJA TESTIMONIALS ********************/

.testimonials-section {
    padding: 5rem 0rem 0rem 0rem;
}

.testimonials-slider {
    padding: 2rem 0rem 2rem 0rem;
}

.testimonials-section .swiper-wrapper{
    padding: 2rem 0rem 2rem 0rem;
}

.testimonial-card .img-member{
    width: 6rem;
    border-radius: 100%;
}

.member-header{
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: 0.64px;
    border-radius: 24px;
    background: #CFCFCF;
    padding: 0.5rem;
    width: fit-content;
    margin-top: 2rem;
}

.member-text p {
    font-family: Inter;
    font-size: 19px;
    font-style: normal;
    font-weight: 300;
    line-height: 140%;
    margin: 2rem 0rem 2rem 0rem;
}

.member-name{
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: 0.64px;
    text-transform: uppercase;
}

.swiper.testimonials-slider {
    padding: 2rem 0rem 2rem 0rem;
}

/******************** SEKCJA PARTNERS ********************/

.partners-section{
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 8rem 0rem 8rem 0rem;
    background: #f2f2f2;
}

.partners-layout {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-evenly;
}

/******************** PODSTRONA KONTAKT ********************/

#contact-section.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  row-gap: 1rem;
  margin: 5rem 8rem 5rem 8rem;
}

.cg-heading, .cg-info {
  align-self: start;
}

.cg-info p {
  color: #000;
  align-self: start;
  font-style: normal;
  font-weight: 300;
  line-height: 140%; 
}

.cg-image, .cg-form {
  align-self: center;
  margin-top: 3rem;
}

.cg-form {
    margin-left: 2rem;
}

.cg-image img {
  height: auto;
  display: block;
  justify-items: center;
  clip-path: polygon(40% 0%, 100% 0%, 100% 100%, 90% 100%, 0% 100%, 0% 25%);
}

/*CF STYLE - ORYGINALNE*/

.wpcf7 {
    max-width: unset;
    margin: unset;
}

.wpcf7 .wpcf7-form label {
    margin-top: 1rem;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner.cf-button-main {
    margin-top: 1rem;
    text-transform: uppercase;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner.cf-button-main:hover {
    background: #000;
    color: white !important;
}

.wpcf7-form-control {
    color: gray !important;
}

input:focus,
textarea:focus,
select:focus {
    outline: none !important;
    border-color: inherit !important;
    box-shadow: none !important
}

section#contact-points {
    padding: 0rem 8rem 8rem 8rem;
}

#contact-points .contact-points-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 1rem;
  column-gap: 1rem;
  margin-top: 5rem;
}

#contact-points .point-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.wpcf7 .wpcf7-not-valid-tip {
    color: #c50000;
}

.wpcf7-response-output {
    font-weight: bold;
    color: #274ac0;
}

.screen-reader-response {
    display: none;
}

.form-control, .wpcf7 .wpcf7-validation-errors, .wpcf7 input[type=color], .wpcf7 input[type=date], .wpcf7 input[type=datetime-local], .wpcf7 input[type=datetime], .wpcf7 input[type=email], .wpcf7 input[type=file], .wpcf7 input[type=month], .wpcf7 input[type=number], .wpcf7 input[type=range], .wpcf7 input[type=search], .wpcf7 input[type=submit], .wpcf7 input[type=tel], .wpcf7 input[type=text], .wpcf7 input[type=time], .wpcf7 input[type=url], .wpcf7 input[type=week], .wpcf7 select, .wpcf7 textarea{
    margin-bottom: 1rem !important;
}

/*CF STYLE - CUSTOM*/

.cf-email-main,
.cf-phone-main,
.cf-subject-main {
    padding: 1rem 0rem 0.5rem 0rem !important;
    border-width: 0px 0px 1px 0px !important;
    border-radius: 0px !important;
    border-bottom: 1px solid black !important;
    background: transparent !important;
}

.cf-button-main {
    border-radius: 0px !important;
    color: black !important;
    border: 1px solid black !important;
    width: 50% !important;
}
