/* Globalne ustawienia */
:root {
    --theme-color: #FFA123; /* Domyślny kolor */
}

@media (prefers-color-scheme: dark) {
    :root {
        --theme-color: #FFA123; /* Kolor dla trybu ciemnego */
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: roboto, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}
h1 {
    font-size: 32px;
}

h1, h2, h3, h4 {
    color: #222;
}

a {
    text-decoration: none;
}
/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 1);
    color: rgb(59, 59, 59);
    padding: 10px 20px;
    z-index: 5;
    transition: top 0.3s ease;
    box-shadow: 0 4px 10px #4b4b4b;
}

/* Logo */
.navbar .logo img {
    height: 30px;
    width: auto;
}
.navbar-title {
   /* font-size: 1.2rem;  */
    font-weight: bold;
    color: rgb(53, 53, 53);
    
    white-space: nowrap; /* Zapobiega zawijaniu tekstu */
    overflow: hidden; /* Ukrywa nadmiar tekstu */
    font-size: clamp(12px, 3vw, 24px);
    max-width: 100%; /* Ensure it stays within the container */
    text-align: center; /* Text alignment */
 
}
/* Ukrywanie navbaru */
.navbar.hidden {
    top: -100px;
}

/* Standardowa nawigacja */
.nav-links {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    align-items: center;
    
}
 
.nav-links li {
    margin:0;
    padding: 0;
    width: auto;
    border-bottom: 1px solid rgb(228, 228, 228);
   
}

.nav-links a {
    color: rgb(68, 68, 68);
    text-decoration: none;
    font-size: 1rem;
    padding: 15px;
    width: auto;
    
}

.nav-links a:hover {
    color: #ff5733;
    background-color: rgba(255, 87, 51, 0.2);
    border-radius: 5px;
}

/* Hamburger menu - ukrywamy na dużych ekranach */
.hamburger-menu {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 5px 10px;
}


/* Hero Section */
.floating-logo {
    position: absolute;
    top: 10px;
    left: 20px;
    z-index: 15; /* Ustaw wyższy z-index niż nagłówek */
}

.floating-logo img {
    width: 120px; /* Dostosuj rozmiar */
    height: auto;
    opacity: 0.9; /* Delikatna przezroczystość */
    transition: transform 0.3s ease-in-out;
}

.floating-logo img:hover {
    transform: scale(1.1); /* Powiększenie przy najechaniu */
}
.hero {
    position: relative;
    height: 54vh;
    background: url('img/d3.jpg') no-repeat center center/cover;
    color: #fff;
    z-index: 10;  /* Aby navbar znajdował się nad headerem */
    top:-58px;
     
}
 

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;  /* Ustawienie flex na kolumny */
    justify-content: flex-start; /* Wyrównanie wszystkich elementów do góry */
    text-align: center;
    
}
.hero-content {
    display: flex;
    flex-direction: column;  /* Ustawienie elementów w kolumnach */
    justify-content: flex-start; /* Nagłówek pozostaje na górze */
    height: 100%;  /* Cały dostępny wysokość w kontenerze */
    padding: 0 1em;

}

.hero-content h1 {
    font-size: 3rem;
    color: #fafafa;
    margin-bottom: 1rem;
    padding-top: 12%;

}
.hero-content p{
    font-size: 1.2rem;
    padding: 1rem;
    color: #fafafa;
    margin-top: auto;  /* To sprawia, że p przesunie się na dół */
     

}


.cta-button {
    padding: 1rem 2rem;
    background-color: #ffc107;
    color: #fff;
    font-size: 1.1rem;
    text-transform: uppercase;
    border-radius: 5px;
    cursor: pointer; /* Zmiana kursora na "rączkę" */
    transition: all 0.3s ease; /* Płynna animacja */
}

.cta-button:hover {
    background-color: #ffbf00e1;

    transform: scale(1.02); /* Powiększenie przycisku */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Cień wokół przycisku */
}

