/* BIMMERLUX - PREMIUM BMW ACCESSORIES */

/* Variables - BimmerLux Theme */
:root {
    --primary: #FF8C00;
    --secondary: #FF9500;
    --accent: #FFA500;
    --dark: #1a1a1a;
    --dark-secondary: #2d2d2d;
    --gray: #9e9e9e;
    --light: #f5f5f5;
    --white: #ffffff;
    --success: #4caf50;
    --warning: #FF8C00;
    --amber-glow: rgba(255, 140, 0, 0.3);
}

/* LED Ambient Strip - BMW Style */
.led-ambient-strip {
    position: fixed;
    top: 70px; /* Wysokość navbar */
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 140, 0, 0.3) 10%,
        rgba(255, 140, 0, 0.8) 30%,
        var(--primary) 50%,
        rgba(255, 140, 0, 0.8) 70%,
        rgba(255, 140, 0, 0.3) 90%,
        transparent 100%
    );
    box-shadow: 
        0 0 10px rgba(255, 140, 0, 0.5),
        0 0 20px rgba(255, 140, 0, 0.3),
        0 0 30px rgba(255, 140, 0, 0.2),
        0 2px 15px rgba(255, 140, 0, 0.4);
    z-index: 1049;
    animation: led-pulse 3s ease-in-out infinite;
}

@keyframes led-pulse {
    0%, 100% {
        opacity: 0.8;
        box-shadow: 
            0 0 10px rgba(255, 140, 0, 0.5),
            0 0 20px rgba(255, 140, 0, 0.3),
            0 0 30px rgba(255, 140, 0, 0.2),
            0 2px 15px rgba(255, 140, 0, 0.4);
    }
    50% {
        opacity: 1;
        box-shadow: 
            0 0 15px rgba(255, 140, 0, 0.7),
            0 0 30px rgba(255, 140, 0, 0.5),
            0 0 45px rgba(255, 140, 0, 0.3),
            0 2px 20px rgba(255, 140, 0, 0.6);
    }
}

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

body {
    font-family: 'Inter', sans-serif !important;
    line-height: 1.6 !important;
    color: #334155 !important;
    overflow-x: hidden;
    min-height: 100vh;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif !important;
    font-weight: 600 !important;
    color: var(--dark) !important;
    margin-bottom: 1rem;
}

/* Links - Remove default underlines */
a {
    text-decoration: none !important;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: none !important;
}

/* Navbar */
.navbar {
    background: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    padding: 15px 0 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3), 0 0 20px rgba(255, 140, 0, 0.1) !important;
    transition: all 0.3s ease;
    z-index: 1050 !important;
    position: fixed !important;
    top: 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 140, 0, 0.2);
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 25px rgba(255, 140, 0, 0.15) !important;
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 5px 0;
}

.navbar-logo {
    height: 45px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(255, 140, 0, 0.3));
}

.navbar-logo:hover {
    filter: drop-shadow(0 0 15px rgba(255, 140, 0, 0.5));
    transform: scale(1.05);
}

.navbar-brand .brand-lux {
    color: var(--primary) !important;
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.4);
    transition: all 0.3s ease;
}

.navbar-brand:hover .brand-lux {
    text-shadow: 0 0 15px rgba(255, 140, 0, 0.6), 0 0 25px rgba(255, 140, 0, 0.3);
}

.navbar-nav .nav-link {
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 10px !important;
    transition: color 0.3s ease !important;
    text-decoration: none !important;
}

.navbar-nav .nav-link:hover {
    color: var(--primary) !important;
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.3);
}

.nav-link-btn {
    text-decoration: none !important;
}

