/* ===== PODSTAWOWE STYLE ===== */
:root {
    --primary-color: #1A2364;
    --secondary-color: #6A78C1;
    --accent-color: #3A4494;
    --text-color: #2A3374;
    --text-light: #6A78C1;
    --light-color: #EEEBFE;
    --dark-color: #1A2364;
    --success-color: #3A4494;
    --border-color: #D5D1F6;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-dark: linear-gradient(135deg, #1A2364, #3A4494);
    --box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 1rem = 10px */
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

.container {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

p {
    margin-bottom: 1.5rem;
}

section {
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* ===== KLASY NARZĘDZIOWE ===== */
.text-center {
    text-align: center;
}

.lead-text {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

/* ===== BUTTONS ===== */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow: 0 4px 14px 0 rgba(0, 112, 243, 0.39);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 112, 243, 0.5);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: rgba(0, 112, 243, 0.1);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--text-color);
    color: var(--text-color);
}

.btn-outline:hover {
    background: var(--text-color);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.5rem 3rem;
    font-size: 1.8rem;
}

/* ===== TŁO ANIMOWANE ===== */
.particle-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.4;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.85) 100%);
    z-index: -1;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
}

#logo-img {
    height: 4.5rem;
    transition: all 0.3s ease;
    object-fit: contain;
}

.navbar.scrolled #logo-img {
    height: 3.5rem;
}
/* Styl dla linku w logo */
.logo a {
    display: inline-flex;
    text-decoration: none;
}

.logo a:hover {
    opacity: 0.9;
}
.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-menu li a:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu li a:hover, 
.nav-menu li.active a {
    color: var(--primary-color);
}

.nav-menu li a:hover:after, 
.nav-menu li.active a:after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 2.5rem;
    height: 2rem;
    cursor: pointer;
}
/* Animacja przycisku hamburger */
.nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.nav-toggle.active {
    z-index: 1010;
    position: relative;
}
.nav-toggle span {
    height: 2px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}
/* Responsywność - style mobilne */
@media (max-width: 768px) {
    .navbar .container {
        padding: 1rem 1.5rem;
    }
    
    .logo {
        z-index: 1010;
    }
    
    #logo-img {
        height: 4.5rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        padding: 8rem 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    
    .nav-menu li a {
        display: block;
        padding: 1rem;
        font-size: 1.8rem;
    }
    
    .nav-menu li a:after {
        bottom: 0;
        width: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .nav-menu li a:hover:after,
    .nav-menu li.active a:after {
        width: 50%;
    }
}
@media (max-width: 768px) {
    /* Wyłączamy standardowy hover na kartach dla urządzeń mobilnych */
    .service-card:hover .card-hover {
        opacity: 0;
        transform: translateY(100%);
        z-index: -1;
    }
    
    /* Styl dla aktywnych kart (otwartych po kliknięciu) */
    .service-card .card-hover[style*="opacity: 1"] {
        opacity: 1 !important;
        transform: translateY(0) !important;
        z-index: 2 !important;
    }
    
    /* Dodajemy wskaźnik kliknięcia dla kart na urządzeniach mobilnych */
    .service-card {
        cursor: pointer;
    }
}
/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    min-height: 70rem;
    display: flex;
    align-items: center;
    padding-top: 8rem;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 60rem;
}

.animated-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
}

.tech-title, .tech-subtitle, .highlight-text {
    opacity: 0;
    transform: translateY(20px);
    display: inline-block;
}

.tech-title {
    font-weight: 700;
    color: var(--primary-color);
}

.highlight-text {
    color: var(--accent-color);
    font-weight: 700;
}

.tech-subtitle {
    font-weight: 400;
    font-size: 2.4rem;
    color: var(--text-light);
}

