﻿@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 100;
    src: url(/fonts/poppins-100.woff2) format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 100;
    src: url(/fonts/poppins-100-italic.woff2) format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 200;
    src: url(/fonts/poppins-200.woff2) format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 200;
    src: url(/fonts/poppins-200-italic.woff2) format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    src: url(/fonts/poppins-300.woff2) format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 300;
    src: url(/fonts/poppins-300-italic.woff2) format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: url(/fonts/poppins-400.woff2) format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 400;
    src: url(/fonts/poppins-400-italic.woff2) format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    src: url(/fonts/poppins-500.woff2) format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 500;
    src: url(/fonts/poppins-500-italic.woff2) format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    src: url(/fonts/poppins-600.woff2) format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 600;
    src: url(/fonts/poppins-600-italic.woff2) format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    src: url(/fonts/poppins-700.woff2) format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 700;
    src: url(/fonts/poppins-700-italic.woff2) format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 800;
    src: url(/fonts/poppins-800.woff2) format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 800;
    src: url(/fonts/poppins-800-italic.woff2) format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 900;
    src: url(/fonts/poppins-900.woff2) format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 900;
    src: url(/fonts/poppins-900-italic.woff2) format('woff2');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: underline;
    color: inherit;
}

html, body {
    height: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    display: grid;
    grid-template-rows: auto auto auto 1fr;
    min-height: 100vh;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

    .container h2 {
        padding-bottom: 24px;
        font-size: 22px;
        font-weight: bold;
        line-height: 36px;
        text-align: center;
    }

.center {
    text-align: center;
}

.region-half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 32px;
    right: auto;
    transform: translate(-50%, 40px);
    min-width: 200px;
    padding: 16px 24px;
    border-radius: 6px;
    color: #fff;
    font-size: 1rem;
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.5s, transform 0.5s;
}

    .toast.show {
        opacity: 1;
        pointer-events: auto;
        transform: translate(-50%, 0);
    }

.toast-success {
    background: #28a745;
}

.toast-error {
    background: #dc3545;
}

/* Header */
header {
    background-color: #fff;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #2c5aa0;
    font-style: italic;
}

    .logo a {
        text-decoration: none;
        color: inherit;
    }

nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

nav a {
    color: #333;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: underline;
    text-transform: uppercase;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3d6f 100%);
    color: white;
    padding: 84px 0;
    text-align: center;
}

    .hero h1 {
        font-size: 58px;
        margin-bottom: 24px;
        font-weight: bold;
        font-style: italic;
    }

    .hero .subtitle {
        font-size: 24px;
        font-weight: 500;
    }

/* Main Content */
.main-content {
    padding: 64px 0;
    background-color: #fff;
}

/* Home */
.home .content-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 32px;
    align-items: start;
}

.home .content-image {
    background-image: url('/images/home-1.png');
    background-size: cover;
    background-position: center;
    height: 100%;
    border-radius: 8px;
    border: 1px solid #2c5aa0;
}

.home .content-text {
    font-size: 16px;
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

    .home .content-text p {
        font-size: 15px;
    }

.home .highlight {
    color: #2c5aa0;
    font-weight: 600;
}

/* Accounting */
.accounting .container .card-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: stretch;
}

.accounting .card-container .card {
    border: 1px solid #dee0e2;
    border-radius: 8px;
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.1);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 15px;
    min-width: 270px;
    width: 100%;
}

    .accounting .card-container .card h3 {
        font-size: 20px;
        margin: 0;
        padding: 0;
    }

    .accounting .card-container .card ul {
        list-style: disc;
        list-style-position: outside;
        padding-left: 16px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        flex-wrap: wrap;
    }

        .accounting .card-container .card ul li::marker {
            color: #2c5aa0;
        }

/* Finances */
.finances .container .card-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.finances .card-container .card {
    border: 1px solid #dee0e2;
    border-radius: 8px;
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.1);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 15px;
    min-width: 270px;
    width: 100%;
}

    .finances .card-container .card h3 {
        font-size: 20px;
        margin: 0;
        padding: 0;
    }

    .finances .card-container .card ul {
        list-style: disc;
        list-style-position: outside;
        padding-left: 16px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        flex-wrap: wrap;
    }

        .finances .card-container .card ul li::marker {
            color: #2c5aa0;
        }

/* Calculator */
.calculator .container {
}

