.kim-jestesmy{
    width: 100%;
    background: #fff;
    position: relative; /* Dodane dla pozycjonowania tła */
}

/* Tło pod sekcją osób */
.kj-dol {
    position: relative;
    background-color: #fff;
}


.kj-gora{
    margin-left: 16.67vw;
    margin-right: 16.67vw;
    height: 17.39vw;
    margin-top: 3vw; /* Zwiększony odstęp od górnego menu */
   
}
.kj-title{
font-family:  'Manrope', sans-serif;
font-weight: 300;
font-size: 1.67vw;


}

.kj-subtitle{
font-family:  'Manrope', sans-serif; 
font-weight: 600;
font-size: 2.19vw;
margin-bottom: 2.96vw;


}
.kj-tresc{
font-family: IBM Plex Sans;
font-weight: 400;
font-size: 1.04vw;

}

.about-section {
            font-family: 'Manrope', sans-serif;
            padding: 5vw 0;
            color: #1a1a1a;
            position: relative;
            overflow: hidden;
            background-color: white;
        }

        /* --- Kontener dla pojedynczej osoby (wiersza) --- */
        .person-row {
            display: flex;
            align-items: center;
            max-width: 70vw;
            margin: 0 auto;
            padding: 3vw 0;
            position: relative;
            z-index: 5;
        }

        /* Ustawienie marginesu między wierszami */
        .person-row:first-of-type {
            margin-bottom: 5vw;
            border-bottom: none; /* Usunięcie widocznej linii poziomej */
        }
        .person-row:last-of-type {
            margin-top: 5vw;
        }

        /* --- Style dla treści i nagłówka --- */
        .person-content {
            max-width: 40vw;
            font-family: 'IBM Plex Sans', sans-serif;
        }
        .person-row h2 {
            font-size: 2.5vw;
            font-weight: 700;
            margin-bottom: 1.5vw;
        }
        .person-row p {
            font-size: 1.1vw;
            line-height: 1.6;
            opacity: 0.8;
        }

        /* --- Style dla obrazu --- */
        .person-image {
            width: 25vw;
            height: 25vw;
            object-fit: cover;
            flex-shrink: 0;
        }

        /* Michał Cichoracki: Obraz po lewej, tekst po prawej */
        .michal-row {
            position: relative;
        }
        
        .michal-row::before {
            content: '';
            position: absolute;
            left: calc((100vw - 70vw) / 2 * -1);
            top: 50%;
            transform: translateY(-50%);
            width: calc((100vw - 70vw) / 2 + 15vw);
            height: 4vw;
            background-color: #0BA0D8;
            z-index: 1;
        }
        
        .michal-row .person-image {
            margin-right: 5vw;
            position: relative;
            z-index: 2;
            /* Kształt: ścięty prawy górny róg */
            clip-path: polygon(0 0, 85% 0, 100% 100%, 0% 100%);
        }

        /* Dorota Markiewicz: Obraz po prawej, tekst po lewej (odwrócony układ) */
        .dorota-row {
            flex-direction: row-reverse; /* Odwraca kolejność elementów */
            position: relative;
        }
        
        .dorota-row::before {
            content: '';
            position: absolute;
            right: calc((100vw - 70vw) / 2 * -1);
            top: 50%;
            transform: translateY(-50%);
            width: calc((100vw - 70vw) / 2 + 15vw);
            height: 4vw;
            background-color: #0BA0D8;
            z-index: 1;
        }
        
        .dorota-row .person-image {
            margin-left: 5vw; /* Dodaje margines z lewej strony obrazu */
            position: relative;
            z-index: 2;
            /* Kształt: ścięty lewy górny róg */
            clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
        }
        .dorota-row .person-content {
             margin-right: 5vw; /* Dodaje margines z prawej strony treści */
             margin-left: 0;
}

        /* Person 1: Obraz po lewej, tekst po prawej (jak Michał) */
        .person-1 {
            position: relative;
        }
        
        .person-1::before {
            content: '';
            position: absolute;
            left: calc((100vw - 70vw) / 2 * -1);
            top: 50%;
            transform: translateY(-50%);
            width: calc((100vw - 70vw) / 2 + 15vw);
            height: 4vw;
            background-color: #0BA0D8;
            z-index: 1;
        }
        
        .person-1 .person-image {
            margin-right: 5vw;
            position: relative;
            z-index: 2;
            /* Kształt: ścięty prawy górny róg */
            clip-path: polygon(0 0, 85% 0, 100% 100%, 0% 100%);
        }

        /* Person 2: Obraz po prawej, tekst po lewej (jak Dorota) */
        .person-2 {
            flex-direction: row-reverse;
            position: relative;
        }
        
        .person-2::before {
            content: '';
            position: absolute;
            right: calc((100vw - 70vw) / 2 * -1);
            top: 50%;
            transform: translateY(-50%);
            width: calc((100vw - 70vw) / 2 + 15vw);
            height: 4vw;
            background-color: #0BA0D8;
            z-index: 1;
        }
        
        .person-2 .person-image {
            margin-left: 5vw;
            position: relative;
            z-index: 2;
            /* Kształt: ścięty lewy górny róg */
            clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
        }
        
        .person-2 .person-content {
            margin-right: 5vw;
            margin-left: 0;
        }

        /* Person 3: Obraz po lewej, tekst po prawej (jak Michał/Person 1) */
        .person-3 {
            position: relative;
        }
        
        .person-3::before {
            content: '';
            position: absolute;
            left: calc((100vw - 70vw) / 2 * -1);
            top: 50%;
            transform: translateY(-50%);
            width: calc((100vw - 70vw) / 2 + 15vw);
            height: 4vw;
            background-color: #0BA0D8;
            z-index: 1;
        }
        
        .person-3 .person-image {
            margin-right: 5vw;
            position: relative;
            z-index: 2;
            /* Kształt: ścięty prawy górny róg */
            clip-path: polygon(0 0, 85% 0, 100% 100%, 0% 100%);
        }

        /* Person 4: Obraz po prawej, tekst po lewej (jak Dorota/Person 2) */
        .person-4 {
            flex-direction: row-reverse;
            position: relative;
        }
        
        .person-4::before {
            content: '';
            position: absolute;
            right: calc((100vw - 70vw) / 2 * -1);
            top: 50%;
            transform: translateY(-50%);
            width: calc((100vw - 70vw) / 2 + 15vw);
            height: 4vw;
            background-color: #0BA0D8;
            z-index: 1;
        }
        
        .person-4 .person-image {
            margin-left: 5vw;
            position: relative;
            z-index: 2;
            /* Kształt: ścięty lewy górny róg */
            clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
        }
        
        .person-4 .person-content {
            margin-right: 5vw;
            margin-left: 0;
        }