.call-now-button-light {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white !important;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.call-now-button-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

/* Custom Hamburger Menu */
.navbar-toggler.custom-toggler {
    width: 30px;
    height: 30px;
    position: relative;
    border: none;
    background: transparent;
    padding: 0;
    display: none; /* Ukryty domyślnie */
}

.navbar-toggler.custom-toggler:focus {
    box-shadow: none;
    outline: none;
}

.hamburger-lines {
    width: 25px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: auto;
}

.line {
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
    display: block;
    flex-shrink: 0;
}

/* Animacja do X */
.navbar-toggler.custom-toggler[aria-expanded="true"] .line1 {
    transform: translateY(8.5px) rotate(45deg);
}

.navbar-toggler.custom-toggler[aria-expanded="true"] .line2 {
    opacity: 0;
    transform: scaleX(0);
}

.navbar-toggler.custom-toggler[aria-expanded="true"] .line3 {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Pokaż hamburger menu tylko na urządzeniach mobilnych */
@media (max-width: 991.98px) {
    .navbar-toggler.custom-toggler {
        display: block;
    }
    
    /* Mobile Extra Menu Styles */
    .mobile-extra-menu {
        width: 100%;
        padding: 20px 0;
        margin-top: 15px;
        border-top: 1px solid rgba(0,0,0,0.1);
    }
    
    .mobile-menu-title {
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--primary);
        margin-bottom: 10px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .mobile-menu-item {
        display: block;
        padding: 8px 0;
        color: var(--dark);
        text-decoration: none;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        border-radius: 8px;
        margin-bottom: 5px;
    }
    
    .mobile-menu-item:hover {
        color: var(--primary);
        background: rgba(255, 140, 0, 0.1);
        padding-left: 10px;
        transform: translateX(5px);
    }
    
    .mobile-menu-item i {
        width: 18px;
        text-align: center;
        opacity: 0.7;
    }
}

/* Hero Section */
.hero-modern {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url('/assets/images/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
    background: linear-gradient(135deg, 
        rgba(26, 26, 26, 0.95) 0%, 
        rgba(45, 45, 45, 0.9) 50%,
        rgba(255, 140, 0, 0.15) 100%);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 25px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
    border-color: rgba(255, 255, 255, 0.4);
}

/* Animacja pulsowania dla hero-badge */
@keyframes badge-glow {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 0 20px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 0 30px rgba(255, 255, 255, 0.2);
    }
}

.hero-badge {
    animation: badge-glow 3s ease-in-out infinite;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    color: white !important;
}

.gradient-text {
    background: linear-gradient(135deg, #FF8C00 0%, #FF9500 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: 0 0 30px rgba(255, 140, 0, 0.3);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    color: white !important;
    line-height: 1.6;
}

.hero-features {
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: white;
}

.feature-item i {
    color: white;
    margin-right: 10px;
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white !important;
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none !important;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px var(--amber-glow);
    border: none;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    color: white !important;
    box-shadow: 0 15px 35px rgba(255, 140, 0, 0.5), 0 0 30px rgba(255, 140, 0, 0.3);
}

.btn-secondary-custom {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white !important;
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none !important;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white !important;
}

/* Hero Visual Elements */
.hero-visual {
    position: relative;
    z-index: 2;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Central Graphic */
.hero-central-graphic {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.graphic-circle {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.3), rgba(255, 149, 0, 0.2));
    backdrop-filter: blur(20px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 3rem;
    border: 2px solid var(--primary);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.4), 0 0 40px rgba(255, 140, 0, 0.2);
    animation: laptopPulse 3s ease-in-out infinite !important;
    animation-fill-mode: both !important;
    animation-play-state: running !important;
    will-change: transform, box-shadow, filter;
    z-index: 2;
}

.graphic-orbit {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform-origin: center center;
    animation: rotate 20s linear infinite, orbitPulse 4s ease-in-out infinite;
}

.graphic-orbit.orbit-1 {
    width: 160px;
    height: 160px;
    top: 20px;
    left: 20px;
    animation-delay: 0s, 1s; /* rotate delay, pulse delay */
}

.graphic-orbit.orbit-2 {
    width: 200px;
    height: 200px;
    top: 0;
    left: 0;
    animation-duration: 25s, 5s; /* rotate duration, pulse duration */
    animation-direction: reverse, normal;
    animation-delay: 0s, 2.5s; /* rotate delay, pulse delay */
}

@keyframes orbitPulse {
    0% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.4);
        opacity: 0.3;
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 0 0 30px 8px rgba(255, 140, 0, 0.3);
        opacity: 0.6;
    }
}

@keyframes laptopPulse {
    0% { 
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(255, 140, 0, 0.4), 0 0 40px rgba(255, 140, 0, 0.2);
        filter: brightness(1);
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 0 20px 50px rgba(255, 140, 0, 0.6), 0 0 60px rgba(255, 140, 0, 0.4);
        filter: brightness(1.3) drop-shadow(0 0 20px rgba(255, 140, 0, 0.5));
    }
}

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

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px 25px;
    color: white;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    min-width: 180px;
    text-align: center;
    max-width: 200px;
}

.floating-card .card-content h4 {
    color: white !important;
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.floating-card .card-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

.floating-card .card-content i {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--primary);
    display: block;
    filter: drop-shadow(0 0 8px rgba(255, 140, 0, 0.5));
}

.floating-card.card-1 {
    top: 5%;
    right: 10%;
    animation-delay: 0s;
    z-index: 3;
}

