/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: #ffffff;
    color: #071a38;

    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}


/* =========================
   VARIABLES
========================= */

:root {

    --navy: #071a38;
    --navy-light: #102b52;
    --blue: #174a87;

    --white: #ffffff;

    --light: #f4f7fb;

    --border: #dce4ef;

    --text: #516174;

    --container: 1200px;

    --transition: 0.3s ease;
}


/* =========================
   GENERAL
========================= */

.container {

    width:
        min(var(--container),
            calc(100% - 48px));

    margin: 0 auto;
}

.section {
    padding: 120px 0;
}

.eyebrow {

    display: inline-block;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 0.18em;

    text-transform: uppercase;

    color: var(--blue);

    margin-bottom: 18px;
}


.section-heading {
    max-width: 650px;
}

.section-heading h2,
.about-content h2,
.monograph-text h2,
.support-box h2,
.tax-box h2,
.statute-content h2,
.donation-box h2 {

    font-size:
        clamp(38px,
            5vw,
            68px);

    line-height: 1.05;

    letter-spacing: -0.04em;

    margin-bottom: 24px;
}


.section-heading h2 span,
.about-content h2 span,
.monograph-text h2 span,
.support-box h2 span,
.tax-box h2 span,
.statute-content h2 span,
.donation-box h2 span {

    color: #7190b4;
}


.section-heading p {

    color: var(--text);

    font-size: 17px;
}


/* =========================
   HEADER
========================= */

.header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background:
        rgba(255,
            255,
            255,
            0.94);

    backdrop-filter: blur(15px);

    border-bottom:
        1px solid rgba(7,
            26,
            56,
            0.08);
}

.nav {

    height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.logo {

    display: flex;

    align-items: center;

    gap: 12px;

    font-weight: 900;

    letter-spacing: 0.08em;
}


.logo-placeholder {

    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    background: var(--navy);

    color: white;

    font-size: 9px;

    font-weight: 800;
}


.nav-menu {

    display: flex;

    align-items: center;

    gap: 30px;
}


.nav-menu a {

    font-size: 14px;

    font-weight: 600;

    transition: var(--transition);
}


.nav-menu a:hover {

    color: var(--blue);
}


.nav-menu a.active {

    color: var(--blue);
}


.nav-button {

    background: var(--navy);

    color: white !important;

    padding: 13px 21px;
}


.nav-button:hover {

    background: var(--blue);
}


/* =========================
   MOBILE MENU
========================= */

.menu-toggle {

    display: none;

    border: none;

    background: none;

    cursor: pointer;
}


.menu-toggle span {

    display: block;

    width: 25px;

    height: 2px;

    margin: 5px;

    background: var(--navy);

    transition: var(--transition);
}


/* =========================
   HERO
========================= */

.hero {

    position: relative;

    min-height: 100vh;

    display: flex;

    align-items: center;

    overflow: hidden;
}


.hero-background {

    position: absolute;

    right: -250px;

    top: 100px;

    width: 700px;

    height: 700px;

    border-radius: 50%;

    background:
        radial-gradient(circle,
            #dbe8f7 0%,
            #eef4fa 45%,
            transparent 70%);
}


.hero-content {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        1fr 0.8fr;

    gap: 80px;

    align-items: center;
}


.hero-text {

    padding-top: 80px;
}


.hero-text h1 {

    font-size:
        clamp(55px,
            8vw,
            105px);

    line-height: 0.95;

    letter-spacing: -0.06em;

    max-width: 850px;

    margin-bottom: 30px;
}


.hero-text h1 span {

    display: block;

    color: #718baa;
}


.hero-text p {

    max-width: 620px;

    color: var(--text);

    font-size: 18px;

    margin-bottom: 38px;
}


.hero-buttons {

    display: flex;

    gap: 14px;

    flex-wrap: wrap;
}


.button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 52px;

    padding:
        0 26px;

    font-size: 14px;

    font-weight: 800;

    border:
        1px solid transparent;

    transition: var(--transition);

    cursor: pointer;
}


.button-primary {

    background: var(--navy);

    color: white;
}


.button-primary:hover {

    background: var(--blue);

    transform: translateY(-2px);
}


.button-outline {

    border-color: var(--navy);

    color: var(--navy);

    background: transparent;
}


