
:root, [data-theme="light"] {
    --color-50: #FFFFFF;
    --color-100: #F9FAFB;
    --color-200: #F3F4F6;
    --color-300: #E5E7EB;
    --color-400: #D1D5DB;
    --color-500: #9CA3AF;
    --color-600: #6B7280;
    --color-700: #4B5563;
    --color-800: #374151;
    --color-950: #1F2937;
    --color-1000: #030712;
    --primary-blue: #2464ff;
    --primary-blue-hover: #1a4bbf;
    
    --shadow-neumorphic-1: #c4c6cb;
    --shadow-neumorphic-2: #ffffff;
    --bg-neumorphic: #e6e9ef;
    
    --nav-glass-bg: rgba(255, 255, 255, 0.7);
    --border-glass: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] {
    --color-50: #030712;
    --color-100: #111827;
    --color-200: #1F2937;
    --color-300: #374151;
    --color-400: #4B5563;
    --color-500: #6B7280;
    --color-600: #9CA3AF;
    --color-700: #E5E7EB;
    --color-800: #F3F4F6;
    --color-950: #F9FAFB;
    --color-1000: #FFFFFF;
    --primary-blue: #2464ff;
    --primary-blue-hover: #1a4bbf;

    --shadow-neumorphic-1: #090c13;
    --shadow-neumorphic-2: #192435;
    --bg-neumorphic: #111827;
    
    --nav-glass-bg: rgba(3, 7, 18, 0.7);
    --border-glass: rgba(255, 255, 255, 0.05);
}

body {
    background-color: var(--color-50);
    color: var(--color-700);
}

* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow-x: hidden;
    background: var(--color-50);
    color: var(--color-1000);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-blue-hover);
}

/* ===== ADVANCED NAVBAR ===== */

/* Stage - 3D perspective container */
.stage {
    perspective: 1000px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

/* Navbar card - main component */
.navbar-card {
    --mouse-x: 50%;
    --mouse-y: 50%;
    --scroll-velocity: 0;

    position: relative;
    width: 1100px;
    max-width: 92%;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    margin-top: 16px;
    background: rgba(17, 17, 17, 0.25);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border-radius: 16px;
    pointer-events: auto;
    transform: skewY(calc(var(--scroll-velocity) * 0.1deg));
    transform-origin: center center;
    transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
                height 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
                border-radius 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
                background 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
                margin-top 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
                padding 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
                transform 0.1s linear;
}

/* Frosted glass noise grain overlay */
.navbar-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0.035;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 128px 128px;
    z-index: 1;
}

/* Spotlight border effect using pseudo-element */
.navbar-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: radial-gradient(
        600px circle at var(--mouse-x) var(--mouse-y),
        rgba(255, 255, 255, 0.25),
        transparent 40%
    );
    -webkit-mask: linear-gradient(var(--color-50) 0 0) content-box, linear-gradient(var(--color-50) 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.navbar-card:hover::after {
    opacity: 1;
}

/* Scrolled state */
body.scrolled .navbar-card {
    width: fit-content;
    min-width: 600px;
    max-width: 95%;
    height: 52px;
    border-radius: 999px;
    margin-top: 8px;
    padding: 0 24px;
    background: rgba(17, 17, 17, 0.45);
    backdrop-filter: blur(60px) saturate(220%);
    -webkit-backdrop-filter: blur(60px) saturate(220%);
}

/* Brand container */
.brand-container {
    width: 160px;
    flex-shrink: 0;
    transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.scrolled .brand-container {
    width: 50px;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-50);
}

.brand-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.scrolled .brand-icon {
    transform: rotate(360deg);
}

.logo-text {
    font-weight: 600;
    font-size: 1.125rem;
    white-space: nowrap;
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), width 0.4s ease;
    width: auto;
}

body.scrolled .logo-text {
    opacity: 0;
    transform: translateX(-20px);
    width: 0;
    overflow: hidden;
}

/* Nav menu */
.nav-menu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    height: 40px;
}

.nav-link {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 999px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--color-50);
}

.nav-link.active {
    color: #2464ff !important;
    position: relative;
}

.nav-link.active::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    filter: blur(10px);
    z-index: -1;
    pointer-events: none;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 10px;
    box-shadow: 0 0 10px #2464ff, 0 0 20px rgba(36, 100, 255, 0.4);
    transition: width 0.3s ease;
    z-index: 1;
}

.nav-link.active:hover::after {
    width: 80%;
}

/* Magnetic pill indicator */
.nav-indicator {
    position: absolute;
    top: 4px;
    left: 5px;
    height: calc(100% - 8px);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    pointer-events: none;
    transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
                transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
                opacity 0.3s ease;
    opacity: 0;
}

