* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: #f4f7fb;
}

#welcome {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    color: white;
    background:
    linear-gradient(
    135deg,
    rgba(8, 25, 55, 0.95),
    rgba(15, 64, 115, 0.88)
    ),
    linear-gradient(135deg, #0f2747, #174f87);
    position: relative;
    overflow: hidden;
}

#welcome::before,
#welcome::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

#welcome::before {
    width: 400px;
    height: 400px;
    top: -150px;
    right: -120px;
}

#welcome::after {
    width: 300px;
    height: 300px;
    bottom: -120px;
    left: -100px;
}

#welcome div {
    position: relative;
    z-index: 1;
}

#welcome h1 {
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
}

#welcome .description {
    max-width: 750px;
}

#welcome .description p {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    color: #e7eef8;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 7%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5eaf0;
    box-shadow: 0 4px 20px rgba(15, 39, 71, 0.08);
}

header h1 {
    color: #0f2747;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

nav a {
    position: relative;
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.25s ease;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #1677c8;
    transition: width 0.25s ease;
}

nav a:hover {
    color: #1677c8;
}

nav a:hover::after {
    width: 100%;
}

section:not(#welcome) {
    width: min(1100px, 90%);
    margin: 0 auto;
    padding: 90px 0;
}

section:not(#welcome) h2 {
    padding-left: 20px;
    position: relative;
    margin-bottom: 35px;
    color: #0f2747;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
}

section:not(#welcome) h2::after {
    content: "";
    display: block;
    width: 55px;
    height: 4px;
    margin-top: 10px;
    border-radius: 10px;
    background: #1677c8;
}

#o-firmie {
    background: #ffffff;
    margin-top: 50px;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(15, 39, 71, 0.08);
}

#o-firmie ul {
    display: grid;
    gap: 15px;
    list-style: none;
}

#o-firmie li {
    position: relative;
    padding: 18px 20px 18px 55px;
    border-radius: 12px;
    background: #f5f8fc;
    color: #374151;
    font-weight: 500;
    transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

#o-firmie li::before {
    content: "✓";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: white;
    background: #1677c8;
    font-size: 0.8rem;
    font-weight: 800;
}

#o-firmie li:hover {
    transform: translateX(6px);
    background: #eef6ff;
    box-shadow: 0 8px 20px rgba(22, 119, 200, 0.1);
}


#dane {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px 50px;
    align-items: center;
    background: #eef4fa;
    padding: 70px 8%;
    border-radius: 20px;
}

#dane h2 {
    grid-row: span 4;
    margin-bottom: 0;
}

#dane p {
    padding: 16px 20px;
    background: white;
    border-left: 4px solid #1677c8;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(15, 39, 71, 0.05);
}

#dane strong,
#kontakt strong {
    color: #0f2747;
}

#kontakt {
    background: #ffffff;
    padding: 60px;
    margin-bottom: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(15, 39, 71, 0.08);
}

#kontakt p {
    padding-left: 20px;
    margin: 15px 0;
    font-size: 1.05rem;
}

#kontakt a {
    color: #1677c8;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

#kontakt a:hover {
    color: #0f2747;
    text-decoration: underline;
}

footer {
    padding: 30px 20px;
    text-align: center;
    color: #cbd5e1;
    background: #0b1f36;
}

footer p {
    font-size: 0.95rem;
}

@media (max-width: 800px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 18px 5%;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px 20px;
    }
    section:not(#welcome) {
        width: 92%;
        padding: 55px 0;
    }
    #o-firmie,
    #kontakt {
        padding: 35px 25px;
    }
    #dane {
        grid-template-columns: 1fr;
        padding: 40px 25px;
    }
    #dane h2 {
        grid-row: auto;
    }
}

@media (max-width: 500px) {
    #welcome h1 {
    font-size: 2.5rem;
    }
    #welcome .description p {
        font-size: 1rem;
    }
    header h1 {
        font-size: 1.5rem;
    }
    nav ul {
        gap: 10px 15px;
    }
    nav a {
        font-size: 0.9rem;
    }
    #o-firmie li {
        padding: 16px 15px 16px 50px;
    }
    #dane p {
        font-size: 0.95rem;
    }
}