.button-outline:hover {

    background: var(--navy);

    color: white;
}


.button-white {

    background: white;

    color: var(--navy);
}


.button-white:hover {

    transform: translateY(-2px);
}


.button-outline-white {

    background: transparent;

    color: white;

    border: 2px solid rgba(255, 255, 255, 0.5);
}


.button-outline-white:hover {

    background: rgba(255, 255, 255, 0.1);

    transform: translateY(-2px);
}


.footer-cta {

    display: flex;

    flex-direction: column;

    gap: 14px;

    justify-content: center;
}


.footer-cta-btn {

    font-weight: 700;

    width: 100%;

    text-align: center;
}


/* HERO VISUAL */

.hero-visual {

    display: flex;

    justify-content: center;
}


.hero-card {

    width:
        min(420px,
            100%);

    aspect-ratio: 1 / 1;

    background: var(--navy);

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    position: relative;

    box-shadow:
        30px 30px 0 #d9e3ef;
}


.hero-card-logo {

    width: 150px;

    height: 150px;

    border:
        2px solid white;

    display: grid;

    place-items: center;

    color: white;

    font-weight: 900;

    letter-spacing: 0.1em;
}


.hero-card-lines {

    position: absolute;

    bottom: 45px;

    width: 120px;
}


.hero-card-lines span {

    display: block;

    height: 1px;

    background: white;

    margin: 8px 0;
}


.scroll-indicator {

    position: absolute;

    bottom: 35px;

    left: 50%;

    transform: translateX(-50%);

    font-size: 9px;

    letter-spacing: 0.2em;

    font-weight: 800;

    display: flex;

    align-items: center;

    gap: 10px;
}


.scroll-indicator span {

    width: 30px;

    height: 1px;

    background: var(--navy);
}


/* =========================
   SEGMENTS
========================= */

.segments {

    padding: 130px 0;

    background: var(--light);
}


.segment-grid {

    display: grid;

    grid-template-columns:
        repeat(4,
            1fr);

    gap: 1px;

    margin-top: 65px;

    background: var(--border);
}


.segment-card {

    background: white;

    min-height: 390px;

    padding: 32px;

    position: relative;

    display: flex;

    flex-direction: column;

    transition: var(--transition);
}


.segment-card:hover {

    background: var(--navy);

    color: white;

    transform: translateY(-8px);
}


.segment-number {

    font-size: 12px;

    font-weight: 800;

    color: #7d92ac;
}


.segment-icon {

    position: absolute;

    top: 30px;

    right: 30px;

    font-size: 30px;
}


.segment-card h3 {

    margin-top: auto;

    font-size: 25px;

    line-height: 1.1;

    margin-bottom: 18px;
}


.segment-card p {

    color: var(--text);

    font-size: 14px;

    margin-bottom: 25px;
}


.segment-card:hover p {

    color: #bdcce0;
}


.segment-link {

    font-size: 12px;

    font-weight: 800;
}


/* =========================
   ABOUT
========================= */

.two-columns {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 100px;

    align-items: center;
}


.about-visual {

    position: relative;
}


