﻿/* =========================
   Reset + base
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", sans-serif;
    background: #f4f4f4;
    color: #333;
}

/* =========================
   Nav
========================= */
nav {
    background: #0d1b2a;
    padding: 15px 0;
    display: flex;
    justify-content: center;
    position: relative;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

.nav-left, .nav-center, .nav-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.nav-left {
    justify-content: flex-start;
    flex: 2;
}

.nav-center {
    justify-content: center;
    flex: 2;
}

.nav-right {
    justify-content: flex-end;
    flex: 2;
}

.logo-button {
    display: inline-block;
}

    .logo-button img {
        height: 80px;
        width: auto;
        display: block;
    }

.menu-toggle {
    font-size: 30px;
    background: none;
    color: #fff;
    border: none;
    display: none;
    cursor: pointer;
}

#nav-list {
    list-style: none;
    display: flex;
    gap: 20px;
}

    #nav-list li a {
        white-space: nowrap;
        color: #fff;
        text-decoration: none;
        font-weight: 700;
        padding: 8px 12px;
        transition: background 0.3s;
    }

        #nav-list li a:hover {
            background: #1e324e;
            border-radius: 6px;
        }

/* =========================
   Common: Buttons
========================= */
.cta-button {
    display: inline-block;
    background: #007bff;
    color: #fff !important;
    padding: 14px 26px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    box-shadow: 0 4px 12px rgba(0,123,255,0.28);
    text-align: center;
}

    .cta-button:hover {
        background: #0056b3;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,123,255,0.38);
    }

    .cta-button.secondary {
        background: transparent;
        border: 2px solid #fff;
        box-shadow: none;
    }

        .cta-button.secondary:hover {
            background: #fff;
            color: #0d1b2a !important;
        }

    .cta-button.large {
        font-size: 1.15rem;
        padding: 18px 40px;
    }

/* =========================
   Hero (base)
========================= */
.hero {
    height: 70vh;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fff;
    margin-bottom: 40px;
}

/* Logo hero (index) */
.hero-logo {
    height: 70vh;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain; /* całe logo widoczne */
}



/* Hero main (index) */
.hero.hero-main {
    min-height: 70vh;
    height: auto;
    background-size: cover;
    background-position: center;
    background-color: #0d1b2a;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay for tiles (default) */
.overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    text-align: center;
    padding: 20px;
}

    .overlay h2 {
        margin: 0;
        font-size: 1.5em;
    }

/* Index hero overlay = centered card */
.hero-overlay {
    position: relative;
    width: min(920px, 92%);
    border-radius: 18px;
    padding: 26px 18px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    text-align: center;
    margin: 0 auto;
}

.hero-actions {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

    .hero-actions .cta-button {
        width: 100%;
        max-width: 320px;
    }

/* =========================
   Oferta hero
========================= */
.hero-offer {
    position: relative;
    height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

    .hero-offer::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.5);
    }

.offer-overlay {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 2rem;
}

    .offer-overlay h1 {
        font-size: 3rem;
        margin: 0 0 1rem;
    }

    .offer-overlay p {
        font-size: 1.5rem;
        margin: 0 0 2rem;
    }

/* =========================
   Grids / tiles
========================= */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.service-slide {
    position: relative;
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    cursor: pointer;
}

    .service-slide:hover {
        transform: scale(1.03);
    }

/* =========================
   Oferta: benefits + CTA section
========================= */
.benefits {
    background: #f8f9fa;
    padding: 60px 20px;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.benefits h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit h3 {
    color: #007bff;
    margin-bottom: 0.5rem;
}

.benefit p {
    color: #666;
    font-size: 1.1rem;
}

.cta-section {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
}

    .cta-section h2 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

/* =========================
   Index sections helpers (jeśli używasz)
========================= */
.benefits-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

    .benefit-card:hover {
        transform: translateY(-10px);
    }

    .benefit-card .icon {
        font-size: 4rem;
        margin-bottom: 20px;
    }

    .benefit-card h3 {
        color: #0d1b2a;
        margin-bottom: 15px;
    }

.timeline {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 30px;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.step-number {
    background: linear-gradient(45deg, #00b4db, #0083b0);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(0,180,219,0.4);
}

.step h3 {
    color: #0d1b2a;
    margin-bottom: 10px;
}

/* =========================
   Footer
========================= */
footer {
    background: #0d1b2a;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 60px;
}

/* =========================
   Responsive
========================= */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    #nav-list {
        display: none;
        flex-direction: column;
        background: #0d1b2a;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        z-index: 10;
    }

        #nav-list.active {
            display: flex;
        }

        #nav-list li {
            text-align: center;
            padding: 10px 0;
        }

    .logo-button img {
        height: 40px;
    }

    .hero-logo {
        height: 45vh;
        margin-bottom: 20px;
    }

    .hero.hero-main {
        min-height: 60vh;
        margin-bottom: 20px;
    }

    .hero-overlay {
        padding: 18px 14px;
        border-radius: 16px;
    }

    .offer-overlay {
        padding: 1.5rem;
    }

        .offer-overlay h1 {
            font-size: 2rem;
        }

        .offer-overlay p {
            font-size: 1.2rem;
        }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px auto;
    }

    .timeline {
        flex-direction: column;
        align-items: stretch;
        padding: 0 12px;
    }

    .step {
        min-width: unset;
        width: 100%;
        padding: 14px 10px;
        background: #fff;
        border-radius: 14px;
        box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    }

    .step-number {
        width: 52px;
        height: 52px;
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .offer-overlay h1 {
        font-size: 1.7rem;
    }

    .offer-overlay p {
        font-size: 1.05rem;
    }
}
/* =========================
   Index: section title + process spacing
========================= */
.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
}

