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

:root {
    --primary-dark: #1a1a1a;
    --primary-light: #f8f8f8;
    --accent-blue: #2563eb;
    --text-gray: #666;
    --border-gray: #e5e5e5;
}

body {
    /* POPRAWIONY FONT STACK - Inter z fallbackami */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--primary-dark);
    background: white;
    /* Dodatkowe właściwości dla lepszego renderowania fontów */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Dodaj sprawdzenie czy font się załadował */
@supports (font-family: 'Inter') {
    body {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    }
}

/* Fallback dla przypadku gdy Inter się nie załaduje */
.font-fallback {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-gray);
    position: sticky;
    top: 0;
    background: white;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-dark);
    text-decoration: none;
    letter-spacing: -1px;
}

.contact-info {
    display: flex;
    gap: 30px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: var(--accent-blue);
}

/* Hero Section with Video */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1e293b, #334155);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero .subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero .description {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-blue);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.cta-button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .phone-display {
        margin-top: 20px;
    }
    
    .phone-number {
        font-size: 18px;
        padding: 8px 16px;
        letter-spacing: 0.5px;
    }
}

/* Trust Indicators Section */
.trust-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-bottom: 1px solid var(--border-gray);
    overflow: hidden;
}

.trust-content {
    text-align: center;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.trust-stat {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.trust-stat.animate {
    opacity: 1;
    transform: translateY(0);
}

.trust-stat:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--accent-blue);
    margin-bottom: 8px;
    line-height: 1;
    font-family: 'Monaco', 'Menlo', 'Consolas', 'Courier New', monospace;
    text-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
}

.trust-stat:hover .stat-number {
    transform: scale(1.1);
    color: #1d4ed8;
}

.stat-label {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 12px 20px;
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 14px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.trust-badge.animate {
    opacity: 1;
    transform: scale(1);
}

.trust-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.trust-badge .material-symbols-outlined {
    color: var(--accent-blue);
    font-size: 18px;
}

/* Pulsing effect for stats */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.stat-number.counting {
    animation: pulse 0.6s ease-in-out;
}

/* Responsive */
@media (max-width: 768px) {
    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .stat-number {
        font-size: 32px;
    }
}

/* Services Section */
.services {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 60px;
    letter-spacing: -1px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.service-card {
    padding: 35px 25px;
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-color: #e2e8f0;
}

.service-icon {
    width: 50px;
    height: 50px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent-blue);
    transition: all 0.2s ease;
}

.service-card:hover .service-icon {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--primary-dark);
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.5;
    font-size: 14px;
    margin-bottom: 25px;
}

.service-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    color: var(--text-gray);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.service-card:hover .service-button {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
}

.service-button .material-symbols-outlined {
    font-size: 16px;
}

/* Remove link highlighting from service cards */
.service-link {
    text-decoration: none;
    color: inherit;
    outline: none;
}

.service-link:hover,
.service-link:focus,
.service-link:active,
.service-link:visited {
    text-decoration: none;
    color: inherit;
    outline: none;
}

/* Prevent tap highlighting on mobile */
.service-link {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Remove any browser default focus ring */
.service-link:focus .service-card {
    outline: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* Process Section */
.process {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    right: -200px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.process-header {
    text-align: center;
    margin-bottom: 60px;
}

.process-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-top: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Timeline */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto 60px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent-blue), #60a5fa);
    transform: translateX(-50%);
    border-radius: 2px;
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.process-step.animate {
    opacity: 1;
    transform: translateX(0);
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
    transform: translateX(50px);
}

.process-step:nth-child(even).animate {
    transform: translateX(0);
}

.step-icon {
    position: relative;
    width: 80px;
    height: 80px;
    background: white;
    border: 4px solid var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    z-index: 2;
    margin: 0 30px;
    transition: all 0.3s ease;
}

.step-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.4);
}

.step-icon .material-symbols-outlined {
    font-size: 32px;
    color: var(--accent-blue);
}

.step-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: var(--accent-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.step-content {
    flex: 1;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin: 0 20px;
    transition: all 0.3s ease;
}

.step-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.step-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--primary-dark);
    font-weight: 600;
}