.floating-card.card-2 {
    bottom: 10%;
    left: 10%;
    animation-delay: 2s;
    z-index: 3;
}

.floating-card.card-3 {
    top: 45%;
    right: -15%;
    animation-delay: 4s;
    z-index: 3;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) scale(1); 
        opacity: 0.9;
    }
    50% { 
        transform: translateY(-15px) scale(1.02); 
        opacity: 1;
    }
}

.hero-image {
    text-align: center;
    margin-top: 50px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: rgba(255, 255, 255, 0.6);
    margin: 0 auto;
    position: relative;
    animation: scroll-bounce 2s infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(255, 255, 255, 0.6);
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    transform: rotate(45deg);
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(10px); opacity: 1; }
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: var(--light);
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 140, 0, 0.1);
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 140, 0, 0.2), 0 0 20px rgba(255, 140, 0, 0.1);
}

/* Problem/Solution Card Styles */
.problem-card {
    border: 2px solid #e0e0e0;
}

.problem-icon {
    background: linear-gradient(135deg, #9e9e9e, #757575) !important;
}

.solution-card {
    border: 2px solid var(--primary);
    box-shadow: 0 4px 20px var(--amber-glow);
}

.solution-card:hover {
    box-shadow: 0 20px 50px rgba(255, 140, 0, 0.3), 0 0 30px rgba(255, 140, 0, 0.2);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.stat-number.ai-powered {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-size: 2.5rem;
    font-weight: 800;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--gray);
    font-weight: 500;
}

/* IMS Section */
.ims-section {
    padding: 100px 0;
    background: white;
    overflow: hidden;
    position: relative;
}

.ims-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(158, 158, 158, 0.2), transparent);
}

.ims-content {
    padding-right: 30px;
}

.ims-features {
    margin: 40px 0;
}

.ims-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--light);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.ims-feature:hover {
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateX(10px);
}

.ims-feature .feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.ims-feature .feature-content {
    flex: 1;
}

.ims-feature h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.ims-feature p {
    color: var(--gray);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.ims-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.ims-availability-notice {
    margin-top: 20px;
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.4;
}

.ims-availability-notice a {
    color: var(--primary);
    font-weight: 500;
    transition: color 0.2s ease;
}

.ims-availability-notice a:hover {
    color: var(--secondary);
    text-decoration: underline !important;
}

.btn-secondary-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--primary) !important;
    padding: 15px 30px;
    border: 2px solid var(--primary);
    border-radius: 12px;
    text-decoration: none !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary-outline:hover {
    background: var(--primary);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--amber-glow);
}

/* IMS Preview */
.ims-preview {
    position: relative;
    padding: 50px 20px;
}

/* Product Image Container */
.product-image-container {
    background: var(--dark);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 0 40px var(--amber-glow);
    overflow: hidden;
    position: relative;
    z-index: 2;
    border: 2px solid var(--primary);
}

.product-main-image {
    width: 100%;
    height: auto;
    display: block;
}

.dashboard-mockup {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.mockup-header {
    background: var(--dark);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mockup-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #ff5f56; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #27ca3f; }

.mockup-title {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.mockup-content {
    padding: 20px;
    background: #f9f9f9;
}

.mockup-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Floating Stats around IMS */
.floating-stat {
    position: absolute;
    background: white;
    border-radius: 15px;
    padding: 15px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 6s ease-in-out infinite;
    z-index: 3;
}

.floating-stat.stat-1 {
    top: 25%;
    right: -5%;
    animation-delay: 0s;
}

.floating-stat.stat-2 {
    bottom: 17%;
    left: -5%;
    animation-delay: 2s;
}

.floating-stat.stat-3 {
    top: 65%;
    right: 15%;
    animation-delay: 4s;
}

.floating-stat.stat-4 {
    top: 20%;
    left: 5%;
    animation-delay: 1s;
}

.floating-stat .stat-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    margin: 0;
}

.floating-stat .stat-text {
    display: flex;
    flex-direction: column;
}

.floating-stat .stat-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
    line-height: 1;
}

.floating-stat .stat-label {
    font-size: 0.8rem;
    color: var(--gray);
    margin: 0;
    line-height: 1;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: var(--light);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(158, 158, 158, 0.3), transparent);
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.section-description {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: var(--primary);
}

.service-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.service-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 0 0 10px 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 25px;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-features span {
    background: var(--light);
    color: var(--dark);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Marketing Section */
.marketing-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f9f9f9 0%, #e5e5e5 100%);
    position: relative;
}

.marketing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(158, 158, 158, 0.3), transparent);
}

.marketing-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
    position: relative;
    height: 95%;
    margin-bottom: 50px;
}