/* Actions container */
.actions-container {
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: auto;
}

/* Premium button */
.btn-premium {
    padding: 10px 24px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-50);
    background: rgb(36, 100, 255);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-premium:hover {
    opacity: 0.85;
}

body.scrolled .btn-premium {
    background: rgb(36, 100, 255);
    border-radius: 999px;
    padding: 8px 20px;
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--color-50);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 85%;
    height: 100%;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(20px);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mobile-menu-overlay.active .mobile-menu {
    transform: translateX(0);
}

.mobile-close {
    align-self: flex-end;
    background: transparent;
    border: none;
    color: var(--color-50);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    margin-bottom: 16px;
}

.mobile-link {
    color: var(--color-50);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.mobile-link:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* ===== Hero & Video ===== */
.hero-section {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
    perspective: 1200px;
}

.hero-section .hero-content {
    position: relative;
    z-index: 3;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}



.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.5);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-50);
    max-width: 900px;
    padding: 0 2rem;
    pointer-events: auto;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
    animation: fadeInUp 0.8s ease 0.15s backwards;
}

.hero-button {
    display: inline-block;
    padding: 1.1rem 3rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff !important;
    background: var(--primary-blue);
    border: none;
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 10px 25px rgba(36, 100, 255, 0.25);
    letter-spacing: -0.01em;
    animation: fadeInUp 0.8s ease 0.3s backwards;
}

.hero-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(36, 100, 255, 0.35);
    opacity: 0.9;
}

.hero-button:active {
    transform: translateY(0);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== STACKED FULL-SCREEN SECTIONS ===== */
.section {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    /* 3D perspective context */
    perspective: 1200px;
}

/* Inner wrapper for 3D transforms driven by JS */
.section-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: center center;
    will-change: transform, opacity;
    overflow: visible;
}

/* Fade overlay at top and bottom of each section */
.section-fade {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 5;
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );
}

/* Section backgrounds & Stacking Order */
#hero { z-index: 10; }
#poznaj { z-index: 20; background-color: var(--color-50); }
#szkolenia { z-index: 30; background-color: var(--color-50); overflow: hidden; }
#zero { z-index: 40; background-color: var(--color-50) !important; }
#modules { z-index: 50; background-color: var(--color-100); }
#contact { z-index: 60; background-color: var(--bg-neumorphic); padding-top: 4rem; }



.section-content {
    position: relative;
    z-index: 4;
    max-width: 1200px;
    width: 100%;
    padding: 2rem;
}

.section-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-1000);
    line-height: 1.10;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.section-content p {
    font-family: 'Outfit', sans-serif;
    font-size: 1.125rem;
    font-weight: 300;
    color: var(--color-600);
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

/* Section Label */
.section-label {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-600);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2rem; /* Increased spacing */
    padding: 6px 16px;
    background: rgba(36, 36, 36, 0.06);
    border-radius: 999px;
}

/* Section Title */
.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-1000);
    line-height: 1.10;
    letter-spacing: -0.03em;
    margin-bottom: 2.5rem; /* Increased spacing from title */
}

/* Section Description */
.section-description {
    font-family: 'Outfit', sans-serif;
    font-size: 1.125rem;
    font-weight: 300;
    color: var(--color-600);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 50px; /* Adjusted spacing to 50px as requested */
}

/* Dual Perspective */
.dual-perspective {
    margin-bottom: 3rem;
}

.perspective-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-1000);
    margin-bottom: 2.5rem;
    line-height: 1.3;
}

/* Expert Cards */
.expert-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.expert-card {
    background: var(--color-50);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0px 1px 5px -4px rgba(19, 19, 22, 0.7),
                0px 0px 0px 1px rgba(34, 42, 53, 0.08),
                0px 4px 8px rgba(34, 42, 53, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expert-card:hover {
    transform: translateY(-4px);
    box-shadow: 0px 1px 5px -4px rgba(19, 19, 22, 0.7),
                0px 0px 0px 1px rgba(34, 42, 53, 0.12),
                0px 8px 24px rgba(34, 42, 53, 0.1);
}

.expert-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.25rem;
    color: var(--color-1000);
}

.expert-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-1000);
    margin-bottom: 0.25rem;
}

.expert-role {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-600);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.expert-bio {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--color-600);
    line-height: 1.6;
}