/* Sekcje */
.section {
    padding: 60px 20px;
    text-align: center;
    background-color: white;
}
.section.hello2{
    margin-top: -65px;
}
.section.hello2 .card{
    width: 100%;
    transform: translateY(0);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
} 
.section.hello2 .card:hover{
    transform: translateY(0);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
} 
.section.hello2 .small{
    font-size: 0.8em;

    line-height:auto;
}
.section.hello2 h1{
    padding-bottom: 0.6em;
    margin-top:-40px
}
.section.hello2 h3{
    font-size: 1.1em;
    text-align: left;
    padding-bottom: 1em;
}
.section.hello2 p{
    text-align: left;
    line-height: 25px;
}
.section.hello2 .midheader{
    font-size: 1.1em;
    font-weight: bold;
    padding: 1em;
}
/* Flexbox dla dwóch kolumn */
.about-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Odstęp między kolumnami */
}
/* Kontener dla obrazka */
#about .about-columns .column {
    position: relative !important;
    overflow: hidden !important; /* Przycinanie fragmentów */
    height: 400px !important;    /* Stała wysokość kontenera */
}

/* Obrazek przybliżony i wyśrodkowany */
#about .about-columns .column img.map-img {
    width: 200% !important;
    height: 150% !important;     
    object-fit: cover !important;  
    object-position: center !important; /* Wyśrodkowanie */
    display: block !important;
    transition: transform 0.3s ease !important;
    transform-origin: center center !important; /* Skalowanie od środka */
}

.map-img {
    object-fit: fill!important; 
    height: 100%!important;
    opacity: 0.7;
}
.column {
    flex: 1; /* Każda kolumna zajmuje równą ilość przestrzeni */
    min-width: 300px; /* Minimalna szerokość kolumny, aby nie była za wąska */
}

.section.hello2 ul li {
    padding-bottom: 15px;
    padding-left: 45px; /* Dodajemy padding dla wyrównania tekstu */
    position: relative;
}
.section.hello2 ul{
    text-align: left;
    line-height: 25px;
    list-style-type: none; 
    text-indent: 1px;   
    margin-left: 0px;
   
}
.section.hello2 li{
    padding-bottom: 15px;
    margin-right: 15px;
     
}
.section.hello2 ul li::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 35%;
    transform: translateY(-50%);
    margin-right: 11px;
    background-image: url('img/check_no_ikona1.png');
    filter: brightness(1.5) contrast(1) saturate(1); 
    opacity: 1; 
    background-size: contain;
    width: 35px;  /* Dostosuj wielkość */
    height: 35px; /* Dostosuj wielkość */
}
/* Styl dla pozytywnych punktów (✔️) */
.section.hello2 ul.yes li::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 35%;
    transform: translateY(-50%);
    margin-right: 11px;
    background-image: url('img/check_ok_ikona1.png');
    filter: brightness(1) contrast(1) saturate(1); 
    opacity: 1; 
    background-size: contain;
    width: 35px;  /* Dostosuj wielkość */
    height: 35px; /* Dostosuj wielkość */
}


.section.hello h2{
    padding-bottom: 0.6em;
    margin-top:-40px
     
}
.section.hello {
    margin-top: -65px;
      
 }
 .section.hello h1{
    padding-bottom: 0.6em;
    margin-top:-40px
     
}
.section.hello p{
    border-radius: 16px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    text-align: left;
    padding-bottom: 1em;
    padding-top: 1em;
    margin-left: 1px;
    padding-inline: 15px;
    margin-bottom: 2em;
    position: relative; 
    line-height: 20px;
 
    z-index: 15;
    border-style: solid;
    border-color: rgba(23, 23, 23, 0.04);
    box-shadow: rgba(23, 23, 23, 0.08) 0px 2px 8px -2px, rgba(23, 23, 23, 0.16) 0px 8px 12px -2px;
    border-top: #FE9339 solid 4px;
   
}
/*
.section.hello p::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 14px;
    width: 55%;
    z-index: 1;  
    border-radius: 1px 0px 1px 2px ;
    height: 11px;  
    background-color: #FFA123; 
} */
.section.about {
   margin-top: -65px;

     
}

.section.about h1{
    padding-bottom: 0.5em;
    margin-top:-25px;
     
}
.section.about h2{
    padding-bottom: 0.2em;
     
}
.section.about p{
    text-align: left;
    padding:0.5em;
    line-height: 1.6;    
     
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.services, .case-studies, .testimonials {
    background-color: #fafafa;
}
.service-cards, .case-study-cards, .testimonial-cards{
    padding-top: 25px;

}
.service-cards h3, .case-study-cards h3, .testimonial-cards h3 {
    
    margin-bottom: 15px; /* Dodatkowy odstęp poniżej */
} 
.service-cards, .case-study-cards, .testimonial-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    
}