.marketing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: var(--primary);
}

.marketing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.marketing-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 0 0 10px 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

.marketing-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.marketing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.marketing-card p {
    color: var(--gray);
    margin-bottom: 25px;
}

.marketing-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.marketing-features span {
    background: var(--light);
    color: var(--dark);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.marketing-roi {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), rgba(255, 149, 0, 0.1));
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.marketing-roi i {
    color: var(--primary);
    font-size: 1.2rem;
}

.marketing-roi span {
    color: var(--dark);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Portfolio Section */
.portfolio-section {
    padding: 100px 0;
    background: white;
    position: relative;
}

.portfolio-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(158, 158, 158, 0.3), transparent);
}

.portfolio-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(26, 26, 26, 0.9), 
        rgba(255, 140, 0, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    text-align: center;
    color: white;
}

.portfolio-info h4 {
    color: white;
    margin-bottom: 10px;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white !important;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.portfolio-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.portfolio-content {
    padding: 30px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.portfolio-tags span {
    background: var(--light);
    color: var(--dark);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Process Section */
.process-section {
    padding: 100px 0;
    background: var(--light);
    margin-top: 50px;
    position: relative;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(158, 158, 158, 0.3), transparent);
}

.process-step {
    text-align: center;
    position: relative;
    padding: 30px 20px;
}

.step-number {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 30px auto 20px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.process-step:hover .step-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    transform: scale(1.1);
}

.process-step h4 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.process-step p {
    color: var(--gray);
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: #f5f5f5;
}

.contact-form-wrapper {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(158, 158, 158, 0.1);
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form .form-control {
    background: var(--light);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.1);
    outline: none;
}

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

.contact-info {
    text-align: center;
    padding: 30px 20px;
}

.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.contact-info h4 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.contact-info p {
    color: var(--gray);
    font-size: 1.1rem;
    margin: 0;
}

/* Layout */
html {
    height: 100%;
}

/* Modern Footer Styles */
.modern-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    margin-top: auto;
    flex-shrink: 0;
}

.footer-main {
    padding: 40px 0 15px;
    position: relative;
}

.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.footer-brand .brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff, #e5e5e5);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand .brand-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    border-color: var(--primary);
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff !important;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    border-radius: 1px;
    box-shadow: 0 2px 8px var(--amber-glow);
}

.link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-list li {
    margin-bottom: 10px;
}

.link-list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.link-list a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.footer-contact .contact-item i {
    font-size: 1.1rem;
    color: var(--primary);
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}

.footer-contact .contact-item strong {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin-right: 6px;
    font-weight: 600;
}

.footer-contact .contact-item a,
.footer-contact .contact-item span {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-contact .contact-item a:hover {
    color: var(--primary);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
    position: relative;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* Desktop Footer Styles - 3x1 Layout */
@media (min-width: 992px) {
    .footer-main {
        padding: 35px 0 15px;
    }
    
    .footer-brand {
        margin-bottom: 30px;
        text-align: center !important;
    }
    
    .footer-brand .brand-name {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }
    
    .footer-brand .brand-tagline {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    /* Wycentrowanie 3 kolumn na desktop */
    .footer-main .row.g-4.mt-4 {
        justify-content: center;
        max-width: 900px;
        margin: 0 auto;
    }
    
    .footer-main .row.g-4.mt-4 .col-lg-4 {
        flex: 0 0 300px;
        max-width: 300px;
        text-align: center;
    }
    
    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
        text-align: center !important;
    }
    
    .link-list a {
        font-size: 0.9rem;
    }
    
    .footer-links {
        text-align: center !important;
        margin-bottom: 0;
    }
    
    .footer-contact {
        text-align: center !important;
    }
    
    .footer-contact .contact-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-bottom: 12px;
    }
    
    .footer-contact .contact-item i {
        font-size: 1rem;
        margin-top: 0;
    }
    
    .social-links {
        justify-content: center !important;
    }
    
    /* Gradient paski wyśrodkowane na desktop */
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 2px;
    }
}