/* Section Mission */
.section-mission {
    font-family: 'Outfit', sans-serif;
    font-size: 1.125rem;
    font-weight: 300;
    color: var(--color-1000);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    padding: 1.5rem 2rem;
    background: rgba(36, 36, 36, 0.04);
    border-radius: 12px;
    border-left: 3px solid var(--color-1000);
    text-align: left;
}

/* Learn More Button */
/* Neumorphic Button Styles from button.md */
:root {
    --shadow-light: var(--color-50);
    --shadow-dark: #c8cfd9;
    --glow-color: rgba(0, 150, 255, 0.4);
    --accent-color: #00d2ff;
}

.contact-btn-wrapper {
    position: relative;
    display: inline-block;
    margin: 0 auto;
    padding-top: 50px; /* Added spacing from top */
}

.glow-effect {
    position: absolute;
    top: calc(50% + 25px); /* Adjusted to center on the button below 50px padding */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 80%;
    background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
    filter: blur(35px);
    z-index: 1;
    opacity: 0.8;
    pointer-events: none;
}

.glow-accent {
    position: absolute;
    top: 50px; /* Aligned with the top of the button */
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 4px;
    background: var(--accent-color);
    filter: blur(10px);
    z-index: 2;
    opacity: 0.6;
    border-radius: 50%;
}

.btn-learn-more {
    position: relative;
    z-index: 10;
    display: inline-block;
    padding: 18px 48px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
    background: var(--bg-neumorphic); /* Matching section background for neumorphism */
    text-decoration: none;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 12px 12px 25px var(--shadow-dark), 
                -12px -12px 25px var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.btn-learn-more:hover {
    transform: scale(1.05);
    box-shadow: 14px 14px 30px var(--shadow-dark), 
                -14px -14px 30px var(--shadow-light);
}

.btn-learn-more:active {
    box-shadow: inset 6px 6px 12px var(--shadow-dark), 
                inset -6px -6px 12px var(--shadow-light);
    transform: scale(0.985);
}

/* ===== BENTO GRID / MODULES ===== */
.section-modules .section-content {
    text-align: left;
}

.section-modules .section-title {
    text-align: center;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.bento-card {
    position: relative;
    background: var(--color-50);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0px 1px 5px -4px rgba(19, 19, 22, 0.7),
                0px 0px 0px 1px rgba(34, 42, 53, 0.08),
                0px 4px 8px rgba(34, 42, 53, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0px 1px 5px -4px rgba(19, 19, 22, 0.7),
                0px 0px 0px 1px rgba(34, 42, 53, 0.12),
                0px 8px 24px rgba(34, 42, 53, 0.1);
}

.card-icon {
    color: var(--color-1000);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(36, 36, 36, 0.06);
    border-radius: 12px;
}

.card-tag {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-1000);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.card-body {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--color-600);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.card-outcome {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(36, 36, 36, 0.04);
    border-radius: 12px;
    color: var(--color-1000);
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
}

.card-outcome svg {
    color: var(--color-1000);
    flex-shrink: 0;
}

.card-title-sm {
    font-family: 'Outfit', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-1000);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

/* Mission card - dark variant */
.card-mission {
    background: var(--color-1000);
    color: var(--color-50);
}

.card-mission .card-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-50);
}

.card-mission .card-tag {
    color: rgba(255, 255, 255, 0.5);
}

.card-mission .card-title {
    color: var(--color-50);
}

.card-mission .card-body {
    color: var(--nav-glass-bg);
}

.card-mission .card-outcome {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-50);
}

.card-mission .card-outcome svg {
    color: var(--color-50);
}

.card-mission .card-title-sm {
    color: var(--color-50);
}

/* Locality card */
.card-locality {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.04), rgba(236, 72, 153, 0.04));
}

/* ===== Contact Section ===== */
.section-contact {
    /* Background set in the main block above */
}

.section-contact .section-content {
    text-align: center;
}

