/* Podstawowe style */
body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
}

h1, h2, h3 {
    color: #0056b3; /* Ciemnoniebieski dla nagłówków */
}

h1 {
    font-size: 2.8em;
    margin-bottom: 10px;
}

.success-message {
    background-color: #d4edda; /* Jasnozielone tło */
    color: #155724; /* Ciemnozielony tekst */
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb; /* Zielona ramka */
}

.error-message {
    background-color: #f8d7da; /* Jasnoczerwone tło */
    color: #721c24; /* Ciemnoczerwony tekst */
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb; /* Czerwona ramka */
}

h2 {
    font-size: 2em;
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff; /* Jasnoniebieski akcent */
}

h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Styl przycisku CTA */
.cta-button {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    margin-top: 15px;
}

.cta-button:hover {
    background-color: #0056b3;
    text-decoration: none;
}

/* Sekcja Hero */
#hero {
    background-color: #e9ecef; /* Jasnoszary tło */
    color: #333;
    padding: 60px 0;
    text-align: center;
}

#hero h1 {
    color: #0056b3;
}

#hero h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
    border-bottom: none; /* Usuwamy podkreślenie w hero */
    font-weight: normal;
}

/* Sekcje */
section {
    padding: 50px 0;
}

#about {
    background-color: #fff;
}

#benefits {
    background-color: #f9f9f9;
}

#how-it-works {
    background-color: #fff;
}

#contact {
    background-color: #e9ecef;
}

/* Siatka korzyści */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.benefit-item img {
    max-width: 60px; /* Dostosuj rozmiar ikon */
    margin-bottom: 15px;
    /* Domyślne ikony SVG lub PNG można dodać później */
    /* background-color: #ccc; /* Placeholder dla ikon */
    /* padding: 10px; */
    /* border-radius: 50%; */
}

/* Siatka kroków */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    text-align: center;
}

.step-item span {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: #007bff;
    color: #fff;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Formularz kontaktowy */
#contact form {
    max-width: 600px;
    margin: 30px auto 0;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#contact label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

#contact input[type="text"],
#contact input[type="email"],
#contact input[type="tel"],
#contact textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Zapobiega przekraczaniu szerokości przez padding */
    font-size: 1em;
}

#contact textarea {
    resize: vertical; /* Pozwala na zmianę wysokości */
}

#contact button[type="submit"] {
    width: 100%;
    padding: 15px;
}

/* Stopka */
footer {
    background-color: #343a40; /* Ciemna stopka */
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

footer p {
    margin: 5px 0;
}

footer a {
    color: #00bfff; /* Jasnoniebieski link w stopce */
}

/* Responsywność */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2em;
    }
    h2 {
        font-size: 1.8em;
    }
    .container {
        width: 95%;
    }
    .benefits-grid, .steps-grid {
        grid-template-columns: 1fr; /* Jedna kolumna na mniejszych ekranach */
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8em;
    }
    h2 {
        font-size: 1.5em;
    }
    .cta-button {
        font-size: 1em;
        padding: 10px 20px;
    }
    #contact form {
        padding: 20px;
    }
}