.footer-bottom-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer-bottom-links a:hover::after {
    width: 100%;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .footer-main {
        padding: 40px 0 30px;
    }
    
    .footer-brand {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .copyright {
        text-align: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-modern {
        padding-top: 80px; /* Dodaje odstęp od navbara */
        min-height: calc(100vh - 80px);
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-badge {
        font-size: 0.9rem;
        padding: 8px 20px;
        margin-bottom: 20px;
        letter-spacing: 0.3px;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .btn-primary-custom,
    .btn-secondary-custom {
        width: 100%;
        justify-content: center;
        padding: 15px 25px;
    }
    
    /* Sekcja statystyk - layout 2x2 */
    .stats-section .row {
        margin: 0 -10px;
    }
    
    .stats-section .col-lg-3.col-md-6 {
        padding: 0 10px 20px;
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .stat-card {
        padding: 25px 15px;
        margin-bottom: 15px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .service-card.featured {
        transform: none;
    }
    
    .marketing-card.featured {
        transform: none;
    }
    
    .marketing-card {
        margin-bottom: 30px;
    }
    
    /* IMS Section - layout 2x2 */
    .ims-features .row {
        margin: 0 -10px;
    }
    
    .ims-features .col-md-6 {
        padding: 0 10px 20px;
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .ims-feature {
        flex-direction: column;
        text-align: center;
        padding: 20px 10px;
    }
    
    .ims-feature .feature-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    /* Ukryj floating cards i zmniejsz grafiki */
    .floating-card {
        display: none;
    }
    
    /* Przywróć widoczność pulsujących ikon */
    .hero-central-graphic {
        width: 200px;
        height: 200px;
        opacity: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }
    
    .graphic-circle {
        width: 120px;
        height: 120px;
        font-size: 3rem;
        opacity: 1;
        visibility: visible;
    }
    
    .graphic-orbit.orbit-1 {
        width: 160px;
        height: 160px;
        top: 20px;
        left: 20px;
        opacity: 0.6;
        visibility: visible;
    }
    
    .graphic-orbit.orbit-2 {
        width: 180px;
        height: 180px;
        top: 10px;
        left: 10px;
        opacity: 0.4;
        visibility: visible;
    }
    
    /* Process Section - layout 2x2 */
    .process-steps .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 30px;
    }
    
    .process-step {
        padding: 20px 15px;
    }
    
    .process-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .process-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .process-description {
        font-size: 0.9rem;
    }
    
    /* Contact section - zmniejsz ikony */
    .contact-info {
        padding: 20px 15px;
        margin-bottom: 25px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .contact-info h4 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .contact-info p {
        font-size: 0.95rem;
    }
    
    /* Zmniejsz wysokość sekcji dla lepszego scrollowania */
    .stats-section {
        padding: 60px 0;
    }
    
    .services-section {
        padding: 60px 0;
    }
    
    .marketing-section {
        padding: 60px 0;
    }
    
    .ims-section {
        padding: 60px 0;
    }
    
    .process-section {
        padding: 60px 0;
    }
    
    .contact-section {
        padding: 60px 0;
    }
    
    /* Marketing Cards - layout 2x3 */
    .marketing-grid .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 25px;
    }
    
    .marketing-card {
        padding: 25px 15px;
        margin-bottom: 15px;
    }
    
    .marketing-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .marketing-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .marketing-card p {
        font-size: 0.9rem;
    }
    
    /* Service Cards */
    .service-card {
        padding: 25px 15px;
        margin-bottom: 20px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    /* Hero visual responsywność */
    .hero-visual {
        margin-top: 40px;
        padding: 20px 0;
    }
    
    .graphic-orbit.orbit-2 {
        width: 150px;
        height: 150px;
    }
    
    /* IMS Section Mobile */
    .ims-content {
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .ims-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-secondary-outline {
        width: 100%;
        justify-content: center;
    }
    
    .floating-stat {
        display: none;
    }
    
    .ims-preview {
        padding: 20px 0;
    }
}

/* Dodatkowe style dla bardzo małych ekranów */
@media (max-width: 576px) {
    .hero-modern {
        padding-top: 90px;
        min-height: calc(100vh - 90px);
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.25;
        margin-bottom: 1.5rem;
    }
    
    .hero-badge {
        font-size: 0.9rem;
        padding: 10px 20px;
        margin-bottom: 24px;
        letter-spacing: 0.3px;
    }
    
    .hero-description {
        font-size: 1.15rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }
    
    /* Statystyki - layout 2x2 na telefonach - zmniejszone */
    .stats-section .col-lg-3.col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0 3px 10px;
    }
    
    .stat-card {
        padding: 15px 8px;
        margin-bottom: 10px;
    }
    
    .stat-icon {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }
    
    .stat-number.ai-powered {
        font-size: 1.5rem !important;
        margin-bottom: 0.25rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    /* IMS features - layout 2x2 na telefonach */
    .ims-features .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0 5px 15px;
    }
    
    .ims-feature {
        padding: 15px 10px;
    }
    
    /* Process section - layout 2x2 */
    .process-steps .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0 5px 15px;
    }
    
    .process-step {
        padding: 20px 10px;
    }
    
    /* Marketing grid - teraz carousel na mobile */
    /* Stare style zostały zastąpione przez horizontal carousel */
    
    /* Nasze usługi - teraz carousel na mobile */
    /* Stare style zostały zastąpione przez horizontal carousel */
    
    /* Portfolio - teraz carousel na mobile */
    /* Stare style zostały zastąpione przez horizontal carousel */
    
    /* Footer - kompaktowa wersja mobilna */
    .footer-main {
        padding: 30px 0 20px;
    }
    
    .footer-brand {
        margin-bottom: 25px;
    }
    
    .footer-brand h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .footer-brand p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .footer-links {
        margin-bottom: 20px;
    }
    
    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 16px;
        font-weight: 600;
    }
    
    .link-list li {
        margin-bottom: 8px;
    }
    
    .link-list a {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .footer-contact {
        margin-bottom: 20px;
    }
    
    .contact-item {
        margin-bottom: 15px;
        padding: 10px;
    }
    
    .contact-item i {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }
    
    .contact-item strong {
        font-size: 0.9rem;
    }
    
    .contact-item a,
    .contact-item span {
        font-size: 0.85rem;
    }
    
    .footer-bottom {
        padding: 15px 0;
    }
    
    .footer-bottom-links {
        margin-top: 10px;
        justify-content: center;
    }
    
    .footer-bottom-links a {
        font-size: 0.7rem;
        margin: 0 1px;
    }
    
    .copyright {
        font-size: 0.9rem;
        text-align: center;
        margin-bottom: 5px;
    }
    
    /* Zmniejsz padding sekcji jeszcze bardziej */
    .stats-section,
    .services-section,
    .marketing-section,
    .ims-section,
    .process-section,
    .contact-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Mobilna nawigacja */
    .navbar-toggler {
        border: none;
        padding: 4px 8px;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
    
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        margin-top: 15px;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        padding: 20px;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 0 !important;
        color: #181818 !important;
        margin: 0 !important;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        text-align: center;
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    .call-now-button-light {
        margin-top: 15px;
        text-align: center;
        display: block;
    }
    
    /* Footer na bardzo małych ekranach - jeszcze bardziej kompaktowa */
    .footer-main {
        padding: 25px 0 15px;
    }
    
    .footer-brand {
        margin-bottom: 20px;
    }
    
    .footer-brand h3 {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
    
    .footer-brand p {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .footer-links {
        margin-bottom: 15px;
    }
    
    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .link-list li {
        margin-bottom: 6px;
    }
    
    .link-list a {
        font-size: 0.85rem;
    }
    
    .footer-contact .row .col-md-4 {
        margin-bottom: 15px;
    }
    
    .contact-item {
        padding: 8px;
        margin-bottom: 10px;
    }
    
    .contact-item i {
        font-size: 1.1rem;
        margin-bottom: 3px;
    }
    
    .footer-bottom {
        padding: 12px 0;
    }
}

/* Dropdown menu styling */
.navbar-nav .dropdown-menu {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(158, 158, 158, 0.2);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 15px 5px;
    margin-top: 10px;
    min-width: 220px;
    animation: dropdown-fade-in 0.3s ease;
    z-index: 1060 !important;
}

@keyframes dropdown-fade-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-nav .dropdown-item {
    color: var(--dark) !important;
    padding: 12px 20px;
    border-radius: 10px;
    margin: 2px 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-weight: 500;
    text-decoration: none;
}

.navbar-nav .dropdown-item:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white !important;
    transform: translateX(5px);
}

.navbar-nav .dropdown-item i {
    color: var(--primary);
    width: 20px;
    transition: color 0.3s ease;
}

.navbar-nav .dropdown-item:hover i {
    color: white;
}

.navbar-nav .dropdown-divider {
    margin: 10px 15px;
    border-color: rgba(158, 158, 158, 0.3);
}

.navbar-nav .dropdown-toggle::after {
    transition: transform 0.3s ease;
}

.navbar-nav .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* Dodatkowe usprawnienia mobilne */
@media (max-width: 576px) {
    /* Hero section mobile optimizations */
    .hero-modern {
        padding-top: 90px;
        min-height: calc(100vh - 90px);
        padding-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Central illustration mobile fixes - ukrycie na mobile */
    .hero-visual {
        display: none !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden;
    }
    
    .hero-central-graphic {
        display: none !important;
        height: 0 !important;
    }
    
    .hero-central-graphic .graphic-circle {
        display: none !important;
    }
    
    /* Ukryj floating cards na mobile */
    .floating-cards-container {
        display: none !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .floating-card {
        display: none !important;
        height: 0 !important;
    }
    
    .floating-card .card-content {
        display: none !important;
    }
    
    .floating-card h4 {
        display: none !important;
    }
    
    .floating-card p {
        display: none !important;
    }
    
    .floating-card i {
        display: none !important;
    }
    
    /* Responsive hero content spacing */
    .hero-content {
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        margin-top: 2.5rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn-primary-custom,
    .hero-buttons .btn-secondary-custom {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 1rem;
        border-radius: 12px;
    }
    
    .hero-features {
        margin: 2rem 0;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .feature-item {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }
    
    /* Horizontal Carousel dla kart na mobile - nowoczesny UX */
    
    /* Services Section Carousel */
    .services-section .row.mt-5 {
        overflow-x: auto;
        overflow-y: hidden;
        display: flex !important;
        flex-wrap: nowrap !important;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        gap: 1rem;
    }
    
    .services-section .col-lg-4.col-md-6 {
        flex: 0 0 280px !important;
        max-width: 280px !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
        scroll-snap-align: start;
    }
    
    .service-card {
        height: 100%;
        margin: 10px;
        padding: 24px 20px;
        border-radius: 16px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    /* Portfolio Section Carousel */
    .portfolio-section .row.mt-5 {
        overflow-x: auto;
        overflow-y: hidden;
        display: flex !important;
        flex-wrap: nowrap !important;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        gap: 1rem;
    }
    
    .portfolio-section .col-lg-4.col-md-6 {
        flex: 0 0 260px !important;
        max-width: 260px !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
        scroll-snap-align: start;
    }
    
    .portfolio-card {
        height: 100%;
        margin: 0;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    }
    
    /* Marketing Section Carousel */
    .marketing-section .row.mt-5 {
        overflow-x: auto;
        overflow-y: hidden;
        display: flex !important;
        flex-wrap: nowrap !important;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        gap: 1rem;
    }
    
    .marketing-section .col-lg-4.col-md-6 {
        flex: 0 0 250px !important;
        max-width: 250px !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
        scroll-snap-align: start;
    }
    
    .marketing-card {
        height: 100%;
        margin: 10px;
        padding: 20px 16px;
        border-radius: 16px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    }
    
    /* Scroll indicators */
    .services-section .row.mt-5::after,
    .portfolio-section .row.mt-5::after,
    .marketing-section .row.mt-5::after {
        content: "← Przewiń →";
        position: absolute;
        right: 1rem;
        bottom: 0.5rem;
        font-size: 0.75rem;
        color: var(--primary);
        opacity: 0.7;
        pointer-events: none;
    }
    
    /* Custom scrollbar dla carousel */
    .services-section .row.mt-5::-webkit-scrollbar,
    .portfolio-section .row.mt-5::-webkit-scrollbar,
    .marketing-section .row.mt-5::-webkit-scrollbar {
        height: 4px;
    }
    
    .services-section .row.mt-5::-webkit-scrollbar-track,
    .portfolio-section .row.mt-5::-webkit-scrollbar-track,
    .marketing-section .row.mt-5::-webkit-scrollbar-track {
        background: rgba(0,0,0,0.1);
        border-radius: 2px;
    }
    
    .services-section .row.mt-5::-webkit-scrollbar-thumb,
    .portfolio-section .row.mt-5::-webkit-scrollbar-thumb,
    .marketing-section .row.mt-5::-webkit-scrollbar-thumb {
        background: var(--primary);
        border-radius: 2px;
    }
    
    /* Dodatkowe style dla lepszego carousel experience */
    .services-section .container,
    .portfolio-section .container,
    .marketing-section .container {
        position: relative;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Fade effect na końcach carousel */
    .services-section .row.mt-5::before {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        width: 40px;
        height: 100%;
        
        pointer-events: none;
        z-index: 1;
    }
    
    .portfolio-section .row.mt-5::before,
    .marketing-section .row.mt-5::before {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        width: 40px;
        height: 100%;
        background: linear-gradient(to right, transparent, rgba(255,255,255,0.4));
        pointer-events: none;
        z-index: 1;
    }
    
    /* IMS Features cards 2x2 layout */
    .ims-features {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .ims-feature {
        margin-bottom: 0 !important;
        padding: 15px 10px !important;
    }
    
    .ims-feature .feature-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.2rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .ims-feature h4 {
        font-size: 0.95rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .ims-feature p {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
    }
    
    /* Contact icons in footer 3x1 layout */
    .footer-contact .row.justify-content-center {
        display: grid !important;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 0.5rem;
        max-width: 100%;
    }
    
    .footer-contact .col-md-4 {
        flex: none !important;
        max-width: 100% !important;
        width: 100% !important;
        margin-bottom: 5px !important;
    }
    
    .contact-item {
        font-size: 0.85rem;
        padding: 8px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.05);
    }
    
    .contact-item i {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
        color: var(--primary);
    }
    
    .contact-item strong {
        font-size: 0.8rem;
        margin-bottom: 4px;
        font-weight: 600;
    }
    
    .contact-item a,
    .contact-item span {
        font-size: 0.75rem;
        line-height: 1.3;
    }
}

/* CSS dla układu stopki na mobile */
@media (max-width: 576px) {
    .footer-main {
        padding: 20px 0 10px;
    }
    
    .footer-brand {
        margin-bottom: 15px;
    }
    
    .footer-brand .brand-name {
        font-size: 1.4rem;
        margin-bottom: 6px;
    }
    
    .footer-brand .brand-tagline {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    
    /* Services i Company obok siebie 50% każda */
    .footer-main .row.g-4.mt-4 .col-lg-4.col-md-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
        padding: 0 6px !important;
    }
    
    /* Contact na pełną szerokość */
    .footer-main .row.g-4.mt-4 .col-lg-4.col-md-12 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        margin-top: 0.75rem !important;
        padding: 0 10px !important;
    }
    
    .footer-links {
        padding: 0 2px;
        text-align: center;
    }
    
    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
        font-weight: 600;
        text-align: center !important;
    }
    
    .link-list {
        padding: 0;
    }
    
    .link-list li {
        margin-bottom: 4px;
    }
    
    .link-list a {
        font-size: 0.8rem;
        line-height: 1.3;
        padding: 2px 0;
        display: block;
    }
    
    /* Contact section - 1x3 vertical layout na mobile - węższe karty */
    .footer-contact {
        text-align: center;
        margin-top: 0.5rem;
    }
    
    .footer-contact .contact-item {
        display: block !important;
        width: 100% !important;
        margin: 0 0 10px 0 !important;
        padding: 6px 10px !important;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 6px;
        text-align: left;
        border-left: 2px solid var(--primary);
        min-height: auto;
    }
    
    .footer-contact .contact-item i {
        font-size: 1rem !important;
        margin-right: 8px !important;
        margin-bottom: 0 !important;
        color: var(--primary);
        display: inline-block;
        vertical-align: middle;
        width: 16px;
        text-align: center;
    }
    
    .footer-contact .contact-item strong {
        font-size: 0.75rem !important;
        margin-bottom: 0 !important;
        font-weight: 600;
        display: inline;
        margin-right: 4px;
        vertical-align: middle;
    }
    
    .footer-contact .contact-item a,
    .footer-contact .contact-item span {
        font-size: 0.7rem !important;
        line-height: 1.2 !important;
        display: inline-block;
        margin-top: 0.25rem;
        vertical-align: middle;
    }
    
    /* Gradient paski wyśrodkowane na mobile */
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 35px;
        height: 2px;
    }
}

/* CSS dla tablet - 2x1 + 1 layout */
@media (min-width: 577px) and (max-width: 991px) {
    .footer-main {
        padding: 30px 0 15px;
    }
    
    /* Services i Company obok siebie */
    .footer-main .row.g-4.mt-4 .col-lg-4.col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    /* Contact na pełną szerokość */
    .footer-main .row.g-4.mt-4 .col-lg-4.col-md-12 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-top: 1.5rem;
    }
    
    .footer-links {
        text-align: center;
        margin-bottom: 25px;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
        text-align: center !important;
    }
    
    .link-list a {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    /* Contact items w poziomie na tablet - 3x1 */
    .footer-contact .contact-item {
        display: inline-block;
        margin: 0 10px 10px 10px;
        padding: 8px 12px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        text-align: left;
        width: auto;
        min-width: 120px;
    }
    
    .footer-contact .contact-item i {
        display: inline-block;
        margin-right: 4px;
        font-size: 1rem;
        color: var(--primary);
        width: 16px;
        text-align: center;
        vertical-align: middle;
    }
    
    .footer-contact .contact-item strong {
        display: inline;
        font-size: 0.8rem;
        margin-bottom: 0;
        margin-right: 4px;
        vertical-align: middle;
    }
    
    .footer-contact .contact-item a,
    .footer-contact .contact-item span {
        display: inline;
        font-size: 0.75rem;
        vertical-align: middle;
    }
    
    /* Gradient paski wyśrodkowane na tablet */
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 45px;
        height: 2px;
    }
}