/* Section placeholder generic */
.section-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-1000);
    line-height: 1.10;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.section-content p {
    font-family: 'Outfit', sans-serif;
    font-size: 1.125rem;
    font-weight: 300;
    color: var(--color-600);
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .btn-premium {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .navbar-card {
        width: calc(100% - 32px);
        height: 64px;
        padding: 0 16px;
    }

    body.scrolled .navbar-card {
        width: calc(100% - 32px);
        height: 56px;
    }

    .brand-container {
        width: auto !important;
    }

    body.scrolled .brand-container {
        width: auto !important;
    }

    .logo-text {
        display: none;
    }

    .brand-icon {
        width: 24px;
        height: 24px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-button {
        width: 100%;
        max-width: 320px;
    }

    .section-content h2 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .expert-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .expert-card {
        padding: 2rem 1.5rem;
    }

    .perspective-heading {
        font-size: 1.25rem;
    }

    .section-mission {
        font-size: 1rem;
        padding: 1.25rem 1.5rem;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .bento-card {
        padding: 2rem 1.5rem;
    }

    .card-title {
        font-size: 1.25rem;
    }

    .card-title-sm {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
    }

    /* Mobile: sections scrollable, not fixed 100vh */
    .section {
        position: relative;
        height: auto;
        min-height: 100vh;
    }

    .hero-section {
        position: relative;
        min-height: 100vh;
    }

    .section-inner {
        padding: 6rem 0 4rem;
        height: auto;
    }

    .section-content {
        padding: 1rem 0;
    }

    .bento-grid {
        padding-bottom: 2rem;
    }

    .scroll-spacer {
        height: 50vh;
    }

    .section-fade {
        -webkit-mask-image: linear-gradient(
            to bottom,
            transparent 0%,
            black 5%,
            black 95%,
            transparent 100%
        );
        mask-image: linear-gradient(
            to bottom,
            transparent 0%,
            black 5%,
            black 95%,
            transparent 100%
        );
    }
}

/* ===== CONTACT FORM OVERLAY ===== */
.contact-form-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 17, 17, 0.4);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.contact-form-overlay.active {
    opacity: 1;
    visibility: visible;
}

.contact-form-container {
    background: var(--bg-neumorphic);
    width: 500px;
    max-width: 90%;
    padding: 3rem;
    border-radius: 24px;
    position: relative;
    transform: translateY(50px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 20px 20px 60px #c8cfd9, -20px -20px 60px var(--color-50);
}

.contact-form-overlay.active .contact-form-container {
    transform: translateY(0) scale(1);
}

.form-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--color-600);
    cursor: pointer;
    transition: color 0.3s ease;
}

.form-close:hover {
    color: var(--color-1000);
}

.form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.form-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    color: var(--color-1000);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--color-600);
    font-weight: 300;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-1000);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 20px;
    background: var(--bg-neumorphic);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: #333;
    outline: none;
    box-shadow: inset 4px 4px 8px #c8cfd9, inset -4px -4px 8px var(--color-50);
    transition: box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    box-shadow: inset 6px 6px 12px #c8cfd9, inset -6px -6px 12px var(--color-50);
}

.form-group input:not(:placeholder-shown):valid,
.form-group textarea:not(:placeholder-shown):valid {
    box-shadow: inset 4px 4px 8px #c8cfd9, 
                inset -4px -4px 8px var(--color-50),
                0 0 15px rgba(0, 150, 255, 0.4);
    border-color: rgba(0, 150, 255, 0.5);
}

.form-group input:not(:placeholder-shown):invalid,
.form-group textarea:not(:placeholder-shown):invalid {
    box-shadow: inset 4px 4px 8px #c8cfd9, 
                inset -4px -4px 8px var(--color-50),
                0 0 15px rgba(255, 59, 48, 0.4);
    border-color: rgba(255, 59, 48, 0.5);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: var(--bg-neumorphic);
    border: none;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-1000);
    cursor: pointer;
    box-shadow: 8px 8px 16px #c8cfd9, -8px -8px 16px var(--color-50);
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 10px 10px 20px #c8cfd9, -10px -10px 20px var(--color-50);
}