.step-content p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

.step-details {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.step-details span {
    background: var(--primary-light);
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: 500;
}

/* Benefits */
.process-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.benefit:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.benefit .material-symbols-outlined {
    font-size: 32px;
    color: var(--accent-blue);
    background: var(--primary-light);
    padding: 10px;
    border-radius: 50%;
}

.benefit h4 {
    margin-bottom: 5px;
    color: var(--primary-dark);
    font-weight: 600;
}

.benefit p {
    color: var(--text-gray);
    font-size: 14px;
}

/* Process Disclaimer */
.process-disclaimer {
    text-align: center;
    margin: 30px 0 40px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    border-left: 4px solid var(--accent-blue);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.process-disclaimer p {
    font-size: 14px;
    color: var(--text-gray);
    font-style: italic;
    margin: 0;
}

.asterisk {
    color: var(--accent-blue);
    font-weight: 700;
    font-size: 16px;
}

/* Process CTA */
.process-cta {
    background: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    border: 1px solid var(--border-gray);
}

/* Process CTA */
.process-cta {
    background: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    border: 1px solid var(--border-gray);
}

.process-cta h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.process-cta p {
    color: var(--text-gray);
    margin-bottom: 30px;
    font-size: 16px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.primary {
    background: var(--accent-blue);
    color: white;
}

.cta-button.secondary {
    background: transparent;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
}

.cta-button.secondary:hover {
    background: var(--accent-blue);
    color: white;
}

.process-header {
    text-align: center;
    margin-bottom: 60px;
}

.process-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.process-intro-content {
    text-align: left;
}

.process-subtitle {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.process-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.highlight {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.highlight:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.15);
}

.highlight .material-symbols-outlined {
    font-size: 24px;
    color: var(--accent-blue);
    background: var(--primary-light);
    padding: 8px;
    border-radius: 8px;
    margin-top: 5px;
}

.highlight h4 {
    margin-bottom: 5px;
    color: var(--primary-dark);
    font-weight: 600;
}

.highlight p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.4;
}

.process-intro-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.process-intro-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.process-intro-image:hover img {
    transform: scale(1.05);
}

.image-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-blue);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.image-badge .material-symbols-outlined {
    font-size: 16px;
}

@media (max-width: 768px) {
    .process-intro {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .process-intro-content {
        text-align: center;
        order: 2;
    }
    
    .process-intro-image {
        order: 1;
    }
    
    .process-intro-image img {
        height: 250px;
    }
    
    .process-subtitle {
        font-size: 18px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .process-timeline::before {
        left: 40px;
    }
    
    .process-step {
        flex-direction: row !important;
        transform: translateX(-30px);
    }
    
    .process-step.animate {
        transform: translateX(0);
    }
    
    .step-icon {
        margin: 0 20px 0 0;
        width: 60px;
        height: 60px;
    }
    
    .step-icon .material-symbols-outlined {
        font-size: 24px;
    }
    
    .step-content {
        margin: 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: var(--primary-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-dark);
}

.testimonial-company {
    color: var(--text-gray);
    font-size: 14px;
}

/* About Section with Image Slideshow */
.about {
    padding: 80px 0;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-header h2 {
    font-size: 42px;
    margin-bottom: 30px;
    font-weight: 700;
    letter-spacing: -1px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    order: 1;
}

.about-text p {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Slideshow Styles */
.about-slideshow {
    order: 2;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    min-height: 400px;
    background: var(--primary-light);
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    color: var(--text-gray);
    font-size: 16px;
    text-align: center;
    padding: 40px;
}

.slide-placeholder .icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--accent-blue);
}

.slide-placeholder h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

/* Slideshow Controls (Strzałki) */
.slideshow-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 24px;
}

.slideshow-control:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.slideshow-control.prev {
    left: 15px;
}

.slideshow-control.next {
    right: 15px;
}

.slideshow-control .material-symbols-outlined {
    font-size: 28px;
}

/* Contact Form */
.contact-form-section {
    padding: 80px 0;
    background: white;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form {
    background: var(--primary-light);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-form h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.contact-form p {
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: flex;
    gap: 15px;
}

/* Custom Select Styling */
.custom-select {
    position: relative;
    display: block;
}

.custom-select select {
    width: 100%;
    padding: 12px 45px 12px 16px;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    font-size: 16px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.custom-select select:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.custom-select select:hover {
    border-color: #94a3b8;
}

.select-arrow {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.custom-select:hover .select-arrow {
    color: var(--accent-blue);
}

.custom-select select:focus + .select-arrow {
    color: var(--accent-blue);
    transform: translateY(-50%) rotate(180deg);
}

.custom-select select option {
    padding: 12px 16px;
    background: white;
    color: var(--primary-dark);
    border: none;
}

.custom-select select option:hover,
.custom-select select option:checked {
    background: var(--accent-blue);
    color: white;
}

/* File info box */
.file-info-box {
    background: #f0f8ff;
    border: 2px solid #e0f0ff;
    border-radius: 8px;
    padding: 16px;
    margin-top: 10px;
}

.file-info-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.file-info-content .material-symbols-outlined {
    color: var(--accent-blue);
    font-size: 24px;
    margin-top: 2px;
}

.file-info-content strong {
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.file-info-content p {
    color: var(--text-gray);
    margin: 8px 0 5px 0;
    font-size: 14px;
}

.file-info-content a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
}

.file-info-content a:hover {
    text-decoration: underline;
}

.file-info-content small {
    color: var(--text-gray);
    font-size: 12px;
}

.submit-btn {
    width: 100%;
    background: var(--accent-blue);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.submit-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.contact-info-side {
    padding: 20px 0;
}

.contact-info-side h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.contact-info-side p {
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--primary-light);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.contact-method:hover {
    transform: translateX(5px);
}

.contact-method-button {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-method-button:hover {
    transform: scale(1.02);
}

.contact-method-button:hover .contact-method-icon {
    background: var(--accent-blue);
    transform: scale(1.1);
}

.contact-method-button:active {
    transform: scale(0.98);
}

.contact-method-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.contact-method-info h4 {
    margin: 0 0 5px 0;
    color: var(--primary-dark);
}

.contact-method-info a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-method-info a:hover {
    color: var(--accent-blue);
}

.contact-method-info span {
    color: var(--text-gray);
}

.success-message {
    background: #10b981;
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
}

.error-message {
    background: #ef4444;
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
}

.contact {
    padding: 80px 0;
    background: var(--primary-dark);
    color: white;
    text-align: center;
}

.contact h2 {
    font-size: 42px;
    margin-bottom: 40px;
    font-weight: 700;
    letter-spacing: -1px;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.contact-detail-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 15px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.contact-detail-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.contact-detail-button:hover .contact-detail-icon {
    background: white;
    color: var(--accent-blue);
    transform: scale(1.1);
}

.contact-detail-button:active {
    transform: translateY(-1px);
}

.contact-detail-button span {
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-detail-button:hover span {
    color: #f0f9ff;
}

.contact-detail-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.contact-detail a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-detail a:hover {
    color: #60a5fa;
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-gray);
    text-align: center;
    color: var(--text-gray);
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card, .testimonial {
    animation: fadeInUp 0.6s ease forwards;
}

/* Google Icons styling */
.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24;
}

.service-icon .material-symbols-outlined {
    font-size: 28px;
}

.contact-item .material-symbols-outlined {
    font-size: 16px;
}

.contact-method-icon .material-symbols-outlined,
.contact-detail-icon .material-symbols-outlined {
    font-size: 20px;
}

.cta-button .material-symbols-outlined {
    font-size: 18px;
}

.select-arrow .material-symbols-outlined {
    font-size: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero .subtitle {
        font-size: 18px;
    }

    .hero-video {
        object-position: 65% center;
        transform: scale(1.1);
    }
    
    .hero-overlay {
        background: rgba(0, 0, 0, 0.7);
    }

    .section-title {
        font-size: 32px;
    }

    .contact-details {
        gap: 40px;
    }

    .contact-info {
        flex-direction: column;
        gap: 15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
    grid-template-columns: 1fr;
    gap: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    }

    .form-row {
        flex-direction: column;
    }

    .contact-form {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-slideshow {
        order: 1;
        min-height: 300px;
    }
    
    .slideshow-container {
        height: 300px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Dodatkowe wsparcie dla czcionek */
.phone-number, .stat-number {
    font-weight: 700 !important;
}

.logo {
    font-weight: 800 !important;
}

.hero h1 {
    font-weight: 800 !important;
}

/* ===== POPRAWKI MOBILNE ===== */

/* 1. POPRAWKA NUMERU TELEFONU W HERO */
@media (max-width: 768px) {
    .phone-display {
        margin-top: 20px;
        padding: 0 20px; /* Dodaje padding po bokach */
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .phone-number {
        font-size: 16px; /* Zmniejszony rozmiar */
        padding: 8px 12px; /* Zmniejszony padding */
        letter-spacing: 0.5px;
        word-break: keep-all; /* Zapobiega łamaniu */
        white-space: nowrap; /* Nie łamie w nowej linii */
        min-width: 0; /* Pozwala na flexbox shrinking */
        text-align: center;
        display: block;
        width: auto;
        max-width: 90%; /* Maksymalna szerokość */
    }
}

/* Bardzo małe ekrany */
@media (max-width: 480px) {
    .phone-number {
        font-size: 14px;
        padding: 6px 10px;
        letter-spacing: 0.3px;
    }
}

/* 2. POPRAWKA TEKSTÓW W HERO */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 28px; /* Jeszcze mniejszy rozmiar */
        line-height: 1.2;
        margin-bottom: 15px;
        padding: 0 10px; /* Padding po bokach */
        text-align: center;
        word-break: normal;
        hyphens: auto;
    }

    .hero .subtitle {
        font-size: 16px;
        margin-bottom: 25px;
        padding: 0 10px;
        line-height: 1.3;
    }
    
    .hero-content {
        padding: 0 15px; /* Zwiększony padding */
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
        padding: 0 15px;
    }
    
    .hero .subtitle {
        font-size: 14px;
        padding: 0 15px;
    }
}

/* 3. POPRAWKA CZASÓW W SEKCJI PROCES */
@media (max-width: 768px) {
    .step-details {
        display: flex;
        flex-wrap: wrap; /* Pozwala na zawijanie */
        gap: 10px; /* Mniejszy gap */
        font-size: 12px; /* Mniejszy font */
        margin-top: 10px;
    }
    
    .step-details span {
        background: var(--primary-light);
        padding: 4px 8px; /* Mniejszy padding */
        border-radius: 12px;
        font-weight: 500;
        font-size: 11px; /* Bardzo mały font */
        white-space: nowrap; /* Nie łamie tekstu */
        flex-shrink: 0; /* Nie kurczy elementów */
        line-height: 1.2;
    }
    
    .step-content {
        padding: 20px 15px; /* Mniejszy padding */
    }
    
    .step-content h3 {
        font-size: 18px; /* Mniejszy tytuł */
        margin-bottom: 8px;
    }
    
    .step-content p {
        font-size: 14px; /* Mniejszy tekst */
        line-height: 1.4;
        margin-bottom: 10px;
    }
}

/* Bardzo małe ekrany - jeszcze bardziej kompaktowe */
@media (max-width: 480px) {
    .step-details {
        flex-direction: column; /* Układa w kolumnie */
        gap: 5px;
        align-items: flex-start;
    }
    
    .step-details span {
        font-size: 10px;
        padding: 3px 6px;
        display: inline-block;
        margin-right: 5px;
        margin-bottom: 3px;
    }
    
    .step-content {
        padding: 15px 10px;
    }
}

/* 4. POPRAWKA TRUST STATS NA MOBILE */
@media (max-width: 768px) {
    .trust-stats {
        grid-template-columns: repeat(2, 1fr); /* 2 kolumny */
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .trust-stat {
        padding: 20px 15px; /* Mniejszy padding */
    }
    
    .stat-number {
        font-size: 28px; /* Mniejszy rozmiar */
        margin-bottom: 5px;
    }
    
    .stat-label {
        font-size: 12px; /* Mniejszy tekst */
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .trust-stats {
        grid-template-columns: 1fr; /* 1 kolumna na bardzo małych ekranach */
        gap: 10px;
    }
    
    .stat-number {
        font-size: 24px;
    }
}

/* 5. POPRAWKA NAVIGATION NA MOBILE */
@media (max-width: 768px) {
    .contact-info {
        flex-direction: row; /* ← Changed from column */
        gap: 10px;
        align-items: center; /* ← Changed from flex-end */
    }
    
    .contact-item {
        font-size: 12px; /* Mniejszy font */
        gap: 5px;
    }
    
    .contact-item .material-symbols-outlined {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    nav {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .contact-info {
        align-items: center;
    }
    
    .logo {
        font-size: 28px; /* Mniejsze logo */
    }
}

/* 6. POPRAWKA SERVICES GRID */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .service-card h3 {
        font-size: 20px;
        line-height: 1.3;
    }
    
    .service-card p {
        font-size: 14px;
        line-height: 1.5;
    }
}

@media (max-width: 768px) {
    /* Contact Form Container */
    .contact-form-container {
        grid-template-columns: 1fr;
        gap: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 30px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .contact-form h3,
    .contact-form > p {
        text-align: center;
    }
    
    /* Form Groups */
    .form-group {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    
    /* Submit Button */
    .submit-btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* Contact Info Side - THIS IS THE KEY PART */
    .contact-info-side {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }
    
    .contact-info-side h3,
    .contact-info-side > p {
        text-align: center;
        width: 100%;
    }
    
    /* Contact Methods Container */
    .contact-methods {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
        align-items: center;
    }
    
    /* Individual Contact Method */
.contact-method {
    max-width: 280px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* Contact Method Info - Keep text left aligned */
.contact-method-info {
    text-align: left;
}

.contact-method-info h4,
.contact-method-info span {
    text-align: left;
}

/* Contact Method Button */
.contact-method-button {
    width: 100%;
    justify-content: flex-start;
}

/* Form Group Labels */
.form-group label {
    text-align: left;
}
}

/* 8. POPRAWKA CTA BUTTONS */
@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
        padding: 12px 20px;
        font-size: 14px;
        justify-content: center;
    }
    
    .cta-button .material-symbols-outlined {
        font-size: 16px;
    }
}

/* 9. POPRAWKA TESTIMONIALS */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial {
        padding: 20px 15px;
    }
    
    .testimonial-text {
        font-size: 14px;
        line-height: 1.5;
    }
}

/* 10. POPRAWKA SEKCJI TITLE */
@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
        padding: 0 20px;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
}

/* 11. DODATKOWE POPRAWKI DLA CONTAINER */
@media (max-width: 768px) {
    .container {
        padding: 0 15px; /* Mniejszy padding */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
}

/* 12. POPRAWKA HERO VIDEO NA MOBILE */
@media (max-width: 768px) {
    .hero-video {
        object-position: 70% center; /* Lepsze pozycjonowanie */
        transform: scale(1.05); /* Mniejsze powiększenie */
    }
}

/* 13. POPRAWKA PROCESS INTRO NA MOBILE */
@media (max-width: 768px) {
    .process-intro {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .process-intro-content {
        text-align: center;
        order: 2;
    }
    
    .process-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
        padding: 0 10px;
    }
    
    .highlight {
        padding: 12px;
        margin: 0 10px;
    }
    
    .highlight h4 {
        font-size: 14px;
    }
    
    .highlight p {
        font-size: 13px;
    }
}

/* 14. POPRAWKA TRUST BADGES */
@media (max-width: 768px) {
    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .trust-badge {
        padding: 10px 16px;
        font-size: 13px;
        max-width: 200px;
        text-align: center;
    }
}

/* 15. ZAPOBIEGANIE POZIOMEMU SCROLLOWI */
body {
    overflow-x: hidden;
}

.hero, .hero-content, .container {
    max-width: 100%;
    overflow-x: hidden;
}

/* 16. POPRAWKA DISCLAIMER W PROCESS */
@media (max-width: 768px) {
    .process-disclaimer {
        margin: 20px 10px 30px 10px;
        padding: 10px 15px;
    }
    
    .process-disclaimer p {
        font-size: 12px;
        line-height: 1.4;
    }
}

/* 17. DODATKOWE POPRAWKI TYPOGRAFII */
@media (max-width: 768px) {
    /* Zapobieganie łamaniu słów w nieodpowiednich miejscach */
    h1, h2, h3, h4 {
        word-break: normal;
        hyphens: auto;
        -webkit-hyphens: auto;
        -moz-hyphens: auto;
    }
    
    /* Lepsze renderowanie tekstu na małych ekranach */
    body {
        -webkit-text-size-adjust: 100%;
        -moz-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
}

/* 18. POPRAWKA CONTACT DETAILS NA DOLE */
@media (max-width: 768px) {
    .contact-details {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .contact-detail-button {
        padding: 12px 20px;
        min-width: 200px;
    }
    
    .contact-detail-button span {
        font-size: 16px;
    }
}

/* 19. POPRAWA SLIDERU NA MOBILE */
@media (max-width: 768px) {
    .slideshow-control {
        width: 40px;
        height: 40px;
    }
    
    .slideshow-control .material-symbols-outlined {
        font-size: 20px;
    }
    
    .slideshow-control.prev {
        left: 10px;
    }
    
    .slideshow-control.next {
        right: 10px;
    }
}

/* POPRAWKA DZIELENIA SŁÓW - WYŁĄCZENIE MYŚLNIKÓW */

/* Wyłącz dzielenie myślnikami dla ważnych tytułów */
.about-header h2,
.process-cta h3,
.contact-info-side h3,
.section-title,
h1, h2, h3, h4 {
    hyphens: none !important;
    -webkit-hyphens: none !important;
    -moz-hyphens: none !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

/* Specjalne reguły dla konkretnych tytułów */
@media (max-width: 768px) {
    /* "Od projektu po produkt" */
    .about-header h2 {
        hyphens: none;
        -webkit-hyphens: none;
        word-break: keep-all;
        line-height: 1.3;
        font-size: 32px; /* Może trochę mniejszy font */
    }
    
    /* "Zacznijmy od bezpłatnej konsultacji" */
    .process-cta h3 {
        hyphens: none;
        -webkit-hyphens: none;
        word-break: keep-all;
        line-height: 1.3;
        font-size: 24px; /* Zmniejszony font */
    }
    
    /* "Skontaktuj się bezpośrednio" */
    .contact-info-side h3 {
        hyphens: none;
        -webkit-hyphens: none;
        word-break: keep-all;
        line-height: 1.3;
        font-size: 24px; /* Zmniejszony font */
    }
}

/* Dla bardzo małych ekranów - jeszcze mniejsze fonty */
@media (max-width: 480px) {
    .about-header h2 {
        font-size: 28px;
    }
    
    .process-cta h3,
    .contact-info-side h3 {
        font-size: 22px;
    }
}

/* Ogólna reguła - wyłącz dzielenie dla wszystkich nagłówków */
h1, h2, h3, h4, h5, h6 {
    hyphens: manual;
    -webkit-hyphens: manual;
    -moz-hyphens: manual;
    word-break: normal;
}

/* Replace the existing mobile navigation styles with this fixed version */

/* Compact header for mobile */
@media (max-width: 768px) {
    header {
        padding: 12px 0; /* Reduced from 20px */
    }
    
    nav {
        flex-direction: column;
        align-items: center; /* This centers everything */
        text-align: center;  /* This centers the text */
        gap: 10px;
    }
    
    .logo {
        font-size: 24px; /* Reduced from 32px */
        text-align: center; /* Ensure logo is centered */
    }
    
    .contact-info {
        flex-direction: row;
        gap: 15px;
        align-items: center;
        justify-content: center; /* This centers the contact info */
        width: 100%; /* Take full width to center properly */
    }
    
    .contact-item {
        font-size: 11px; /* Smaller font */
        gap: 4px;
        white-space: nowrap;
        text-align: center; /* Center the text within each item */
    }
    
    .contact-item .material-symbols-outlined {
        font-size: 12px;
    }
}

/* For very small screens */
@media (max-width: 480px) {
    nav {
        gap: 12px; /* Slightly more space */
        padding: 0 10px; /* Add some padding */
    }
    
    .logo {
        font-size: 22px;
    }
    
    .contact-info {
        flex-direction: column; /* Stack vertically on very small screens */
        gap: 8px;
        align-items: center; /* Keep centered */
        width: 100%;
    }
    
    .contact-item {
        justify-content: center; /* Center the flex items */
        text-align: center;
    }
}

/* Additional fix to ensure proper centering */
@media (max-width: 768px) {
    /* Remove the container text-align completely */
    
    /* Override the text-align for sections that shouldn't be centered */
    .hero-content,
    .services,
    .process,
    .about,
    .testimonials,
    .contact {
        text-align: inherit; /* Reset to normal alignment for content sections */
    }
    
    /* Keep contact form section centered */
    .contact-form-section .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}



.sticky-cta {
    position: fixed;
    bottom: 15px;
    right: 15px;
    background: #e63946;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  }
  
  .sticky-cta:hover {
    background: #d62828;
  }

/* ===== CNC SERVICE PAGE STYLES ===== */

/* Service Hero Section */
.service-hero {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.2) 0%, transparent 50%);
    z-index: 1;
}

.service-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.service-hero-text {
    max-width: 100%;
}

/* Breadcrumb Navigation */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
    width: fit-content; /* Add this */
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap; /* Add this */
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap; /* Add this */
}

.breadcrumb span:last-child {
    color: rgba(255, 255, 255, 0.9); /* Make the current page more visible */
}

/* POPRAWKA BREADCRUMBS NA MOBILE - JEDNA LINIA */
@media (max-width: 768px) {
    .breadcrumb {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 6px; /* Mniejsze odstępy */
        margin-bottom: 1rem;
        font-size: 12px;
        width: 100%;
        flex-wrap: nowrap; /* NIE zawijaj */
        overflow-x: auto; /* Scroll jeśli za długie */
        white-space: nowrap; /* Trzymaj w jednej linii */
    }
    
    .breadcrumb a,
    .breadcrumb span {
        white-space: nowrap; /* Nie łam tekstu */
        flex-shrink: 0; /* Nie zmniejszaj */
        font-size: 12px;
    }
    
    .breadcrumb span {
        margin: 0 2px; /* Mniejsze marginesy dla "/" */
    }
}

/* Dla bardzo małych ekranów */
@media (max-width: 480px) {
    .breadcrumb {
        font-size: 11px;
        gap: 4px;
    }
    
    .breadcrumb a,
    .breadcrumb span {
        font-size: 11px;
    }
}

/* Service Hero Typography */
.service-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-subtitle {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 300;
}

/* Service Highlights */
.service-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.highlight-item .material-symbols-outlined {
    font-size: 32px;
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.2);
    padding: 10px;
    border-radius: 50%;
    min-width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-item strong {
    font-size: 18px;
    margin-bottom: 5px;
    display: block;
    font-weight: 600;
}

.highlight-item p {
    margin: 0;
    opacity: 0.8;
    font-size: 14px;
    line-height: 1.4;
}

/* Service CTA Buttons */
.service-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button.primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.cta-button.primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.5);
}

/* Default secondary button - for light backgrounds */
.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue);
    backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
}

/* Secondary buttons on dark backgrounds (subpages) */
.service-hero .cta-button.secondary,
.service-cta-section .cta-button.secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.service-hero .cta-button.secondary:hover,
.service-cta-section .cta-button.secondary:hover {
    background: white;
    color: var(--primary-dark);
    border-color: white;
}

/* Service Hero Image */
.service-hero-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: all 0.3s ease;
}

.service-hero-image:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.service-hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-hero-image:hover img {
    transform: scale(1.05);
}

.service-hero-image .image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(37, 99, 235, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Service Details Section */
.service-details {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.details-content h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--primary-dark);
    font-weight: 700;
    letter-spacing: -1px;
}

/* Service Types */
.service-types {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.service-type {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--accent-blue);
    transition: all 0.3s ease;
}

.service-type:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
}

.service-type h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-dark);
    font-weight: 600;
}

.service-type h3 .material-symbols-outlined {
    font-size: 28px;
    color: var(--accent-blue);
    background: var(--primary-light);
    padding: 8px;
    border-radius: 8px;
}

.service-type p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 16px;
}

/* Materials Grid */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.material-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 3px solid var(--accent-blue);
}

.material-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
}

.material-item strong {
    display: block;
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--primary-dark);
    font-weight: 600;
}

.material-item p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Details Sidebar */
.details-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-box {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-gray);
}

.info-box h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--primary-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, var(--accent-blue), #60a5fa);
    border-radius: 2px;
}

.info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-box li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
}

.info-box li:last-child {
    border-bottom: none;
}

.info-box li strong {
    color: var(--primary-dark);
    font-weight: 600;
    min-width: 100px;
}

.info-box li:hover {
    background: var(--primary-light);
    margin: 0 -15px;
    padding: 12px 15px;
    border-radius: 8px;
}

/* Service CTA Section */
.service-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #334155 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(37, 99, 235, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

/* Mobile Responsive for Service Pages */
@media (max-width: 768px) {
    .service-hero {
        padding: 80px 0 60px;
    }
    
    .service-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .service-hero-image {
        order: -1;
        transform: none;
    }
    
    .service-hero-image:hover {
        transform: translateY(-5px);
    }
    
    .service-hero h1 {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .service-subtitle {
        font-size: 16px;
    }
    
    .service-highlights {
        gap: 15px;
    }
    
    .highlight-item {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .highlight-item:hover {
        transform: translateY(-5px);
    }
    
    .service-cta {
        justify-content: center;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .details-content h2 {
        font-size: 28px;
        text-align: center;
    }
    
    .service-types {
        gap: 20px;
    }
    
    .service-type {
        padding: 20px;
    }
    
    .service-type:hover {
        transform: translateY(-3px);
    }
    
    .materials-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .details-sidebar {
        gap: 20px;
        order: -1;
    }
    
    .info-box {
        padding: 20px;
    }
    
    .service-cta-section {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .service-hero {
        padding: 60px 0 40px;
    }
    
    .service-hero h1 {
        font-size: 26px;
    }
    
    .service-subtitle {
        font-size: 14px;
    }
    
    .service-details {
        padding: 60px 0;
    }
    
    .details-content h2 {
        font-size: 24px;
    }
    
    .service-type h3 {
        font-size: 18px;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .service-cta-section {
        padding: 50px 0;
    }
    
    .cta-content h2 {
        font-size: 24px;
    }
}

/* Doradztwo Timeline Animation - Separate from main timeline */
.doradztwo-process-step {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
    position: relative;
    z-index: 3;
}

.doradztwo-process-step.doradztwo-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Even numbered steps (right side on desktop) */
.doradztwo-process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.doradztwo-process-step:nth-child(even).doradztwo-animate {
    transform: translateY(0);
}

/* Ensure step content and icons are above timeline */
.doradztwo-process-step .step-content {
    position: relative;
    z-index: 2;
}

.doradztwo-process-step .step-icon {
    position: relative;
    z-index: 4;
}

/* Mobile responsive for doradztwo timeline */
@media (max-width: 768px) {
    .doradztwo-process-step {
        flex-direction: row !important;
        transform: translateY(30px);
    }
    
    .doradztwo-process-step.doradztwo-animate {
        transform: translateY(0);
    }
    
    .doradztwo-process-step:nth-child(even) {
        flex-direction: row !important;
    }
    
    .doradztwo-process-step:nth-child(even).doradztwo-animate {
        transform: translateY(0);
    }
}