.hero-text {
    font-size: 1.8rem;
    margin-bottom: 3rem;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.tech-illustration {
    position: relative;
    width: 100%;
    height: 40rem;
}

.illustration-element {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.robot-arm {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTYgMjU2Ij48cGF0aCBmaWxsPSIjMDA3MGYzIiBkPSJNMTkyIDQwQzE2NS41IDQwIDE0NCA2MS41IDE0NCA4OGMwIDYuMSAxLjIgMTEuOSAzLjMgMTcuMkw4My45IDEzNS4zQzczLjIgMTI2LjcgNTkuNSAxMjIgNDUgMTIyYy0zOC40IDAtNjkgMzEuNS02OSA3MHYyYzAgNS41IDQuNSAxMCAxMCAxMHMxMC00LjUgMTAtMTB2LTJjMC0yNy42IDIyLTQ5IDQ5LTQ5YzE4LjkgMCAzNS44IDExLjQgNDMuMiAyOGwtMjEuMyAxMy4yQzYyLjkgMTgwLjQgNTQgMTgyLjEgNDMgMTgyLjFjLTUuNSAwLTEwIDQuNS0xMCAxMHM0LjUgMTAgMTAgMTBjMTUuNCAwIDI4LjctMi44IDQ0LjEtMTFsMTEuMS03LjFjNi4zIDEwLjUgMTguMSAxNS45IDMwLjIgMTQuMiAyMy4yLTMuNCAxOS43LTI3LjkgMTkuNy0yOS45IDAtNS41IDIuNy0xMS45IDcuMS0xNS4zbDI4LjEtMjEuOEMxOTEuNCAxMzYuNSAyMDAgMTQ1LjQgMjAwIDE1NnYxMGMwIDUuNSA0LjUgMTAgMTAgMTBzMTAtNC41IDEwLTEwdi0xMGMwLTIwLTE0LjYtMzcuMS0zNC4yLTQwLjNMMjEwIDk0LjdjOC4yLTUuNyAxNC0xNC45IDE0LTI1LjdjMC01LjMtMS43LTEwLjEtNC40LTE0LjNsMjYuMy0xLjRjMi44LTAuMiA1LjItMS43IDYuNS00LjFzMS4xLTUuMi0wLjQtNy41bC0xMC00Yy0xLjctMS4zLTMuOS0xLjgtNi0xLjRsLTM0LjYgMS45QzE5Ny4xIDQxLjUgMTk0LjYgNDAgMTkyIDQwem0wIDIwYzE1LjUgMCAyOCAxMi41IDI4IDI4cy0xMi41IDI4LTI4IDI4cy0yOC0xMi41LTI4LTI4UzE3Ni41IDYwIDE5MiA2MHptLTExMi4xIDg3LjFsMzIuMi0xNmMxMSAxNC43IDI4LjYgMjQuMiA0OC41IDI0LjJoMi4xbC0yNi4xIDIwLjJjLTkuMyA3LjItMTQuNSAxOS0xNC41IDMxLjJjLTAuNi0wLjQtMS4xLTAuOS0xLjUtMS41bC01LjItOC41Yy0xLjQtMi4zLTMuOC0zLjctNi41LTMuN0g3NHYtOC45QzczLjkgMTY3LjggNzkuMSAxNTUuOSA3OS45IDE0Ny4xeiIvPjwvc3ZnPg==');
    animation: float 4s ease-in-out infinite;
}

.circuit {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTYgMjU2Ij48cGF0aCBmaWxsPSIjNzkyOGNhIiBkPSJNNjYgMUwxIDY2djEyNGw2NSA2NWgxMjRsNjUtNjVWNjZMMTkwIDFINjZ6bTkgMjBoMTA2bDU1IDU1djEwNGwtNTUgNTVINzVsLTU1LTU1Vjc2bDU1LTU1em01MyA5QzkxLjIgMzAgNjUgNTYuMiA2NSA4OWMwIDI1LjYgMTguNiA3MC40IDE4LjYgNzAuNCAxLjUgMy4yIDYgMy4yIDcuNSAwIDAgMCAxOC45LTQ0LjggMTguOS03MC40QzExMC4xIDU2LjIgODMuOCAzMCAxMjguMSAzMHpNNzQgODlDNzQgNzAgODYgNTQgMTAxIDU0YzE1LjUgMCAyOCAxNi41IDI4IDM1YzAgMTEuMS00LjEgMjctOC4yIDM5LjVDMTE2LjYgMTE2LjEgMTAxIDg5IDc0IDg5eiIvPjwvc3ZnPg==');
    opacity: 0.5;
    animation: pulse 3s ease-in-out infinite alternate;
}

.pulse {
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background-image: radial-gradient(circle, rgba(0,112,243,0.2) 0%, rgba(0,112,243,0) 70%);
    animation: pulse-wave 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

@keyframes pulse {
    0% { opacity: 0.3; transform: scale(0.95); }
    100% { opacity: 0.6; transform: scale(1.05); }
}

@keyframes pulse-wave {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.2; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.7;
    font-size: 1.4rem;
    animation: fade-bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
}

@keyframes fade-bounce {
    0%, 100% { transform: translateY(0) translateX(-50%); opacity: 0.5; }
    50% { transform: translateY(10px) translateX(-50%); opacity: 1; }
}
/* Styl dla przycisków przewijania w sekcjach */
.section-scroll {
    position: relative;
    bottom: -8rem;
    cursor: pointer;
    margin-top: 4rem;
}

.section-scroll:hover {
    opacity: 1;
}
/* Nowe style dla obrazu robota - dodać do stylu.css */
.robot-image-container {
    position: relative;
    width: 100%;
    height: 40rem;
    display: flex;
    align-items: flex-start; /* Zmiana z center na flex-start */
    justify-content: center;
    margin-top: -8rem;
}

.robot-image {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    opacity: 0.85; /* Lekka przezroczystość */
    filter: drop-shadow(0 0 15px rgba(26, 35, 100, 0.3)); /* Delikatny cień dla lepszego efektu */
    animation: robot-pulse 3s ease-in-out infinite alternate; /* Animacja pulsowania */
}

@keyframes robot-pulse {
    0% { 
        opacity: 0.75;
        transform: scale(0.97);
    }
    100% { 
        opacity: 0.9;
        transform: scale(1.03);
    }
}

/* ===== HERO STATS ===== */
.hero-stats {
    display: flex;
    justify-content: space-between;
    max-width: 400px;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    position: relative;
}

.stat-number:after {
    content: '+';
    position: absolute;
    font-size: 2rem;
    top: 0;
    right: -15px;
}

.stat-label {
    font-size: 1.3rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* ===== ABOUT SECTION ===== */
.about-brief {
    background-color: rgba(249, 250, 251, 1);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 3.6rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.image-wrapper {
    position: relative;
    height: 40rem;
    background: var(--gradient-dark);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.tech-element {
    position: absolute;
    background-color: var(--primary-color);
}

.element-1 {
    top: 20%;
    left: 10%;
    width: 30%;
    height: 50%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTYgMjU2Ij48cGF0aCBmaWxsPSJ3aGl0ZSIgZD0iTTU1IDMwQzQxLjcgMzAgMzEgNDAuNyAzMSA1NGMwIDEzLjMgMTAuNyAyNCAyNCAyNHMyNC0xMC43IDI0LTI0Qzc5IDQwLjcgNjguMyAzMCA1NSAzMHptMTQ2IDMwYy0xMy4zIDAtMjQgMTAuNy0yNCAyNGMwIDEzLjMgMTAuNyAyNCAyNCAyNHMyNC0xMC43IDI0LTI0Yy01MCAwLTYzLTEwLjctNDgtMjR6TTY1IDExOGMtMTQuMyAwLTI2IDExLjctMjYgMjZ2MjRjMCAxNC4zIDExLjcgMjYgMjYgMjZoMTI2YzE0LjMgMCAyNi0xMS43IDI2LTI2di0yNGMwLTE0LjMtMTEuNy0yNi0yNi0yNkg2NXptMzAgMjZoNjZjNS41IDAgMTAgNC41IDEwIDEwcy00LjUgMTAtMTAgMTBIOTVjLTUuNSAwLTEwLTQuNS0xMC0xMHM0LjUtMTAgMTAtMTB6Ii8+PC9zdmc+');
    background-size: cover;
    background-position: center;
    animation: fade-in-out 6s infinite alternate;
}

.element-2 {
    top: 30%;
    right: 5%;
    width: 40%;
    height: 40%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTYgMjU2Ij48cGF0aCBmaWxsPSIjMDBjOGZmIiBkPSJNMTI4IDBDNTcuMzA4IDAgMCA1Ny4zMDggMCAxMjhzNTcuMzA4IDEyOCAxMjggMTI4YzcwLjY5MiAwIDEyOC01Ny4zMDggMTI4LTEyOFMxOTguNjkyIDAgMTI4IDB6bTAgNDhjMTcuNjczIDAgMzIgMTQuMzI3IDMyIDMycy0xNC4zMjcgMzItMzIgMzJjLTE3LjY3MyAwLTMyLTE0LjMyNy0zMi0zMnMxNC4zMjctMzIgMzItMzJ6bTAgMjA4Yy0zOS43NjUgMC03NC4zNzctMjEuMzI0LTkzLjYwNy01My4xMjFDNTEuNzYgMTg3LjcyNCA5MC4xMzYgMTc2IDEyOCAxNzZjMzcuODY0IDAgNzYuMjQgMTEuNzI0IDkzLjYwNyAyNi44NzlDMjAyLjM3NyAyMzQuNjc2IDE2Ny43NjUgMjU2IDEyOCAyNTZ6Ii8+PC9zdmc+');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
    animation: slide-in 4s infinite alternate;
}

.element-3 {
    bottom: 15%;
    left: 20%;
    width: 60%;
    height: 30%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTYgMjU2Ij48cGF0aCBmaWxsPSJ3aGl0ZSIgZD0iTTIwNiAxOEg1MGMtMTcuNyAwLTMyIDE0LjMtMzIgMzJ2MTU2YzAgMTcuNyAxNC4zIDMyIDMyIDMyaDE1NmMxNy43IDAgMzItMTQuMyAzMi0zMlY1MGMwLTE3LjctMTQuMy0zMi0zMi0zMnptLTM0IDg3aC0yOHYtMjhoMjh2Mjh6bS01NiAwSDg4di0yOGgyOHYyOHptLTU2IDBoLTI4di0yOGgyOHYyOHoiLz48L3N2Zz4=');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8;
    animation: rotate 8s infinite linear;
}

@keyframes fade-in-out {
    0% { opacity: 0.4; }
    100% { opacity: 0.9; }
}

@keyframes slide-in {
    0% { transform: translateX(20px); }
    100% { transform: translateX(-20px); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== PROGRESS BARS ===== */
.tech-progress {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.progress-bar {
    margin-bottom: 2rem;
}

.progress-title {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.bar {
    background-color: rgba(0, 0, 0, 0.1);
    height: 0.8rem;
    border-radius: 2rem;
    overflow: hidden;
    position: relative;
}

.progress {
    height: 100%;
    width: 0;
    background: var(--gradient-primary);
    border-radius: 2rem;
    transition: width 1.5s ease;
    position: relative;
}

.progress-value {
    position: absolute;
    right: 0;
    top: 0;
    transform: translateY(-100%);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* ===== SERVICES SECTION ===== */
.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-title {
    font-size: 3.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.section-subtitle {
    font-size: 1.8rem;
    color: var(--text-light);
    max-width: 60rem;
    margin: 0 auto 2rem;
}

.title-decoration {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.title-decoration span {
    height: 0.4rem;
    border-radius: 2px;
}

.title-decoration span:nth-child(1) {
    background-color: var(--primary-color);
    width: 2rem;
}

.title-decoration span:nth-child(2) {
    background-color: var(--secondary-color);
    width: 4rem;
}

.title-decoration span:nth-child(3) {
    background-color: var(--accent-color);
    width: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
    gap: 3rem;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    height: 30rem;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    background: var(--gradient-primary);
    margin: 0 auto 2rem;  /* Ta zmiana wyśrodkowuje ikonę */
    transition: all 0.5s ease;
}

.card-icon i {
    font-size: 3rem;
    color: white;
}
.custom-icon {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Sprawia, że ikona będzie biała */
}

.service-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    text-align: center;  /* Ta zmiana wyśrodkowuje tytuł */
}

.service-card p {
    color: var(--text-light);
    transition: all 0.3s ease;
    font-size: 1.5rem;  /* Mniejszy rozmiar czcionki dla lepszego dopasowania */
    line-height: 1.5;   /* Optymalny odstęp między wierszami */
    text-align: center;  /* Środkowanie tekstu opisu */
    display: -webkit-box;
    -webkit-line-clamp: 4;  /* Maksymalnie 3 linie tekstu */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s ease;
    transform: translateY(100%);
    padding: 3rem;
    z-index: -1;
}

.hover-content {
    color: white;
}

.hover-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    display: block; /* Zmiana z -webkit-box na block */
    -webkit-line-clamp: unset; /* Usunięcie limitu linii */
    overflow: visible; /* Pozwala na wyświetlenie całego tekstu */
    text-align: left; /* Wyrównanie do lewej dla lepszej czytelności */
}

.hover-content ul {
    list-style-type: disc;
    padding-left: 2rem;
}

.hover-content ul li {
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
}

.service-card:hover .card-hover {
    opacity: 1;
    transform: translateY(0);
    z-index: 2;
}

/* ===== WORKFLOW ===== */
.workflow {
    background-color: var(--light-color);
    position: relative;
}

.workflow:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MDAiIGhlaWdodD0iNjAwIj48cGF0aCBkPSJNMTguNCA4NS43ODV2MjAuNDA2aDIwLjQwNnYtMjAuNDA2em01NC40MjIgMHYyMC40MDZoNDAuODEydi0yMC40MDZ6bTc0LjgyOCAwdjIwLjQwNmg1NC40MTZ2LTIwLjQwNnptODguNDM4IDB2MjAuNDA2aDc0LjgyMnYtMjAuNDA2em0xMDguODQ0IDB2MjAuNDA2aDIwLjQwNnYtMjAuNDA2em01NC40MjIgMHYyMC40MDZoMjAuNDA2di0yMC40MDZ6bTU0LjQyMiAzNC4wMXYyMC40MDZoMjAuNDA2di0yMC40MDZ6bS00MDguMTY2IDEzLjYwNHYyMC40MDZoMjAuNDA2di0yMC40MDZ6bTEyOS4yNSAyMC40MDZ2MjAuNDA2aDI3LjIwOHYtMjAuNDA2em05NS4yNDQgMHYyMC40MDZoMjAuNDA2di0yMC40MDZ6bTEyOS4yNSAyMC40MDZ2MjAuNDA2aDIwLjQwNnYtMjAuNDA2em0tMzUzLjc0NCA2LjgwMnYyMC40MDZoMjAuNDA2di0yMC40MDZ6bTEyOS4yNSAwdjIwLjQwNmg1NC40MTZ2LTIwLjQwNnptMTI5LjI1IDB2MjAuNDA2aDc0LjgyMnYtMjAuNDA2em0xMjkuMjUgMjcuMjA4djIwLjQwNmgyMC40MDZ2LTIwLjQwNnptLTM0Ni45NDIgNi44MDJ2MjAuNDA2aDIwLjQwNnYtMjAuNDA2em0xMjkuMjUgMjAuNDA2djIwLjQwNmgyNy4yMDh2LTIwLjQwNnptNjguMDIgMHYyMC40MDZoMjcuMjA4di0yMC40MDZ6bTEzNi4wNTIgMHYyMC40MDZoMzQuMDF2LTIwLjQwNnptLTI3My45MDYgMjAuNDA2djIwLjQwNmgyMC40MDZ2LTIwLjQwNnptMTI5LjI1IDB2MjAuNDA2aDIwLjQwNnYtMjAuNDA2em0xNjMuMjYgMHYyMC40MDZoMjAuNDA2di0yMC40MDZ6IiBmaWxsLW9wYWNpdHk9Ii4xIiBmaWxsPSIjNzkyOGNhIi8+PC9zdmc+');
    opacity: 0.15;
    z-index: 1;
}

.workflow .container {
    position: relative;
    z-index: 2;
}

.workflow-steps {
    position: relative;
    max-width: 80rem;
    margin: 0 auto;
    padding-left: 50px; /* Dodajemy odstęp z lewej strony */
}

.workflow-progress {
    position: absolute;
    left: 20px !important;
    top: 0;
    bottom: 0;
    width: 2px;
    height: 100%; /* Zapewnia pełną wysokość */
    z-index: 1; /* Ustawia warstwę */
}

.progress-line {
    width: 100%;
    height: 0%;
    background: var(--gradient-primary);
    transition: height 0.8s ease;
    position: absolute; /* Dodajemy absolutne pozycjonowanie */
}

.workflow-step {
    display: flex;
    margin-bottom: 5rem;
    position: relative;
    align-items: flex-start; /* Elementy wyrównane do góry */
}

.step-number {
    width: 5rem;
    height: 5rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-color), 0 0 0 10px rgba(0, 112, 243, 0.1);
    margin-right: 3rem;
    margin-left: -1rem !important; /* Przesuwamy na linię */
    flex-shrink: 0;
    position: relative; /* Dodajemy pozycjonowanie */
    z-index: 3; /* Nad linią */
    transition: all 0.3s ease;
}

.step-content {
    padding-top: 0.5rem;
    flex-grow: 1; /* Pozwala na rozciągnięcie */
    min-width: 0; /* Zapobiega wychodzeniu poza kontener */
}

.step-content h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}
/* Dodaj ten kod po bloku .step-content h3 */
.step-content p {
    color: var(--text-color) !important; /* Wymuszamy kolor */
    opacity: 1 !important; /* Wymuszamy pełną widoczność */
    visibility: visible !important; /* Wymuszamy widoczność */
    display: block !important; /* Wymuszamy wyświetlanie */
    transform: none !important; /* Usuwamy potencjalne transformacje */
    position: relative; /* Zapewniamy kontekst stosu */
    z-index: 5; /* Wyższy z-index niż inne elementy */
    background: none; /* Usuwamy tło */
    max-width: 100%; /* Pełna szerokość */
    font-weight: normal; /* Normalna grubość czcionki */
}

/* Upewnij się, że tekst jest widoczny nawet w stanie hover */
.workflow-step:hover .step-content p {
    color: var(--text-color) !important;
    opacity: 1 !important;
}

/* Upewnij się, że animacje AOS nie ukrywają tekstu */
[data-aos] .step-content p {
    opacity: 1 !important;
    transform: none !important;
}
.workflow-step:hover .step-number {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 0 2px white, 0 0 0 10px rgba(0, 112, 243, 0.2);
}

/* ===== CTA SECTION ===== */
.cta {
    background: linear-gradient(135deg, #1A2364, #3A4494);
    color: white;
    text-align: center;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.cta:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MDAiIGhlaWdodD0iNjAwIj48cGF0aCBkPSJNMCAwdjQwLjM1NDhMNjAwIDYwMGgtNDIuNzA3TDAgMHoiIGZpbGwtb3BhY2l0eT0iLjA1IiBmaWxsPSIjZmZmIi8+PC9zdmc+');
    z-index: 0;
}

.cta:after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 3.6rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.cta p {
    font-size: 1.8rem;
    max-width: 60rem;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

/* ===== FOOTER ===== */
/* ===== FOOTER ===== */
/* ===== FOOTER ===== */
footer {
    background-color: rgba(255, 255, 255, 0.95); /* Taki sam kolor jak navbar */
    color: var(--text-color);
    padding: 2.5rem 0 1rem; /* Zmniejszenie paddingu */
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.03); /* Delikatniejszy cień */
    position: relative;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: -1;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* Trzy kolumny */
    gap: 2rem; /* Zmniejszenie odstępów */
    margin-bottom: 2rem; /* Zmniejszenie dolnego marginesu */
    align-items: start; /* Wyrównanie do góry */
    position: relative;
    z-index: 1;
}

/* Zwiększone logo w stopce */
.footer-logo {
    display: flex;
    justify-content: center; /* Wyśrodkowanie poziome */
    align-items: center;
    padding-top: 1.5rem; /* Dodaję odstęp na górze, aby logo było niżej */
}

.footer-logo img, #footer-logo-img {
    height: 9.5rem !important; /* Jeszcze bardziej zwiększone logo */
    margin-bottom: 0; 
}

/* Paragraf z tekstem usunięty z HTML */

.footer-nav h3,
.footer-contact h3 {
    color: var(--text-color);
    font-size: 1.6rem; /* Zmniejszone z 1.8rem */
    margin-bottom: 1rem; /* Zmniejszone z 1.5rem */
    padding-bottom: 0.7rem; /* Zmniejszone z 1rem */
    position: relative;
}

.footer-nav h3:after,
.footer-contact h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 5rem;
    height: 2px;
    background: var(--primary-color);
}

.footer-nav ul li {
    margin-bottom: 0.6rem; /* Mniejsze marginesy */
}

.footer-nav ul li a {
    color: var(--text-color);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-nav ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
    opacity: 1;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 0.6rem; /* Zmniejszone z 1.5rem */
    color: var(--text-color);
    opacity: 0.7;
    font-size: 1.4rem; /* Mniejsza czcionka */
}

.footer-contact i {
    margin-right: 1rem;
    color: var(--primary-color);
    width: 2rem;
    text-align: center;
}

/* Polityka prywatności i copyright na jednej linii */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem; /* Zmniejszone */
    border-top: 1px solid rgba(0, 0, 0, 0.05); /* Jaśniejszy separator */
    font-size: 1.3rem; /* Mniejsza czcionka */
    position: relative;
    z-index: 1;
}

.footer-bottom p, 
.footer-bottom .footer-links {
    margin: 0; /* Usunięcie domyślnych marginesów */
}

.footer-links a {
    color: var(--primary-color);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

/* Responsywność dla stopki */
@media (max-width: 768px) {
    .footer-logo {
        justify-content: center; /* Wyśrodkowanie logo na urządzeniach mobilnych */
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-nav h3:after,
    .footer-contact h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* Responsywność dla stopki */
@media (max-width: 768px) {
    .footer-logo {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-nav h3:after,
    .footer-contact h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* ===== ANIMACJE PRZY PRZEWIJANIU ===== */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
    
    &.aos-animate {
        opacity: 1;
    }
}

[data-aos="fade-up"] {
    transform: translateY(50px);
    
    &.aos-animate {
        transform: translateY(0);
    }
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
    
    &.aos-animate {
        transform: translateX(0);
    }
}

[data-aos="fade-left"] {
    transform: translateX(50px);
    
    &.aos-animate {
        transform: translateX(0);
    }
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
    
    &.aos-animate {
        transform: scale(1);
    }
}

/* ===== RESPONSYWNOŚĆ ===== */
/* Responsywność dla sekcji Hero i About */
/* ===== ZDJĘCIE INŻYNIERÓW ===== */
/* ===== ABOUT PAGE ===== */
.about-page {
    padding: 10rem 0;
}

.about-page .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-page .about-text {
    max-width: 60rem;
}

.about-page .about-image {
    display: flex;
    justify-content: center;
}

.about-page .engineers-image {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    opacity: 0.9;
    filter: drop-shadow(0 0 15px rgba(26, 35, 100, 0.3));
    animation: engineers-pulse 4s ease-in-out infinite alternate;
}

@keyframes engineers-pulse {
    0% { 
        opacity: 0.85;
        transform: scale(0.98);
        filter: drop-shadow(0 0 10px rgba(26, 35, 100, 0.2));
    }
    100% { 
        opacity: 1;
        transform: scale(1.02);
        filter: drop-shadow(0 0 20px rgba(26, 35, 100, 0.4));
    }
}

/* ===== CONTACT PAGE ===== */
.contact-page {
    padding: 10rem 0;
    text-align: center;
}

.contact-page h1 {
    font-size: 3.6rem;
    margin-bottom: 2rem;
}

.contact-page p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
}

.contact-page .contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 5rem;
}

.contact-page .info-item {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-page .contact-form {
    max-width: 60rem;
    margin: 0 auto;
}

.contact-page .form-group {
    margin-bottom: 2rem;
    text-align: left;
}

.contact-page .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
}

.contact-page .form-group input,
.contact-page .form-group textarea {
    width: 100%;
    padding: 1rem;
    font-size: 1.6rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.contact-page .btn-primary {
    display: block;
    width: 100%;
    max-width: 20rem;
    margin: 0 auto;
}

/* Media queries for responsiveness */
@media (max-width: 991px) {
    .about-page .about-content,
    .contact-page .contact-info {
        grid-template-columns: 1fr;
    }

    .about-page .about-image,
    .about-page .about-text {
        text-align: center;
    }

    .contact-page .info-item {
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .about-page .about-content {
        grid-template-columns: 1fr;
    }

    .engineers-container {
        height: 25rem;
    }

    .engineers-image {
        object-position: center;
    }
}
.engineers-container {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
}

.engineers-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    filter: drop-shadow(0 0 15px rgba(26, 35, 100, 0.3));
    animation: engineers-pulse 4s ease-in-out infinite alternate;
    border-radius: 1rem;
}

@keyframes engineers-pulse {
    0% { 
        opacity: 0.85;
        transform: scale(0.98);
        filter: drop-shadow(0 0 10px rgba(26, 35, 100, 0.2));
    }
    100% { 
        opacity: 1;
        transform: scale(1.02);
        filter: drop-shadow(0 0 20px rgba(26, 35, 100, 0.4));
    }
}
/* Style dla sekcji kontaktowej - poprawienie wyrównania */
.contact-info {
    margin: 3rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.info-item {
    display: flex;
    align-items: center; /* Wyrównanie w pionie */
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: rgba(238, 235, 254, 0.7); /* Przyciemniony kolor tła */
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    min-width: 200px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(26, 35, 100, 0.08);
}

.info-item:hover {
    transform: translateY(-5px);
    background-color: rgba(238, 235, 254, 0.85); /* Jaśniejszy przy hover */
}

.info-item i {
    font-size: 2rem;
    color: var(--primary-color);
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(26, 35, 100, 0.1);
    border-radius: 50%;
    padding: 1.8rem;
}

.info-item p {
    font-size: 1.6rem;
    margin: 0; /* Usuwamy domyślny margines z paragrafu */
    font-weight: 500;
}

/* Responsywność dla różnych urządzeń */
@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
        align-items: center;
    }
    
    .info-item {
        width: 100%;
        max-width: 300px;
        justify-content: flex-start;
    }
}
/* Dodaj efekt zanikania krawędzi dla płynniejszego wrażenia */
.image-wrapper.engineers-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(249, 250, 251, 0.3) 0%, rgba(249, 250, 251, 0) 20%, rgba(249, 250, 251, 0) 80%, rgba(249, 250, 251, 0.3) 100%);
    pointer-events: none;
    border-radius: 1rem;
}
@media (max-width: 991px) {
    /* Modyfikacje nagłówka */
    .animated-title {
        font-size: 4rem;
    }
    
    /* Modyfikacja układu siatki */
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-image {
        order: -1; /* Umieszczamy obraz przed tekstem */
        margin-top: 2rem;
    }
    
    .robot-image-container {
        height: 30rem;
        margin-top: 0;
    }
    
    /* Modyfikacja sekcji About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .image-wrapper {
        height: 30rem;
    }
    .engineers-container {
        height: 30rem;
    }
}

@media (max-width: 767px) {
    /* Dodatkowe modyfikacje dla mniejszych ekranów */
    .animated-title {
        font-size: 3.2rem;
    }
    
    .tech-subtitle {
        font-size: 2rem;
    }
    
    .hero {
        min-height: auto;
        padding-top: 10rem;
        padding-bottom: 5rem;
        height: auto;
    }
    
    .robot-image-container {
        height: 25rem;
    }
    
    .image-wrapper {
        height: 25rem;
    }
    
    .about-text h2 {
        font-size: 3rem;
    }
    
    section {
        padding: 6rem 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
    }
    
    /* Naprawienie przewijania i marginesów */
    .scroll-indicator {
        display: none; /* Ukrycie wskaźnika przewijania */
    }
}

/* Naprawa widoczności tekstu w sekcji workflow */
@media (max-width: 767px) {
    .workflow .step-content p {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        /* Wymuszamy odpowiedni kolor i styl */
        color: var(--text-color) !important;
        font-size: 1.5rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1.5rem !important;
        max-width: 100% !important;
        overflow: visible !important;
        text-overflow: clip !important;
        white-space: normal !important;
    }
    .hero-content {
        text-align: center;
        align-items: center;
        margin: 0 auto;
    }
    
    .animated-title {
        align-items: center;
    }
    
    .tech-title, .highlight-text, .tech-subtitle {
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
        max-width: 100%;
    }
    /* Zmniejszenie odstępów dla lepszego dopasowania */
    .workflow-step {
        margin-bottom: 4rem;
    }
    
    .step-number {
        width: 4rem;
        height: 4rem;
        font-size: 1.8rem;
        margin-right: 2rem;
    }
    .engineers-container {
        height: 25rem;
    }
    
    .engineers-image {
        object-position: center; /* Lepsze kadrowanie */
    }
    /* Strona podziękowań */
    .thank-you-page {
        height: 80vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10rem 0;
        text-align: center;
    }
    
    .thank-you-content {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .success-icon {
        font-size: 6rem;
        color: #27ae60;
        margin-bottom: 2rem;
    }
    
    .thank-you-content h1 {
        font-size: 3.6rem;
        margin-bottom: 2rem;
        color: var(--accent-color);
    }
    
    .thank-you-content p {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .redirect-text {
        font-size: 1.6rem;
        color: var(--text-light);
        margin-bottom: 3rem;
    }
    
    /* Style dla formularza kontaktowego - uzupełnienie */
    .contact-form {
        max-width: 600px;
        margin: 3rem auto;
    }
    
    .form-group {
        margin-bottom: 2rem;
    }
    
    .form-group label {
        display: block;
        margin-bottom: 0.8rem;
        font-weight: 500;
        color: var(--text-color);
    }
    
    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 1.5rem;
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius);
        background-color: #fff;
        transition: var(--transition);
        font-family: 'Roboto', sans-serif;
        font-size: 1.6rem;
    }
    
    .form-group input:focus,
    .form-group textarea:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(26, 35, 100, 0.1);
        outline: none;
    }
    /* Strona podziękowań */
    .thank-you-page {
        height: 80vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10rem 0;
        text-align: center;
    }
    
    .thank-you-content {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .success-icon {
        font-size: 6rem;
        color: #27ae60;
        margin-bottom: 2rem;
    }
    
    .thank-you-content h1 {
        font-size: 3.6rem;
        margin-bottom: 2rem;
        color: var(--accent-color);
    }
    
    .thank-you-content p {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .redirect-text {
        font-size: 1.6rem;
        color: var(--text-light);
        margin-bottom: 3rem;
    }
    
    /* Style dla formularza kontaktowego */
    .contact-form {
        max-width: 600px;
        margin: 3rem auto;
    }
    
    .form-group {
        margin-bottom: 2rem;
    }
    
    .form-group label {
        display: block;
        margin-bottom: 0.8rem;
        font-weight: 500;
        color: var(--text-color);
    }
    
    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 1.5rem;
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius);
        background-color: #fff;
        transition: var(--transition);
        font-family: 'Roboto', sans-serif;
        font-size: 1.6rem;
    }
    
    .form-group input:focus,
    .form-group textarea:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(26, 35, 100, 0.1);
        outline: none;
    }
    
    /* Style dla statusu formularza */
    #form-status {
        margin-bottom: 2rem;
        font-size: 1.6rem;
        text-align: center;
    }
    
    #form-status.error {
        color: #e74c3c;
        background-color: rgba(231, 76, 60, 0.1);
        padding: 1rem;
        border-radius: var(--border-radius);
    }
    
    #form-status.success {
        color: #27ae60;
        background-color: rgba(39, 174, 96, 0.1);
        padding: 1rem;
        border-radius: var(--border-radius);
    }
    
    /* Responsywność formularza */
    @media (max-width: 768px) {
        .contact-form {
            padding: 0 1rem;
        }
        
        .form-group label {
            font-size: 1.5rem;
        }
        
        .form-group input,
        .form-group textarea {
            padding: 1.2rem;
            font-size: 1.5rem;
        }
        
        .thank-you-content h1 {
            font-size: 3rem;
        }
        
        .thank-you-content p {
            font-size: 1.6rem;
        }
    }
    
    /* Styl captcha */
    .h-captcha {
        display: flex;
        justify-content: center;
        margin-bottom: 2rem;
    }
    /* Style dla statusu formularza */
    #form-status {
        margin: 1rem 0;
        padding: 1rem 0;
        text-align: center;
    }
    
    #form-status .sending {
        color: #3498db;
    }
    
    #form-status .error {
        color: #e74c3c;
    }
    
    #form-status .success {
        color: #27ae60;
    }
    /* Style dla wskaźnika ładowania formularza */
    .form-loading {
        text-align: center;
        padding: 3rem;
    }
    
    .spinner {
        display: inline-block;
        width: 4rem;
        height: 4rem;
        border-radius: 50%;
        border: 3px solid var(--border-color);
        border-top-color: var(--primary-color);
        animation: spin 1s linear infinite;
        margin-bottom: 1.5rem;
    }
    
    @keyframes spin {
        to { transform: rotate(360deg); }
    }
    /* Style dla komunikatów formularza */
    #form-status {
        padding: 1rem 0;
        font-weight: 500;
    }
    
    #form-status .sending {
        color: var(--text-color);
    }
    
    #form-status .success {
        color: #28a745;
    }
    
    #form-status .error {
        color: #dc3545;
    }
    }