.form-error-msg {
    display: none;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    background: var(--bg-neumorphic);
    font-size: 0.875rem;
    color: #e11d48;
    text-align: center;
    /* Neumorphic shading similar to the form but with red glow */
    box-shadow: inset 4px 4px 8px #c8cfd9, 
                inset -4px -4px 8px var(--color-50),
                0 0 15px rgba(255, 59, 48, 0.3);
    border: 1px solid rgba(255, 59, 48, 0.2);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn-submit:active {
    transform: translateY(0);
    box-shadow: inset 4px 4px 8px #c8cfd9, inset -4px -4px 8px var(--color-50);
}

/* ===== SECTION: ZERO DESIGN SHOWCASE ===== */
.section-zero {
    background-color: var(--color-50) !important; /* Lighter background as requested */
    z-index: 3;
    overflow: visible !important;
}

.zero-canvas {
    max-width: 1200px; /* Match rest of the sections */
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 5vw 2rem;
    margin: 0 auto; /* Center the container */
    position: relative;
    overflow: visible;
    font-family: 'Montserrat', sans-serif;
}

.zero-background-header {
    position: absolute;
    top: 5vw;
    left: 2rem; /* Aligned with container padding */
    z-index: 1;
    will-change: transform;
}

.zero-background-header h1 {
    font-size: clamp(3rem, 10vw, 7rem); /* Slightly smaller for container fit */
    font-weight: 800;
    line-height: 0.9;
    color: #f0f0f0; /* Even lighter watermark */
    letter-spacing: -0.04em;
    text-transform: none;
    margin: 0;
}

.zero-showcase {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 2vh 0; /* Reduced padding for better fit */
    perspective: 2000px;
    flex-grow: 1;
}

.zero-phone-mockup {
    position: relative;
    width: min(320px, 45vw); /* Slightly larger for better visibility */
    height: auto;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform;
}

.zero-phone-mockup img {
    width: 100%;
    height: auto;
    display: block;
    /* Clean shadows, no grey filter on image */
    filter: 
        drop-shadow(-10px 8px 10px rgba(0,0,0,0.04))
        drop-shadow(-20px 15px 20px rgba(0,0,0,0.06));
}

.zero-phone-mockup:hover {
    transform: translateY(-20px) scale(1.08) rotateY(-8deg);
    z-index: 15;
}

.zero-phone-mockup:hover img {
    filter: 
        drop-shadow(-15px 12px 15px rgba(0,0,0,0.06))
        drop-shadow(-30px 20px 30px rgba(0,0,0,0.10));
}

.zero-phone-left {
    margin-right: -80px;
    margin-top: 60px;
    z-index: 10;
}

.zero-phone-right {
    z-index: 12;
    width: min(384px, 54vw); /* 20% larger than 320px/45vw base */
}

.zero-info-footer {
    width: 100%;
    z-index: 20;
    padding-bottom: 2rem;
}

.zero-info-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    width: 100%;
}

.zero-info-title h2 {
    font-size: clamp(1.5rem, 3.5vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #000000;
    margin: 0;
    text-align: left;
}

.zero-info-credits {
    display: flex;
    gap: 60px;
    text-align: left;
}

.zero-credit-group {
    max-width: 320px;
}

.zero-credit-group h4 {
    font-size: 0.8rem;
    font-weight: 800;
    color: #000000;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.zero-credit-group p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--color-800); /* Slightly darker for better readability */
    margin-bottom: 4px;
}

.zero-bottom-bar {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    font-weight: 400;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.zero-bottom-bar b {
    color: #000;
}

/* Responsive adjustments for ZERO section */
@media (max-width: 768px) {
    .zero-canvas {
        padding: 5vw 1.5rem;
        height: auto;
        min-height: 100vh;
    }
    .zero-showcase {
        flex-direction: column;
        padding: 40px 0;
    }
    .zero-phone-left {
        margin-right: 0;
        margin-top: 0;
        margin-bottom: -120px;
        transform: scale(0.85);
    }
    .zero-phone-right {
        transform: scale(0.85);
    }
    .zero-info-credits {
        flex-direction: column;
        gap: 24px;
    }
    .zero-background-header h1 {
        font-size: 3.5rem;
    }
}


/* ===== POZNAJ SIEĆ INNOWACJI ===== */
.section-poznaj {
    --section-bg: var(--color-50);
    background: var(--color-50);
    z-index: 2;
}

.poznaj-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 900px) {
    .poznaj-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.poznaj-video-col {
    position: relative;
    width: 100%;
}

.video-thumbnail {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    aspect-ratio: 16/10;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}

.play-btn-glass {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-50);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    z-index: 2;
}

.play-btn-glass:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%) scale(1.1);
}

.poznaj-text-col {
    text-align: left;
}

/* Lightbox Styles */
.video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(11, 19, 43, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.video-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    width: 90%;
    max-width: 1000px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,0.4);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.video-lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 40px;
    color: var(--color-50);
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.lightbox-close:hover {
    color: #ccc;
}


/* ===== TRAINING / SZKOLENIA ===== */
.section-szkolenia {
    --section-bg: var(--color-100);
    background: var(--color-100);
    z-index: 4;
}

.card-training {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.training-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2rem;
    margin-bottom: auto; /* Pushes footer down to align elements */
}

.training-pills .pill {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: #4a4a4a;
    background: rgba(0, 0, 0, 0.04);
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid var(--border-glass);
}

.training-footer {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.training-price {
    font-size: 2.2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--color-1000);
    line-height: 1;
}

.training-price span {
    font-size: 0.95rem;
    font-weight: 500;
    color: #10b981;
    text-transform: uppercase;
    vertical-align: middle;
    margin-left: 8px;
}


/* Mobile layout for the direct contact form */
@media (max-width: 900px) {
    .contact-direct-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    .contact-alt-data {
        padding-left: 0 !important;
        border-left: none !important;
        padding-top: 2rem;
        border-top: 2px solid var(--border-glass);
    }
}