.what-we-do {
  position: relative;
  overflow: hidden;
  color: white;
  height: 28.28vw;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding-left: 5vw;
}

/* WIDEO W TLE */
.what-we-do .video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
  z-index: -10;
}

/* GRADIENT */
.what-we-do::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60%; /* gradient do połowy szerokości */
  height: 100%;
  background: linear-gradient(to left, #384B7000 0%, #000C32 100%);
  z-index: -5; /* musi być nad wideo, ale pod tekstem */
}

/* Lewa kolumna – tekst */
.text-column {
    flex: 1;
    padding: 5vw 5vw 5vw 16.67vw;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 55vw;
}

.text-column .subtitle {
    font-family: 'Manrope',sans-serif;
    font-weight: 300;
    font-size: 1.67vw;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1vw;
    line-height: 1.2;
}

.text-column h2 {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 1.88vw;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.82vw;
}

.text-column .highlight {
    display: inline-block;
    padding: 0.2vw 1vw;
    position: relative;
    z-index: 1;
    margin-left: 0;
    background-color: #0BA0D882;
    border-radius: 40px;
    color: #fff;
}

.text-column .tresc {
    margin-top: 0;
    font-size: 1.04vw;
    color: #fff;
    margin-bottom: 2vw;
    line-height: 1.6;
    font-family: 'IBM Plex Sans', sans-serif;
}

/* Przycisk */
.button {
    display: inline-block;
    background-color: #fff;
    color: #222;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 26px;
    border-radius: 8px;
    transition: background 0.3s;
}

.button:hover {
    background-color: #e8e8e8;
}






@media (max-width: 768px) {

.michal-row::before,
.dorota-row::before,
.person-1::before,
.person-2::before,
.person-3::before,
.person-4::before {
    display: none;
}

.kj-gora {
    margin-left: 6vw;
    margin-right: 6vw;
    height: auto;
}

.kj-title {
    font-size: 6.68vw;
}

.kj-subtitle {
    font-size: 8.76vw;
    margin-bottom: 8vw;
}

.kj-tresc {
    font-size: 4.16vw;
    line-height: 1.6;
}

.person-row {
    flex-direction: column !important;
    align-items: center;
    text-align: center;
    max-width: 90vw;
    padding: 8vw 0;
}

.person-content {
    max-width: 100%;
    margin: 0;
}

.person-row h2 {
    font-size: 10vw;
    margin-bottom: 4vw;
}

.person-row p {
    font-size: 4.4vw;
    line-height: 1.7;
}

.person-image {
    width: 60vw;
    height: 60vw;
    margin: 0 0 6vw 0 !important;
    clip-path: none !important;
}

.what-we-do {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    padding: 20vw 5vw;
    text-align: center;
}

 .what-we-do::before {
    width: 90%; /* gradient na całą szerokość */
    background: linear-gradient(to left, #384B7000 1%, #000C32 85%);
   
  }

.text-column {
    padding: 5vw !important;
    width: 100%;
    max-width: 100% !important;
    align-items: center !important;
    text-align: center !important;
}

.text-column .subtitle {
    font-size: 6.68vw;
    color: rgba(255, 255, 255, 0.7) !important;
    margin-bottom: 3vw !important;
    text-align: center !important;
}

.text-column h2 {
    font-size: 7.52vw;
    line-height: 1.2;
    margin-bottom: 4vw !important;
    color: #fff !important;
    text-align: center !important;
}

.text-column .highlight {
    padding: 1vw 2vw !important;
    background-color: #0BA0D882 !important;
    border-radius: 25px !important;
}

.text-column .tresc {
    font-size: 4.16vw;
    margin-top: 0 !important;
    margin-bottom: 8vw !important;
    color: #fff !important;
    text-align: center !important;
}

.cta-btn {
    font-size: 5vw !important;
    padding: 4vw 8vw !important;
    border-radius: 20px !important;
    display: block !important;
    margin: 0 auto !important;
    text-align: center !important;
}

.realizations-header-container {
    flex-direction: column;
    align-items: flex-start;
    margin-left: 6vw;
    margin-right: 6vw;
    gap: 8vw;
}

.realizations-subtitle {
    font-size: 6.68vw;
}

.realizations-title {
    font-size: 7.5vw;
}

.btn-realizations-cta {
    font-size: 5vw;
    padding: 4vw 8vw;
}

.realizations-grid {
    grid-template-columns: 1fr;
    gap: 8vw;
    margin-left: 6vw;
    margin-right: 6vw;
}

.card-title {
    font-size: 4.16vw;
}

}