.about-placeholder {

    aspect-ratio: 1 / 1.05;

    background:
        linear-gradient(135deg,
            #dce7f3,
            #edf3f9);

    display: grid;

    place-items: center;

    color: #8296af;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 0.15em;
}


.floating-info {

    position: absolute;

    right: -30px;

    bottom: 30px;

    background: var(--navy);

    color: white;

    padding:
        25px 30px;

    display: flex;

    flex-direction: column;
}


.floating-info strong {

    font-size: 35px;
}


.floating-info span {

    font-size: 11px;

    color: #aebfd3;
}


.about-content p {

    color: var(--text);

    margin-bottom: 20px;
}


.text-link {

    display: inline-block;

    margin-top: 15px;

    font-weight: 800;

    font-size: 14px;

    border-bottom:
        1px solid currentColor;

    padding-bottom: 5px;

    transition: var(--transition);
}


.text-link:hover {

    color: var(--blue);
}


/* =========================
   DARK SECTION
========================= */

.dark-section {

    background: var(--navy);

    color: white;
}


.dark-section .eyebrow {

    color: #9eb9d8;
}


.dark-section .section-heading p {

    color: #aebed2;
}


/* =========================
   SERVICES
========================= */

.services-grid {

    display: grid;

    grid-template-columns:
        repeat(4,
            1fr);

    gap: 1px;

    margin-top: 70px;

    background: #29415f;
}


.services-grid--5 {

    grid-template-columns: repeat(5, 1fr);
}


.service-card {

    min-height: 350px;

    padding: 35px;

    border:
        1px solid #29415f;

    display: flex;

    flex-direction: column;

    transition: var(--transition);
}


.service-card:hover {

    background: #102b52;
}


.service-number {

    color: #7894b5;

    font-size: 12px;

    font-weight: 800;
}


.service-card h3 {

    margin-top: auto;

    font-size: 25px;

    margin-bottom: 15px;
}


.service-card p {

    color: #9fb1c6;

    font-size: 14px;
}


.service-card a {

    margin-top: 25px;

    font-size: 25px;
}


/* =========================
   INITIATIVES
========================= */

.section-top {

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 60px;
}


.section-description {

    max-width: 400px;

    color: var(--text);

    margin-bottom: 10px;
}


.initiative-grid {

    display: grid;

    grid-template-columns:
        1.5fr 1fr;

    gap: 35px;

    margin-top: 70px;
}


.initiative-card {

    border:
        1px solid var(--border);

    background: white;

    transition: var(--transition);
}


.initiative-card:hover {

    transform: translateY(-7px);

    box-shadow:
        0 20px 50px rgba(7,
            26,
            56,
            0.08);
}


.initiative-card.large {

    grid-row: span 2;
}


.initiative-image {

    min-height: 250px;

    background:
        linear-gradient(135deg,
            #dbe6f1,
            #f1f5f9);

    display: grid;

    place-items: center;

    color: #8297b0;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.15em;
}


.initiative-card.large .initiative-image {

    min-height: 430px;
}


.initiative-content {

    padding: 30px;
}


.initiative-category {

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.15em;

    color: var(--blue);
}


.initiative-content h3 {

    font-size: 27px;

    line-height: 1.15;

    margin:
        12px 0;
}


.initiative-content p {

    color: var(--text);

    font-size: 14px;
}


/* =========================
   STATUTE
========================= */

.statute {

    background: white;
}


.statute-box {

    display: grid;

    grid-template-columns:
        1.2fr 0.8fr;

    gap: 80px;

    align-items: center;
}


.statute-content p {

    color: var(--text);

    max-width: 600px;

    margin-bottom: 30px;
}


.document-placeholder {

    min-height: 350px;

    background: var(--light);

    border:
        1px solid var(--border);

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 10px;
}


.document-icon {

    width: 100px;

    height: 120px;

    display: grid;

    place-items: center;

    background: var(--navy);

    color: white;

    font-weight: 900;

    margin-bottom: 10px;
}


.document-placeholder span {

    color: var(--text);

    font-size: 13px;
}


/* =========================
   MONOGRAPH
========================= */

.monograph {

    background: var(--light);
}


.monograph-box {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

    align-items: center;
}


.monograph-text p {

    color: var(--text);

    margin-bottom: 30px;
}


.book-placeholder {

    display: flex;

    justify-content: center;
}


.book {

    width: 270px;

    height: 390px;

    background: var(--navy);

    color: white;

    padding: 35px;

    display: flex;

    flex-direction: column;

    box-shadow:
        25px 25px 0 #d5dfeb;

    transform: rotate(4deg);
}


.book span {

    font-size: 10px;

    letter-spacing: 0.15em;
}


.book strong {

    margin-top: auto;

    font-size: 40px;

    line-height: 0.95;
}


.book small {

    margin-top: 30px;
}


/* =========================
   COOPERATION
========================= */

.cooperation-layout {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 100px;

    align-items: center;
}


.cooperation-content {

    max-width: 550px;
}


.cooperation-content p {

    color: #aebed2;

    margin-bottom: 20px;
}


.cooperation-content .button {

    margin-top: 20px;
}


/* =========================
   SUPPORT
========================= */

.support-box {

    background: #eaf1f8;

    padding: 70px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 50px;
}


.support-box h2 {

    margin-bottom: 15px;
}


.support-box p {

    color: var(--text);

    max-width: 600px;
}


.support-actions {

    display: flex;

    flex-direction: column;

    gap: 12px;

    min-width: 230px;
}


/* =========================
   DONATION
========================= */

.donation {

    background: white;
}


.donation-box {

    display: grid;

    grid-template-columns:
        1fr 0.7fr;

    gap: 70px;

    align-items: center;
}


.donation-box p {

    color: var(--text);

    max-width: 650px;
}


.bank-details {

    padding: 35px;

    background: var(--navy);

    color: white;

    display: flex;

    flex-direction: column;

    gap: 10px;
}


.bank-details span {

    font-size: 10px;

    letter-spacing: 0.15em;

    color: #8ba5c3;
}


.bank-details strong {

    font-size: 20px;

    letter-spacing: 0.04em;

    word-break: break-word;
}


.bank-details small {

    color: #9eb0c4;
}


/* =========================
   1,5% PODATKU
========================= */

.tax-section {

    background: var(--light);
}


.tax-box {

    background: var(--navy);

    color: white;

    padding: 65px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 50px;
}


.tax-box h2 {

    margin-bottom: 20px;
}


.tax-box p {

    max-width: 650px;

    color: #b4c3d5;
}


.tax-krs {

    min-width: 250px;

    padding: 30px;

    border:
        1px solid #3a506c;

    display: flex;

    flex-direction: column;

    gap: 8px;
}


.tax-krs span {

    font-size: 10px;

    letter-spacing: 0.15em;

    color: #8ba5c3;
}


.tax-krs strong {

    font-size: 28px;

    letter-spacing: 0.05em;
}


/* =========================
   CONTACT
========================= */

.contact {

    background: white;
}


.contact-grid {

    display: grid;

    grid-template-columns:
        0.8fr 1.2fr;

    gap: 100px;
}


.contact-info h2 {

    font-size:
        clamp(42px,
            5vw,
            65px);

    line-height: 1;

    margin-bottom: 25px;
}


.contact-info>p {

    color: var(--text);

    margin-bottom: 50px;
}


.contact-details {

    display: flex;

    flex-direction: column;

    gap: 25px;
}


.contact-details div {

    display: flex;

    flex-direction: column;
}


.contact-details span {

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.15em;

    color: #7890aa;

    margin-bottom: 4px;
}


.contact-details a {

    font-weight: 700;
}


.contact-details p {

    color: var(--text);
}


.contact-form {

    padding: 50px;

    border:
        1px solid var(--border);

    background: var(--light);
}


.form-row {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 20px;
}


.form-group {

    display: flex;

    flex-direction: column;

    margin-bottom: 22px;
}


.form-group label {

    font-size: 12px;

    font-weight: 800;

    margin-bottom: 8px;
}


.form-group input,
.form-group textarea {

    width: 100%;

    border:
        1px solid var(--border);

    background: white;

    padding:
        14px 16px;

    outline: none;

    resize: vertical;

    transition: var(--transition);
}


.form-group input:focus,
.form-group textarea:focus {

    border-color: var(--navy);
}


.checkbox {

    display: flex;

    gap: 10px;

    align-items: flex-start;

    margin-bottom: 25px;

    font-size: 12px;

    color: var(--text);
}


.checkbox input {

    margin-top: 4px;
}


.form-message {

    margin-top: 15px;

    font-size: 13px;

    font-weight: 700;
}


/* =========================
   FOOTER
========================= */

.footer {

    background: #041329;

    color: white;

    padding:
        80px 0 30px;
}


.footer-top {

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1fr;

    gap: 50px;

    padding-bottom: 70px;

    border-bottom:
        1px solid #263a55;
}


.footer-brand p {

    color: #8ea2ba;

    max-width: 300px;

    margin-top: 20px;
}


.footer-column {

    display: flex;

    flex-direction: column;

    gap: 10px;
}


.footer-column h4 {

    margin-bottom: 10px;

    font-size: 12px;

    letter-spacing: 0.1em;

    text-transform: uppercase;
}


.footer-column a {

    color: #8ea2ba;

    font-size: 14px;

    transition: var(--transition);
}


.footer-column a:hover {

    color: white;
}


.footer-details {

    display: grid;

    grid-template-columns:
        repeat(4,
            1fr);

    gap: 25px;

    padding: 40px 0;

    border-bottom:
        1px solid #263a55;
}


.footer-details div {

    display: flex;

    flex-direction: column;
}


.footer-details strong {

    font-size: 10px;

    letter-spacing: 0.1em;

    color: #7189a5;

    margin-bottom: 6px;
}


.footer-details span {

    font-size: 13px;

    color: #aebed2;
}


.footer-bottom {

    display: flex;

    justify-content: space-between;

    gap: 30px;

    padding-top: 25px;

    font-size: 11px;

    color: #7189a5;
}


.footer-bottom strong {

    color: #aebed2;
}


/* =========================
   BACK TO TOP
========================= */

.back-to-top {

    position: fixed;

    right: 25px;

    bottom: 25px;

    width: 45px;

    height: 45px;

    border: none;

    background: var(--navy);

    color: white;

    cursor: pointer;

    opacity: 0;

    pointer-events: none;

    transform: translateY(15px);

    transition: var(--transition);

    z-index: 500;
}


.back-to-top.visible {

    opacity: 1;

    pointer-events: auto;

    transform: translateY(0);
}


/* =========================
   ANIMATIONS
========================= */

.reveal {

    opacity: 0;

    transform: translateY(30px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}


.reveal.visible {

    opacity: 1;

    transform: translateY(0);
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {

    .nav-menu {
        gap: 18px;
    }


    .segment-grid,
    .services-grid {

        grid-template-columns:
            repeat(2,
                1fr);
    }


    .hero-content {

        grid-template-columns: 1fr;
    }


    .hero-visual {

        display: none;
    }


    .hero-text {

        padding-top: 100px;
    }


    .two-columns,
    .statute-box,
    .monograph-box,
    .cooperation-layout,
    .donation-box,
    .contact-grid {

        grid-template-columns: 1fr;

        gap: 60px;
    }


    .initiative-grid {

        grid-template-columns: 1fr;
    }


    .initiative-card.large {

        grid-row: auto;
    }


    .support-box {

        flex-direction: column;

        align-items: flex-start;
    }


    .support-actions {

        flex-direction: row;

        flex-wrap: wrap;
    }


    .footer-top {

        grid-template-columns:
            1fr 1fr;
    }


    .footer-details {

        grid-template-columns:
            1fr 1fr;
    }
}


@media (max-width: 760px) {

    .container {

        width:
            min(var(--container),
                calc(100% - 32px));
    }


    .section {

        padding: 80px 0;
    }


    .menu-toggle {

        display: block;

        z-index: 1001;
    }


    .nav-menu {

        position: fixed;

        top: 82px;

        left: 0;

        width: 100%;

        background: white;

        padding: 30px 25px;

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;

        transform:
            translateY(-150%);

        transition: var(--transition);

        box-shadow:
            0 20px 40px rgba(0,
                0,
                0,
                0.08);
    }


    .nav-menu.active {

        transform:
            translateY(0);
    }


    .segment-grid,
    .services-grid {

        grid-template-columns: 1fr;
    }


    .segment-card {

        min-height: 300px;
    }


    .hero {

        min-height: 850px;
    }


    .hero-text h1 {

        font-size: 60px;
    }


    .section-top {

        flex-direction: column;

        align-items: flex-start;
    }


    .support-box,
    .tax-box {

        padding:
            40px 25px;
    }


    .tax-box {

        flex-direction: column;

        align-items: flex-start;
    }


    .tax-krs {

        width: 100%;
    }


    .contact-form {

        padding: 25px;
    }


    .form-row {

        grid-template-columns: 1fr;
    }


    .footer-top,
    .footer-details {

        grid-template-columns: 1fr;
    }


    .footer-bottom {

        flex-direction: column;
    }


    .floating-info {

        right: 10px;
    }
}


@media (max-width: 450px) {

    .hero-text h1 {

        font-size: 50px;
    }


    .button {

        width: 100%;
    }


    .hero-buttons {

        flex-direction: column;
    }


    .support-actions {

        flex-direction: column;

        width: 100%;
    }


    .book {

        width: 230px;

        height: 330px;
    }
}