/* ===== FOOTER ===== */
.main-footer {
    background-color: var(--color-50);
    padding: 8rem 2rem 2rem;
    position: relative;
    z-index: 10;
    text-align: center;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-cta {
    margin-bottom: 5rem;
}

.footer-cta-link {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-50);
    background-color: rgb(36, 100, 255);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 18px 48px;
    border-radius: 999px;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.footer-cta-link .arrow {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.footer-cta-link:hover {
    color: var(--color-50);
    background-color: #1a4bbf;
    transform: translateY(-2px);
}

.footer-cta-link:hover .arrow {
    transform: translateX(12px);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 5rem;
    flex-wrap: wrap;
}

.footer-nav a {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-600); /* Slate Light */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--color-1000);
}

.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-glass);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-1000);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .footer-bottom-bar {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .footer-nav {
        gap: 1.5rem;
        flex-direction: column;
    }
}

/* ==========================================================================
   PODSTRONA: O NAS
   ========================================================================== */
.hero-about { position: relative; min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 150px 24px 80px; overflow: hidden; z-index: 1; }
.hero-video-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-overlay-dark { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(180deg, rgba(3, 7, 18, 0.7) 0%, rgba(3, 7, 18, 0.4) 100%); z-index: -1; }
.hero-about .hero-content { max-width: 1000px; text-align: center; opacity: 0; transform: translateY(30px); animation: fadeInHero 1s ease forwards; position: relative; z-index: 2; }
.hero-about .section-label { background: var(--bg-neumorphic); border: 1px solid var(--border-glass); color: var(--color-1000); box-shadow: 4px 4px 10px var(--shadow-neumorphic-1), -4px -4px 10px var(--color-50); }

@keyframes fadeInHero { to { opacity: 1; transform: translateY(0); } }
.timeline-container { position: relative; max-width: 800px; margin: 4rem auto 0; padding: 2rem 0; }
.timeline-container::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--color-300); transform: translateX(-50%); }
.timeline-item { position: relative; margin-bottom: 4rem; width: 100%; display: flex; justify-content: center; opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.timeline-item.visible { opacity: 1; transform: translateY(0); }
.timeline-dot { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 20px; height: 20px; background: rgb(36, 100, 255); border: 4px solid var(--color-50); border-radius: 50%; z-index: 2; box-shadow: 0 0 0 4px rgba(36, 100, 255, 0.2); }
.timeline-content { width: 45%; padding: 2rem; background: var(--color-50); border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); position: relative; text-align: left; }
.timeline-item:nth-child(odd) .timeline-content { margin-right: auto; margin-left: 0; }
.timeline-item:nth-child(even) .timeline-content { margin-left: auto; margin-right: 0; }
.timeline-content h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--color-1000); }
.timeline-content p { color: var(--color-700); font-size: 1.1rem; line-height: 1.6; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 3rem; margin-top: 4rem; }
.glass-card { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--border-glass); border-radius: 24px; padding: 3rem 2rem; text-align: left; position: relative; overflow: hidden; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05); transition: transform 0.4s ease; }
[data-theme="dark"] .glass-card { background: rgba(17, 17, 17, 0.4); }
.glass-card:hover { transform: translateY(-10px); }
.team-name { font-size: 2rem; font-weight: 700; color: var(--color-1000); margin-bottom: 0.25rem; }
.team-role { font-size: 1.1rem; color: rgb(36, 100, 255); font-weight: 500; margin-bottom: 1.5rem; }
.team-desc { color: var(--color-700); line-height: 1.7; margin-bottom: 2rem; }
.human-touch { padding-top: 1.5rem; border-top: 1px solid var(--color-300); font-size: 0.95rem; color: var(--color-600); line-height: 1.6; font-style: italic; }
.values-list { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 800px; margin: 4rem auto 0; text-align: left; }
.value-item { display: flex; align-items: flex-start; gap: 1.5rem; padding: 2rem; background: var(--color-50); border-radius: 16px; box-shadow: 10px 10px 20px var(--shadow-neumorphic-1), -10px -10px 20px var(--color-50); opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.value-item.visible { opacity: 1; transform: translateY(0); }
.value-icon { flex-shrink: 0; width: 48px; height: 48px; color: rgb(36, 100, 255); }
.value-text h4 { font-size: 1.5rem; color: var(--color-1000); margin-bottom: 0.75rem; }
.value-text p { color: var(--color-700); line-height: 1.6; }
.bts-container { overflow: hidden; width: 100%; height: 60vh; min-height: 400px; position: relative; background: var(--color-1000); display: flex; align-items: center; }
.bts-overlay-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 10; text-align: center; color: #fff; width: 90%; max-width: 800px; pointer-events: none; }
.bts-overlay-text h2 { font-size: clamp(2rem, 5vw, 4rem); margin-bottom: 1rem; text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); }
.bts-overlay-text p { font-size: 1.2rem; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); line-height: 1.6; }
.bts-track { display: flex; gap: 2rem; padding: 0 50vw; will-change: transform; }
.bts-item { width: 400px; height: 250px; flex-shrink: 0; border-radius: 12px; overflow: hidden; opacity: 0.6; transition: opacity 0.3s ease, transform 0.3s ease; }
.bts-item:hover { opacity: 1; transform: scale(1.05); }
.bts-item img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   PODSTRONA: SZKOLENIA
   ========================================================================== */