.card, .case-study-card, .testimonial-card {
    background-color: white;
    padding: 20px;
    width: 30%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.case-study-card {
    display: flex; /* Ustawiamy kartę jako flexbox w poziomie */
    align-items: flex-start; /* Wyrównanie elementów w pionie na górze */
    background-color: white;
    padding: 20px;
    width: 70%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.case-study-card img {
    width: 33%!important; /* Ustalamy szerokość obrazka na 40% */
      
    border-radius: 10px;
    margin-right: 20px; /* Odstęp między obrazkiem a tekstem */
}
.case-study-card .text-content {
    display: flex;
    flex-direction: column; /* Układ tekstu w kolumnie: najpierw h3, potem p */
    justify-content: flex-start; /* Wyrównanie tekstu na górze */
    flex: 1; /* Tekst zajmuje resztę dostępnej przestrzeni */
}
.case-study-card p {
    font-size: 1rem;
    color: #333;
    margin: 0; /* Usunięcie domyślnych marginesów */
}
.case-study-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px; /* Odstęp między nagłówkiem a tekstem */
}

.card img, .case-study-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}


.card img, .case-study-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.card a, .case-study-card a {
    color: #0056b3;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
    text-transform: uppercase;
}

.card:hover, .case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-card img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 10px;
}

/* Formularz kontaktowy */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

input, textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

button {
    padding: 15px;
    background-color: #0056b3;
    color: white;
    font-size: 1.2rem;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #003f7f;
}

/* Stopka */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
}

footer a {
    color: #ffc107;
}

footer a:hover {
    color: white;
}
 
/* box1 */
/* Zmniejszony header */
 
.hero-low {
    position: relative;
    z-index: 15;  
    text-align: center;
    margin: auto;
    height: 100px;
    top:-58px;
    background-color: #f8f8f8;
}
.hero-content-low {
    display: flex;
    flex-direction: column;  /* Ustawienie elementów w kolumnach */
    justify-content: center;  
    height: 100%;  /* Cały dostępny wysokość w kontenerze */
    padding: 0 1em;

}

.hero-content-low h1 {
    font-size: 2rem;
     

}
.hero-content-low p{
    font-size: 1rem;
    padding-bottom: 10px;
}
.box1_section {
    padding: 30px 20px;
    text-align: center;
    background-color: white;
    margin-top: -111px;
}
.box1_container {
    padding: 60px 20px;
    text-align: center;
    background-color: white;
}
 
.box1_header {
  padding-top: 15px;
  padding-bottom: 15px;
   
  text-align: left;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 52px !important;
  line-height: 60px !important;
}
.box1_midheader{
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 22px;
    line-height: 30px;
    text-align: left;
}
.box1_article{
    text-align: left;
    line-height: 32px;
    font-size: 15px;
   
}
.box1_img{
    max-width: 800px;
    max-height: 350px;
    
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    padding: 2px;
    margin: 5px 0 25px 0;
}
/* logo slider */
.logo-slider-wrapper {
    width: 100%;
    overflow-x: hidden; /* Ukrywamy przewijanie na starcie */
    white-space: nowrap;
    padding: 10px 0;
}
.logo-slider-wrapper::-webkit-scrollbar {
    display: none;
}


.logo-slider-wrapper.scrollable {
    overflow-x: auto; /* Włączamy przewijanie po animacji */
}

.logo-slider {
    display: flex;
    gap: 20px;
    padding: 10px;
    justify-content: center;
    transition: transform 2s ease;
}

.logo-slider img {
    width: auto;
    max-width: 70px;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: filter 0.3s ease, opacity 0.3s ease;
    flex-shrink: 0;
}

.logo-slider img:hover {
    filter: grayscale(0%);
    opacity: 1;
}
/* box2 */
.box2_section{
    padding: 30px 20px;
    text-align: center;
    background-color: white;
}
.box2_section h2{
    padding-bottom: 15px;
}
.box2_cards{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;

}
.box2_card{
    display: flex; /* Ustawiamy kartę jako flexbox w poziomie */
    align-items: flex-start; /* Wyrównanie elementów w pionie na górze */
    background-color: white;
    padding: 20px;
    width: 70%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}
.box2_card img{
    width: 33%!important; /* Ustalamy szerokość obrazka na 40% */
      
    border-radius: 10px;
    margin-right: 20px; /* Odstęp między obrazkiem a tekstem */
}
.box2_card .text-content {
    display: flex;
    flex-direction: column; /* Układ tekstu w kolumnie: najpierw h3, potem p */
    justify-content: flex-start; /* Wyrównanie tekstu na górze */
    flex: 1; /* Tekst zajmuje resztę dostępnej przestrzeni */
}
.box2_card p {
    font-size: 1rem;
    color: #333;
    margin: 0; /* Usunięcie domyślnych marginesów */
}
.box2_card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px; /* Odstęp między nagłówkiem a tekstem */
}
.box2_card a {
    color: #0056b3;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
    text-transform: uppercase;
}

