body {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

.header__logo {
    height: 82px;
    width: auto;
}

.fourthSection,
.fifthSection,
.sixthSection {
    background-size: cover;
    background-position: center;
}

h1,
h2,
h3,
.wp-block-heading {
    font-size: 30px !important;
}

p,
li {
    font-size: 14px !important;
}

@media (max-width: 991px) {
    h1, h2, h3, .wp-block-heading, .whatDoWeCreate-heading {
        font-size: 20px !important;
    }

    p, li {
        /* font-size: 13px !important; removed */
        line-height: 1.5 !important;
    }

    .whatDoWeCreateFirstSection, 
    .whatDoWeCreateSecondSection-bg, 
    .whatDoWeCreateThirdSection-bg {
        padding: 40px !important;
    }
}


.baner {
    background-size: cover;
    background-position: center;
    width: 100%;
}


.portfolio-button > a {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    color: #d8d6cb;
    border: 1px solid #d8d6cb;
    padding: 5px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    margin: 25px 0;
    transition: all 0.3s ease;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.portfolio-button > a:hover {
    transition: all 0.5s ease;
    background-color: #d8d6cb;
    color: #000;
}


.footer-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 25px;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    position: relative;
}

.form-group label {
    color: #d0d0d0;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #444;
    border-radius: 0;
    padding: 12px 15px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 300;
    transition: border-color 0.3s ease, background 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d8d6cb;
    background: rgba(255, 255, 255, 0.1);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 10px 0;
    text-align: left;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 3px;
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid #666;
    background: transparent;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.form-checkbox input[type="checkbox"]:checked {
    background-color: #d8d6cb;
    border-color: #d8d6cb;
}

.form-checkbox input[type="checkbox"]:checked::after {
    content: '✔';
    font-size: 10px;
    color: #000;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form-checkbox label {
    color: #aaa;
    font-size: 11px;
    line-height: 1.5;
    cursor: pointer;
}

.form-checkbox a {
    color: #d8d6cb;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.form-checkbox a:hover {
    border-bottom-color: #d8d6cb;
}

.footer .button {
    margin-top: 10px;
    padding: 8px 35px;
    background: transparent;
    color: #d8d6cb;
    border: 1px solid #d8d6cb;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.footer .button:hover {
    background: #d8d6cb;
    color: #000;
}


.file-input-wrapper input {
    color: #aaa;
    font-size: 12px;
    background: transparent;
    border: none;
    padding: 5px 0;
}
/* Fix for light background sections visibility */
.bg-light, .bg-light p, .bg-light li, .bg-light h2, .bg-light span {
    color: #222 !important;
}

.bg-light .whatDoWeCreate-heading {
    color: #222 !important;
}

.bg-light .number {
    color: rgba(0, 0, 0, 0.1) !important;
}


/* Intensive text fix for services paragraphs */
.whatDoWeCreateAllSections section.bg-light .text-wrapper p,
.whatDoWeCreateAllSections section.bg-light p,
.whatDoWeCreateAllSections section.bg-light li,
.whatDoWeCreateAllSections section.bg-light .text-content {
    color: #222 !important;
    font-weight: 400 !important;
    opacity: 1 !important;
}


/* --- SERVICES PAGE MOBILE FIXES --- */
@media (max-width: 991px) {
    /* Stack image on top of text */
    .whatDoWeCreateFirstSection, 
    .whatDoWeCreateSecondSection-bg, 
    .whatDoWeCreateThirdSection-bg {
        flex-direction: column !important;
        padding: 40px 15px !important;
    }

    /* Reset containers to full width */
    .whatDoWeCreateFirstSection__firstContainer,
    .whatDoWeCreateFirstSection__secondContainer,
    .whatDoWeCreateSecondSection__firstContainer,
    .whatDoWeCreateSecondSection__secondContainer,
    .whatDoWeCreateThirdSection__firstContainer,
    .whatDoWeCreateThirdSection__secondContainer {
        width: 100% !important;
        padding: 0 !important;
        text-align: center !important;
    }

    /* Spacing between image and text */
    .whatDoWeCreateFirstSection__secondContainer,
    .whatDoWeCreateSecondSection__firstContainer,
    .whatDoWeCreateThirdSection__secondContainer {
        margin-top: 20px !important;
    }

    /* Heading and number alignment */
    .heading-wrapper, .number-wrapper {
        justify-content: center !important;
        flex-direction: row !important; /* Jedna linia */
        align-items: center !important;
        gap: 15px !important;
    }

    .number {
        font-size: 40px !important; /* Rozmiar zbliżony do nagłówka */
        font-weight: 900 !important;
        line-height: 1 !important;
        margin-bottom: 0 !important; 
        opacity: 0.2 !important;
        color: transparent !important;
        -webkit-text-stroke: 1px #888;
        display: block !important;
    }

    .bg-light .number {
        -webkit-text-stroke: 1px #222;
        opacity: 0.15 !important;
    }

    .whatDoWeCreate-heading {
        font-size: 24px !important; /* Dopasowanie wielkości */
        text-align: center !important;
        margin-bottom: 0 !important;
        position: relative;
        z-index: 2;
    }
}