.hero-szkolenia { position: relative; min-height: 50vh; display: flex; align-items: center; justify-content: center; padding: 150px 24px 80px; background: linear-gradient(180deg, var(--color-50) 0%, var(--color-100) 100%); z-index: 1; text-align: center; }
.hero-szkolenia .hero-content { max-width: 900px; opacity: 0; transform: translateY(30px); animation: fadeInHero 1s ease forwards; }
.hero-szkolenia h1 { color: var(--color-1000); font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; margin-bottom: 1.5rem; font-weight: 700; }
.trainings-container { max-width: 1200px; margin: 0 auto; padding: 0 24px 100px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.training-card { background: rgba(255, 255, 255, 0.5); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--border-glass); border-radius: 24px; padding: 2.5rem; display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.training-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08); }
.training-card.full-width { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 3rem; background: var(--color-100); border: 1px solid rgba(36, 100, 255, 0.3); box-shadow: 0 0 40px rgba(36, 100, 255, 0.1); position: relative; overflow: hidden; }
.card-tag { display: inline-block; font-size: 0.85rem; font-weight: 600; padding: 6px 12px; border-radius: 8px; margin-bottom: 1.5rem; letter-spacing: 0.05em; text-transform: uppercase; }
.tag-free { background: rgba(36, 100, 255, 0.1); color: var(--primary-blue); }
.tag-paid { background: rgba(236, 72, 153, 0.1); color: #ec4899; }
.tag-paid-2 { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.tag-paid-3 { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.training-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 2rem; }
.training-pill { background: var(--color-200); color: var(--color-800); font-size: 0.8rem; font-weight: 500; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--color-300); }
.training-price { font-size: 2rem; font-weight: 700; color: var(--color-1000); margin-bottom: 1rem; }
.btn-reserve { display: inline-block; width: 100%; text-align: center; padding: 14px 24px; font-weight: 600; color: var(--color-50); background: rgb(36, 100, 255); border: none; border-radius: 12px; text-decoration: none; transition: all 0.3s ease; }
.btn-reserve:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(36, 100, 255, 0.3); }

/* ==========================================================================
   PODSTRONA: KONTAKT
   ========================================================================== */
.contact-page-container { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 150px 24px 80px; background: linear-gradient(135deg, var(--color-50) 0%, var(--bg-neumorphic) 100%); position: relative; }
.contact-grid { max-width: 1200px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.contact-info { opacity: 0; transform: translateX(-30px); animation: slideInLeft 1s ease forwards; }
.contact-info h1 { color: var(--color-1000); font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; margin-bottom: 2rem; font-weight: 700; }
.contact-details { font-family: 'Montserrat', sans-serif; display: flex; flex-direction: column; gap: 2rem; }
.contact-item h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-500); margin-bottom: 0.5rem; font-weight: 600; }
.contact-item a, .contact-item span { color: var(--color-1000); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; text-decoration: none; transition: color 0.3s ease; }
/* ==========================================================================
   GLOBAL NEUMORPHIC FORMS (SIMPLIFIED & ESTHETIC)
   ========================================================================== */

.contact-form-neumorphic {
    background: var(--color-50);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--color-200);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.form-group-neumorphic {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.form-group-neumorphic label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-800);
    padding-left: 0.2rem;
    font-family: 'Outfit', sans-serif;
}

.input-neumorphic {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
    color: var(--color-1000);
    background: var(--color-100);
    border: 1px solid var(--color-300) !important;
    border-radius: 14px;
    box-shadow: none;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
}

.input-neumorphic:focus {
    border-color: var(--primary-blue) !important;
    background: var(--color-50);
    box-shadow: 0 0 0 4px rgba(36, 100, 255, 0.1);
}