.box2_card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Responsywność */
@media (max-width: 1060px) {
    .hero {
         
        top:-68px;
    }
}
@media (max-width: 768px) {
    header {
        height: 60vh;
    }
    .about-columns {
        flex-direction: column; /* Kolumny w pionie na mniejszych ekranach */
    }

#about .about-columns .column {
        height: 204px !important; /* Jeszcze niższa wysokość */
    }

    #about .about-columns .column img.map-img {
        width: 130% !important;   /* Mniejsze przybliżenie */
        height: 110% !important;
    }




    .hero {
         
        top:-68px;
    }
    .hero-low {
        
        top:-68px;
       
    }
    .hero-content h1 {
        font-size: 2rem;
        margin-top: 50px;   
    }
    .hero-content-low{
        margin-left:125px;
    }
    .hero-content-low h1{
       font-size: 1.5em;
       margin-bottom: 5px;
    }
    .hero-content-low p{
        font-size: 0.8em;
     }
    .box1_section {
        padding: 30px 20px;
        text-align: center;
        background-color: white;
        margin-top: -128px;
    }
    .box1_img{
        max-width: 400px;
        max-height: 350px;
        
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        padding: 2px;
        margin: 5px 0 25px 0;
    }
    .card, .case-study-card, .testimonial-card {
        width: 100%;
    }
     /* Case Study - zmiana układu na kolumnowy dla małych ekranów */
     .case-study-card {
        flex-direction: column; /* Zmiana na kolumnowy układ */
        align-items: center; /* Wyrównanie do środka */
    }

    .case-study-card img {
        width: 100%; /* Obrazek zajmuje całą szerokość */
        height: auto; /* Zachowanie proporcji obrazka */
        margin-bottom: 15px; /* Odstęp między obrazkiem a tekstem */
    }

    .case-study-card .text-content {
        text-align: center; /* Wyśrodkowanie tekstu w wersji mobilnej */
        flex: none; /* Usunięcie elastyczności, aby tekst nie rozciągał się */
    }

    .case-study-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .case-study-card p {
        font-size: 1rem;
        color: #333;
        margin: 0;
    }
    .hamburger-menu {
        display: block;
    }
    /* Standardowa nawigacja */
.nav-links {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links li {
    margin:9px 9px;
    padding-bottom: 11px;
}

.nav-links a {
    color: rgb(68, 68, 68);
    text-decoration: none;
    font-size: 1rem;
    padding: 12px 45px 12px 45px;
}

.nav-links a:hover {
    color: #ff5733;
    background-color: rgba(255, 87, 51, 0.2);
    border-radius: 5px;
}


    .nav-links {
        display: none; /* Ukrywamy menu domyślnie */
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        background: rgb(255, 255, 255);
        text-align: center;
        padding: 10px 0;
        border-radius: 0px 0px 5px 5px;
        box-shadow:-1px 20px 20px -17px rgb(54, 54, 54);
        z-index: -4!important;
        color: #333;
    }

    .nav-links.active {
        display: flex; /* Pokazujemy menu po kliknięciu */
    }

    .nav-links li {
        
        color: #333;
        
    }
     
  
}

/* Stopka */
footer {
    background-color: #333;
    color: white;
    padding: 40px 20px 20px;
    margin-top: 50px;
}