.process-section {
    padding: 80px 20px;
}

/* Na mobile mniejsze tytuły i mniejszy padding */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 28px;
    }

    .process-section {
        padding: 60px 16px;
    }
}
/* =========================
   Simple pages (info/kontakt)
========================= */
.page-section {
    padding: 70px 20px;
}

.page-card {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 32px 26px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

    .page-card h1 {
        font-size: 2.2rem;
        margin-bottom: 14px;
        color: #0d1b2a;
    }

    .page-card p {
        color: #555;
        line-height: 1.55;
        margin-bottom: 10px;
    }

.page-list {
    margin-top: 10px;
    padding-left: 18px;
    color: #555;
}

    .page-list li {
        margin: 10px 0;
        line-height: 1.45;
    }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 18px;
}

.contact-item {
    background: #f8f9fa;
    border-radius: 14px;
    padding: 16px;
}

    .contact-item h3 {
        margin-bottom: 8px;
        color: #0d1b2a;
        font-size: 1.05rem;
    }

    .contact-item a {
        color: #007bff;
        text-decoration: none;
        font-weight: 600;
    }

        .contact-item a:hover {
            text-decoration: underline;
        }

@media (max-width: 768px) {
    .page-section {
        padding: 50px 16px;
    }

    .page-card {
        padding: 22px 16px;
    }

        .page-card h1 {
            font-size: 1.7rem;
        }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}





/* =========================
   O nas: proces (bez plików arrow_.png)
========================= */
.process-tiles {
    max-width: 1200px;
    margin: 30px auto 80px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Jeśli nie masz .service-tile w czystym CSS, dodaj to.
   Jeśli już masz – możesz pominąć ten fragment. */
.service-tile {
    position: relative;
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

    .service-tile:hover {
        transform: scale(1.02);
    }

/* Strzałka jako element CSS */
.flow-arrow {
    height: 44px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .flow-arrow::before {
        content: "";
        width: min(520px, 70%);
        height: 6px;
        border-radius: 999px;
        background: linear-gradient(90deg, rgba(0,180,219,0.25), rgba(0,131,176,0.85));
    }

    .flow-arrow::after {
        content: "";
        position: absolute;
        right: 15%;
        width: 0;
        height: 0;
        border-left: 14px solid rgba(0,131,176,0.85);
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
    }

/* Mobile */
@media (max-width: 768px) {
    .process-tiles {
        gap: 14px;
        margin-bottom: 60px;
    }

    .service-tile {
        height: 220px;
    }

    .flow-arrow::before {
        width: 85%;
    }

    .flow-arrow::after {
        right: 7%;
    }
}



/* Credly embeds grid */
.badges-embed-grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    justify-items: center;
}

    .badges-embed-grid > div {
        display: flex;
        justify-content: center;
    }

/* =========================
   Certyfikaty i uprawnienia (brakowało w Twoim CSS)
========================= */
.certs-section {
    padding: 70px 20px;
}

.certs-card {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 32px 26px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

    .certs-card h2 {
        font-size: 2.2rem;
        color: #0d1b2a;
        margin-bottom: 10px;
        text-align: center;
    }

    .certs-card .subtitle {
        text-align: center;
        color: #555;
        margin-bottom: 26px;
        line-height: 1.5;
    }

.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    align-items: start;
}

.cert-item {
    background: #f8f9fa;
    border-radius: 14px;
    padding: 16px;
}

    .cert-item h3 {
        color: #0d1b2a;
        margin-bottom: 8px;
        font-size: 1.1rem;
    }

    .cert-item p {
        color: #555;
        line-height: 1.45;
        margin-bottom: 10px;
    }

.cert-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 8px;
}

    .cert-links a {
        color: #007bff;
        text-decoration: none;
        font-weight: 700;
    }

        .cert-links a:hover {
            text-decoration: underline;
        }

/* Credly embeds – stabilny layout (nadpisuje Twoje, ale działa lepiej) */
.badges-embed-grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 18px;
    justify-items: center;
    align-items: start;
}

    .badges-embed-grid > div {
        width: 170px;
        min-height: 270px;
    }

/* Mobile */
@media (max-width: 768px) {
    .certs-section {
        padding: 50px 16px;
    }

    .certs-card {
        padding: 22px 16px;
    }

        .certs-card h2 {
            font-size: 1.7rem;
        }

        .certs-card .subtitle {
            margin-bottom: 16px;
        }

    .badges-embed-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

        .badges-embed-grid > div {
            width: 160px;
            min-height: 270px;
        }
}