.input-neumorphic::placeholder {
    color: var(--color-400);
}

.btn-submit-neumorphic {
    width: 100%;
    margin-top: 1rem;
    padding: 20px 30px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #FFFFFF;
    background: var(--primary-blue);
    border: none;
    border-radius: 14px;
    box-shadow: 0 10px 20px rgba(36, 100, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    text-transform: none;
    font-family: 'Outfit', sans-serif;
}

.btn-submit-neumorphic:hover {
    background: var(--primary-blue-hover);
    box-shadow: 0 15px 30px rgba(36, 100, 255, 0.3);
    transform: translateY(-2px);
}

.btn-submit-neumorphic:active {
    transform: translateY(0);
}

.form-microcopy {
    display: block;
    margin-top: 1.2rem;
    text-align: center;
    color: var(--color-500);
    font-size: 0.85rem;
    font-weight: 400;
}
@keyframes slideInLeft { to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { to { opacity: 1; transform: translateX(0); } }

/* ==========================================================================
   LOGO MARQUEE (UCZYMY NA NARZĘDZIACH)
   ========================================================================== */
.marquee-section {
    padding: 80px 0;
    background: var(--color-50);
    overflow: hidden;
    position: relative;
}

.marquee-title {
    text-align: center;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-500);
    margin-bottom: 50px;
    font-weight: 700;
}

.marquee-container {
    display: flex;
    width: fit-content;
    animation: marquee 40s linear infinite;
    gap: 60px;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px 30px;
}

.logo-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

.logo-item img {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.logo-item span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-1000);
    letter-spacing: -0.02em;
    font-family: 'Montserrat', sans-serif;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

[data-theme="dark"] .logo-item {
    opacity: 0.35;
}

[data-theme="dark"] .logo-item:hover {
    opacity: 1;
}

/* Gradients for smooth fade out on edges */
.marquee-section::before,
.marquee-section::after {
    content: '';
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-section::before {
    left: 0;
    background: linear-gradient(to right, var(--color-50) 0%, transparent 100%);
}

.marquee-section::after {
    right: 0;
    background: linear-gradient(to left, var(--color-50) 0%, transparent 100%);
}

/* ==========================================================================
   MOBILE RESPONSIVENESS FIXES
   ========================================================================== */

@media (max-width: 992px) {
    .trainings-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Global */
    .section-inner {
        padding: 0 16px;
        display: block !important; /* Switch from flex to block on mobile */
        width: 100% !important;
    }

    /* O nas */
    .hero-about {
        padding: 120px 20px 60px;
        min-height: auto;
    }
    .hero-about .hero-content {
        max-width: 100%;
    }
    .hero-about .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }
    .timeline-container::before {
        left: 20px;
    }
    .timeline-dot {
        left: 20px;
        transform: translateX(-50%);
    }
    .timeline-content {
        width: calc(100% - 60px) !important;
        margin-left: 60px !important;
        margin-right: 0 !important;
        padding: 1.5rem;
    }
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .glass-card {
        padding: 2rem 1.5rem;
    }
    .values-list {
        padding: 0 10px;
    }
    .value-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    /* Szkolenia */
    .hero-szkolenia {
        padding: 120px 20px 60px;
        min-height: auto;
    }
    .trainings-container {
        grid-template-columns: 1fr !important;
        padding: 40px 20px !important;
    }
    .training-card {
        width: 100% !important;
        margin: 0 auto;
        box-sizing: border-box;
    }
    .training-card.full-width {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 2rem;
        padding: 2.5rem 1.5rem !important;
        height: auto !important;
    }
    .training-card.full-width .card-content {
        width: 100%;
        text-align: center;
    }
    .training-card.full-width .card-action {
        width: 100%;
        flex-direction: column;
        display: flex;
        align-items: center;
        gap: 1.5rem;
        padding-top: 2rem;
        border-top: 1px solid var(--border-glass);
    }
    .training-card.full-width .training-pills {
        justify-content: center;
    }

    /* Kontakt */
    .contact-page-container {
        padding: 120px 20px 60px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .contact-info h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    .contact-form-glass {
        padding: 2.5rem 1.5rem;
    }
    .contact-item a, .contact-item span {
        font-size: 1.25rem;
    }

    /* Marquee edges */
    .marquee-section::before,
    .marquee-section::after {
        width: 80px;
    }
    .marquee-title {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .btn-premium {
        display: none; /* Hide premium button in small mobile navbar */
    }
    .logo-text {
        font-size: 0.9rem;
    }
    .footer-cta-link {
        padding: 14px 30px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
    .training-price {
        font-size: 1.85rem;
    }
}