.footer-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between; /* równe odstępy */
    gap: 40px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h3 {
    color: var(--theme-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-column p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-column a {
    color: #ffc107;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 15px;
    text-align: center;
    font-size: 0.85rem;
    color: #bbb;
}


/* Wariant karty: wsparcie / granty */
.case-study-card--grant {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Logo grantodawcy – zawsze w jednej linii */
.case-study-card--grant img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    background: #f5f5f5;
    padding: 20px;
}

/* Opis pod logo */
.case-study-card--grant .text-content {
    padding: 20px;
}



/* Responsywność */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-column {
        min-width: 100%;
    }
}


@media (max-width: 480px) {
    .navbar-title {
        /* font-size: 1.2rem;  */
         font-weight: bold;
         color: rgb(53, 53, 53);
         
         white-space: nowrap; /* Zapobiega zawijaniu tekstu */
         overflow: hidden; /* Ukrywa nadmiar tekstu */
         font-size: clamp(12px, 14px, 16px);
         max-width: 100%; /* Ensure it stays within the container */
         text-align: center; /* Text alignment */
      
     }
     .section.hello2 h1{
        font-size: 1.4rem!important;
        
        
    }   
  
    .hero {
        display: flex;
        height: 40vh;
        top:-68px;
    }
    .hero-low {
        display: none;
        position: relative;
        z-index: 15;  
        text-align: center;
        margin: auto;
        height: 100px;
        top:-68px;
        background-color: #f4f4f4;
    }
   
    .hero-content p {
        font-size: 0.8rem;
    }
    .hero-content h1 {
        font-size: 1.3rem;
        margin-bottom: 2rem;
        color: #fafafa;
        margin-left: 1em;
        margin-right: 1em;
        margin-top: 0;       
        padding-top:22%;
    
    }

    .floating-logo {
        position: absolute;
        top: 10px;
        left: 10px;
        z-index: 15; /* Ustaw wyższy z-index niż nagłówek */
    }
    
    .floating-logo img {
        width: 80px; /* Dostosuj rozmiar */
        height: auto;
        opacity: 0.9; /* Delikatna przezroczystość */
        transition: transform 0.3s ease-in-out;
    }
    
    .floating-logo img:hover {
        transform: scale(1.1); /* Powiększenie przy najechaniu */
    }
    /* Case Study - jeszcze bardziej dostosowane dla małych urządzeń */
    .case-study-card {
        padding: 15px; /* Zmniejszenie odstępów */
        width: 100%; /* Pełna szerokość karty */
    }

    .case-study-card img {
        margin-bottom: 20px; /* Większy odstęp między obrazkiem a tekstem */
        margin: auto;
        width: 100%!important;

    }
    .case-study-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
        margin-top: 10px;
    }

    .case-study-card p {
        font-size: 1rem;
        color: #333;
        margin: 0;
    }
    /* box1   */
    .hero-content-low {
        display: flex;
        flex-direction: column;  /* Ustawienie elementów w kolumnach */
        justify-content: center;  
        height: 100%;  /* Cały dostępny wysokość w kontenerze */
        padding: 0 1em;
    
    }
    
    .hero-content-low h1 {
        font-size: 1.2rem;
        margin-top: 55px;
        margin-left: 55px;
        text-align: center;  
    }
    .hero-content-low p{
        font-size: 0.7rem;
        padding-bottom: 5px;
    }
    .box1_section {
        padding: 15px 0px;
        text-align: center;
        background-color: white;
        margin-top: -15px;
    }
    .box1_container {
        padding: 15px 20px;
        text-align: center;
        background-color: white;
    }
     
    .box1_header {
        text-align: left;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: 400;
        font-size: 36px !important;
        line-height: 40px !important;
        padding-bottom: 10px;
    }
    .box1_midheader{
        font-size: 18p!important;
        line-height: 21px!important;
    }
    .box1_article{
        text-align: left;
        line-height: 32px!important;
        font-size: 15px!important;       
    }
    .box1_img{
        max-width: 300px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        padding: 2px;
        margin: 5px 0 25px 0;
    }
   
    /* box2 */
.box2_section{
    padding: 15px 20px;
    text-align: center;
    background-color: white;
}
.box2_section h2{
    padding-bottom: 15px;
   
}
.box2_cards{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
}
.box2_card{
    display: flex; /* Ustawiamy kartę jako flexbox w poziomie */
    align-items: flex-start; /* Wyrównanie elementów w pionie na górze */
    background-color: white;
    padding: 20px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-direction: column;

}
.box2_card img{
     
    margin: auto;
    width: 100%!important;  
    border-radius: 10px;
    margin-right: 20px; /* Odstęp między obrazkiem a tekstem */
}
.box2_card .text-content {
    display: flex;
    flex-direction: column; /* Układ tekstu w kolumnie: najpierw h3, potem p */
    justify-content: flex-start; /* Wyrównanie tekstu na górze */
    flex: 1; /* Tekst zajmuje resztę dostępnej przestrzeni */
}
.box2_card p {
    font-size: 1rem;
    color: #333;
    margin: 0; /* Usunięcie domyślnych marginesów */
}
.box2_card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px; /* Odstęp między nagłówkiem a tekstem */
    padding-top: 15px;
}
.box2_card a {
    color: #0056b3;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
    text-transform: uppercase;
}

.box2_card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
  
}
