* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f5f5f0;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: #0A2463;
    color: #f5f5f0;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #f5f5f0;
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ccc;
}

.hero {
    background-color: #0A2463;
    color: #f5f5f0;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    background-color: #f5f5f0;
    color: #0A2463;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #e0e0d8;
}

.services {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    color: #0A2463;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-content {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-icon {
    background-color: #0A2463;
    color: #f5f5f0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
    font-size: 24px;
}

.about {
    padding: 80px 0;
    background-color: #f9f9f7;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.stat-box {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
    color: #0A2463;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
}

.references {
    padding: 80px 0;
    background-color: white;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
}

.reference-logo {
    text-align: center;
    filter: grayscale(100%);
    transition: filter 0.3s;
    opacity: 0.7;
}

.reference-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

.reference-logo img {
    max-width: 100%;
    height: auto;
}

.contact {
    padding: 80px 0;
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-info {
    background-color: #0A2463;
    color: #f5f5f0;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.contact-info h3 {
    margin-bottom: 20px;
    font-size: 24px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-details p {
    margin-bottom: 10px;
}

.social-links h4 {
    margin-bottom: 15px;
}

.social-links a {
    display: inline-block;
    color: #f5f5f0;
    margin-right: 15px;
    text-decoration: none;
    transition: opacity 0.3s;
}
 .social-links a:last-child {
    margin-right: 0;
}

.social-links a:hover {
    opacity: 0.8;
}

.why-me {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.feature-icon {
    font-size: 36px;
    color: #0A2463;
    margin-bottom: 15px;
}

.feature h3 {
    margin-bottom: 10px;
}

footer {
    background-color: #0A2463;
    color: #f5f5f0;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-column p {
    margin-bottom: 10px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #f5f5f0;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-column ul li a:hover {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
     nav ul li {
        margin-left: 10px;
        margin-right: 10px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

}

/* Language Switcher Styles */
.language-switcher {
    margin-left: 25px; /* Odstęp od głównej nawigacji */
    display: flex; /* Potrzebne dla align-items w header-content */
    align-items: center; /* Wyrównanie w pionie z nawigacją */
}

.language-switcher ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.language-switcher li {
    margin-left: 15px; /* Odstęp między flagami */
}

.language-switcher li:first-child {
    margin-left: 0;
}

.language-switcher a,
.language-switcher .current-lang { /* Wspólne style dla linku i bieżącego języka */
    color: #f5f5f0; /* Kolor pasujący do nawigacji */
    text-decoration: none;
    font-weight: normal; /* Lub 'bold', jeśli wolisz */
    font-size: 1em; /* Rozmiar flagi/tekstu */
    padding: 5px; /* Mały padding dla łatwiejszego klikania */
    display: inline-block;
    transition: opacity 0.3s;
}

.language-switcher a:hover {
    opacity: 0.8; /* Efekt hover */
    color: #ccc; /* Dopasowanie do hover w nawigacji */
}

.language-switcher .current-lang {
    /* Styl dla aktualnie wybranego języka (np. lekko wygaszony) */
    opacity: 0.7;
    cursor: default; /* Wskazuje, że nie jest klikalny */
}

/* Dostosowanie responsywne dla przełącznika języków */
@media (max-width: 768px) {
    .header-content {
        /* Już ma flex-direction: column */
    }

    nav ul {
         /* Już jest wyśrodkowane */
         margin-top: 15px; /* Zmniejszony margines, jeśli potrzeba */
    }

    .language-switcher {
         margin-left: 0; /* Usuń margines boczny */
         margin-top: 15px; /* Dodaj odstęp od nawigacji */
         justify-content: center; /* Wyśrodkuj elementy w poziomie */
         width: 100%; /* Zajmij całą szerokość */
    }

    .language-switcher ul {
        /* Już jest display: flex */
        justify-content: center; /* Dodatkowo wyśrodkuj elementy w liście */
    }
    .language-switcher li {
         margin-left: 10px; /* Zmniejsz odstęp między flagami */
         margin-right: 10px;
    }
    .language-switcher li:first-child {
        margin-left: 10px; /* Dopasuj marginesy */
    }
}