.calculator .content {
    display: flex;
    flex-direction: column;
    gap: 18px;
    border: 1px solid #dee0e2;
    border-radius: 8px;
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.1);
    padding: 24px;
    max-width: 640px;
    margin: auto;
}

    .calculator .content .element {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        font-size: 15px;
        border-bottom: 1px solid #dee0e2;
        padding-bottom: 16px;
    }

        .calculator .content .element:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

        .calculator .content .element > .description {
            min-width: 0;
            font-weight: 600;
            cursor: pointer;
        }

            .calculator .content .element > .description small {
                font-weight: 400;
            }

        .calculator .content .element .checkbox input[type="checkbox"] {
            -webkit-appearance: none;
            appearance: none;
            background-color: transparent;
            margin: 0;
        }

        .calculator .content .element .checkbox .state {
            width: 128px;
            min-width: 128px;
            max-width: 128px;
            padding: 12px;
            border-radius: 4px;
            border-width: 1px;
            border-style: solid;
            border-color: rgb(30, 61, 111);
            cursor: pointer;
            display: inline-flex;
            justify-content: center;
            align-items: center;
            font-family: inherit;
            font-size: 14px;
        }

            .calculator .content .element .checkbox .state::before {
                content: "Nie";
                transition: content 0.2s, color 0.2s;
            }

        .calculator .content .element .checkbox input[type="checkbox"]:checked ~ .state {
            border-color: #2c5aa0;
            background: #e9f0fa;
            color: #2c5aa0;
        }

            .calculator .content .element .checkbox input[type="checkbox"]:checked ~ .state::before {
                content: "Tak";
                color: #2c5aa0;
            }

        .calculator .content .element input[type="number"] {
            font-family: inherit;
            font-size: 14px;
            field-sizing: fixed;
            width: 128px;
            min-width: 128px;
            max-width: 128px;
            resize: none;
            box-sizing: border-box;
            background-color: rgb(255, 255, 255);
            padding: 12px;
            border-radius: 4px;
            border-width: 1px;
            border-style: solid;
            border-color: rgb(30, 61, 111);
            border-image: initial;
            outline: none;
            transition: 0.2s ease-in-out;
        }

    .calculator .content .action button {
        padding: 16px;
        width: 100%;
        font-family: inherit;
        font-weight: 500;
        font-size: 16px;
        border-radius: 4px;
        border: 1px solid #1e3d6f;
        background-color: #2c5aa0;
        color: #fff;
        cursor: pointer;
        outline: none;
        transition: all ease-in-out 0.2s;
        text-transform: uppercase;
    }

        .calculator .content .action button:hover,
        .calculator .content .action button:focus {
            background-color: #1e3d6f;
            box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
        }

    .calculator .content .summary {
        height: 96px;
        width: 100%;
        border-color: #2c5aa0;
        background: #e9f0fa;
        border-radius: 6px;
        border-width: 1px;
        border-style: solid;
        font-size: 24px;
        text-align: center;
        color: #2c5aa0;
        font-weight: 600;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 4px;
    }

        .calculator .content .summary span {
        }

        .calculator .content .summary small {
            font-size: 15px;
            font-weight: 400;
        }

/* Contact */
.contact .information {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

    .contact .information div {
        display: flex;
        flex-direction: column;
        gap: 8px;
        font-size: 15px;
    }

.contact .form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .contact .form form {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .contact .form input[type="text"],
    .contact .form input[type="email"],
    .contact .form textarea {
        padding: 12px;
        width: 100%;
        font-family: inherit;
        font-size: 14px;
        border-radius: 4px;
        border: 1px solid #1e3d6f;
        field-sizing: fixed;
        max-width: 100%;
        resize: none;
        outline: none;
        transition: all ease-in-out 0.2s;
        box-sizing: border-box;
        background-color: #fff;
    }

        .contact .form input[type="text"]:focus,
        .contact .form input[type="email"]:focus,
        .contact .form textarea:focus {
            box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
        }

    .contact .form textarea {
        height: 320px;
        min-height: 320px;
        max-height: 320px;
    }

    .contact .form input[type="submit"] {
        padding: 16px;
        width: 100%;
        font-family: inherit;
        font-weight: 500;
        font-size: 16px;
        border-radius: 4px;
        border: 1px solid #1e3d6f;
        background-color: #2c5aa0;
        color: #fff;
        cursor: pointer;
        outline: none;
        transition: all ease-in-out 0.2s;
    }

        .contact .form input[type="submit"]:hover,
        .contact .form input[type="submit"]:focus {
            background-color: #1e3d6f;
            box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
        }

        .contact .form input[type="submit"]:disabled {
            cursor: wait;
        }

.contact h3 {
    padding-bottom: 8px;
    font-size: 18px;
    font-weight: bold;
}
/* Footer */
footer {
    background-color: #2c5aa0;
    color: white;
    padding: 32px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

    .footer-section h4 {
        padding-bottom: 16px;
        font-size: 18px;
        font-weight: bold;
    }

    .footer-section a {
        text-decoration: underline;
        color: inherit;
    }

.contact-phone {
    background-image: url('/images/phone-icon-1.svg');
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-position: left center;
    padding-left: 32px;
}

.contact-email {
    background-image: url('/images/email-icon-1.svg');
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-position: left center;
    padding-left: 32px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: background-color 0.3s ease;
}

    .social-icon.linkedin {
        background-image: url('/images/linkedin-icon-1.svg');
        background-repeat: no-repeat;
        background-size: 32px 32px;
        background-position: center center;
    }

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .region-half {
        display: grid;
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        justify-content: center;
        gap: 16px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero .subtitle {
        font-size: 20px;
    }

    .home .content-image {
        height: 240px;
    }

    .home .content-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .calculator .content .element {
        flex-direction: column;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-section {
        align-items: center;
    }

    .finances .container .card-container {
        grid-template-columns: 1fr;
    }

    .contact {
        text-align: center;
    }

        .contact .form .captcha {
            zoom: 0.8;
        }
}
