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

/* Skip Links for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #8B4513;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    font-weight: 600;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* PERFORMANCE: Critical CSS - Font Loading Optimization */
/* Montserrat font is loaded via Google Fonts link in HTML head */


html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    color: #ffffff;
    background: #111111;
    overflow-x: hidden;
    font-weight: 400;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    text-rendering: optimizeLegibility;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #8B4513, #A0522D);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.4);
    font-weight: 600;
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.5);
    background: linear-gradient(135deg, #A0522D, #8B4513);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #8B4513;
    border: 2px solid rgba(139, 69, 19, 0.3);
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    border-color: rgba(139, 69, 19, 0.6);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.2);
}

.btn-light {
    background: white;
    color: #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.btn-success {
    background: linear-gradient(135deg, #F5F5DC, #E6E6D1);
    color: #1a202c;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(245, 245, 220, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 245, 220, 0.4);
}

/* Section Titles */
.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #ffffff;
    position: relative;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #F5F5DC, #E6E6D1);
    margin: 20px auto;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar.hidden {
    transform: translateY(-100%);
}

/* Ensure smooth transition when removing hidden class */
.navbar:not(.hidden) {
    transform: translateY(0);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 120px;
    position: relative;
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 0;
    position: relative;
}

.nav-logo::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -12px;
    right: -12px;
    bottom: -8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}



.logo-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    object-position: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.15));
    position: relative;
}

.logo-img::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.logo-img:hover {
    transform: translateY(-2px) scale(1.05);
    filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.25)) 
            drop-shadow(0 0 24px rgba(255, 255, 255, 0.15));
}

.logo-img:hover::before {
    opacity: 1;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.logo-text-svg {
    height: 130px;
    width: auto;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-text-svg:hover {
    transform: translateY(-1px);
}

.nav-logo h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3),
                 0 0 10px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.footer-contact a {
    color: rgb(245, 245, 220);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo span {
    background: linear-gradient(135deg, #F5F5DC 0%, #E6E6D1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(245, 245, 220, 0.3);
    transition: all 0.3s ease;
    
}


.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    letter-spacing: 0.02em;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #F5F5DC, transparent);
    transition: width 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.nav-link::after {
    display: none;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
    opacity: 1;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Premium CTA Button */
.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #F5F5DC, #E6E6D1);
    color: #1a202c;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(245, 245, 220, 0.2);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.nav-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: left 0.6s ease;
}

.nav-cta-btn:hover::before {
    left: 100%;
}

.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(245, 245, 220, 0.4), 0 0 10px rgba(245, 245, 220, 0.2) inset;
    background: #fff;
}

.nav-cta-btn:active {
    transform: translateY(0);
}

.nav-cta-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.nav-cta-btn:hover i {
    transform: rotate(15deg) scale(1.1);
}

.nav-cta-btn span {
    position: relative;
    z-index: 1;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height for mobile */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 120px; /* Wysokość nawigacji na desktop */
    padding-bottom: 2rem; /* Dodatkowy padding na dole */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    /* Optymalizacja wydajności */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Upewnij się, że film jest widoczny */
    display: block;
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.2rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.25;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    text-transform: uppercase;
}

.highlight {
    color: #F5F5DC;
    position: relative;
    font-weight: 500;
    display: inline-block;
    text-shadow: 0 0 20px rgba(245, 245, 220, 0.4);
}


.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.02em;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Hero scroll arrow */
.hero-scroll-arrow {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
    /* Ukryj na desktop */
    display: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.hero-scroll-arrow.hidden {
    opacity: 0;
    visibility: hidden;
}

.scroll-down-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.scroll-down-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: #F5F5DC;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}


/* Features Section */
.features {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 245, 220, 0.1);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 245, 220, 0.1), transparent);
    transition: left 0.6s;
}

.feature-card:hover::before {
    left: 100%;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #F5F5DC, #E6E6D1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #1a202c;
    font-size: 2rem;
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Calculator Section */
.calculator-section {
    padding: 60px 0;
    background: #f8f8f8;
    color: #1a1a1a;
}

.calculator-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

.calculator-text {
    padding-right: 1rem;
    position: sticky;
    top: 100px;
}

.calculator-text .section-title {
    color: #1a1a1a;
    text-shadow: none;
    text-align: left;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(-30px);
    animation: slideInUp 0.8s ease forwards;
    letter-spacing: -0.02em;
}

.calculator-text .section-title::after {
    margin: 1.5rem 0;
    background: #1a1a1a;
    width: 60px;
}

.calculator-text .section-subtitle {
    color: #555;
    text-shadow: none;
    text-align: left;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(-20px);
    animation: slideInUp 0.8s ease 0.2s forwards;
    font-weight: 300;
}

.calculator-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05);
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.6s ease forwards;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }
.feature-item:nth-child(4) { animation-delay: 0.4s; }

.feature-item:hover {
    background: #fff;
    transform: translateX(10px) translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: rgba(0,0,0,0.1);
}

.feature-item i {
    font-size: 1.2rem;
    color: #1a1a1a;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.feature-item:hover i {
    background: #1a1a1a;
    color: #fff;
}

.feature-item span {
    font-weight: 500;
    color: #1a1a1a;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}

.calculator-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-box {
    background: #fff;
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease forwards;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.stat-box:nth-child(1) { animation-delay: 0.5s; }
.stat-box:nth-child(2) { animation-delay: 0.6s; }

.stat-box:hover {
    background: #1a1a1a;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #1a1a1a;
}

.stat-box .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.3rem;
    transition: color 0.3s ease;
}

.stat-box:hover .stat-number {
    color: #fff;
}

.stat-box .stat-label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.stat-box:hover .stat-label {
    color: rgba(255,255,255,0.7);
}

.calculator-container {
    max-width: 800px;
    margin: 0;
    background: #fff;
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid rgba(0,0,0,0.05);
    width: 100%;
    box-sizing: border-box;
    opacity: 0;
    transform: translateX(30px);
    animation: slideInRight 0.8s ease 0.3s forwards;
    box-shadow: 0 20px 60px rgba(0,0,0,0.05);
}

.calculator-progress {
    margin-bottom: 2rem;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(26, 26, 26, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.8rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #C8B88A, #A89968);
    width: 16.66%;
    transition: width 0.5s ease;
    border-radius: 3px;
}

.progress-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
}

.calculator-step {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.calculator-step.active {
    display: block;
}

.calculator-step[data-show-for] {
    display: none;
}

.calculator-step[data-show-for].active {
    display: block;
}

.calculator-step h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #1a1a1a;
    font-weight: 600;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.option-card {
    background: #fff;
    border: 1px solid rgba(26, 26, 26, 0.1);
    border-radius: 16px;
    padding: 1.2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(200, 184, 138, 0.15), transparent);
    transition: left 0.6s;
}

.option-card:hover::before {
    left: 100%;
}

.option-card:hover {
    border-color: #C8B88A;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(200, 184, 138, 0.2);
}

.option-card.selected {
    border-color: #C8B88A;
    background: rgba(200, 184, 138, 0.08);
    box-shadow: 0 0 0 2px rgba(200, 184, 138, 0.15);
}

.option-card i {
    font-size: 1.8rem;
    color: #C8B88A;
    margin-bottom: 0.8rem;
}

.option-card h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: #1a1a1a;
    font-weight: 600;
}

.option-card p {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.4;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.checkbox-card {
    position: relative;
    cursor: pointer;
}

.checkbox-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-content {
    background: #fff;
    border: 1px solid rgba(26, 26, 26, 0.1);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    height: 100%;
    justify-content: center;
}

.checkbox-card:hover .checkbox-content {
    border-color: #C8B88A;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.checkbox-card input[type="checkbox"]:checked + .checkbox-content {
    border-color: #C8B88A;
    background: rgba(200, 184, 138, 0.08);
    box-shadow: 0 0 0 1px rgba(200, 184, 138, 0.15);
}

.checkbox-content i {
    font-size: 1.4rem;
    color: #C8B88A;
}

.checkbox-content span {
    color: #1a1a1a;
    font-size: 0.85rem;
    font-weight: 500;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1a1a1a;
    text-shadow: none;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px;
    border: 2px solid rgba(26, 26, 26, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    color: #1a1a1a;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(26, 26, 26, 0.5);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #8B4513;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.2);
}

.form-group.checkbox {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.form-group.checkbox label {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #1a1a1a;
    border-radius: 3px;
    position: relative;
    transition: all 0.3s ease;
}

.form-group.checkbox input[type="checkbox"] {
    display: none;
}

.form-group.checkbox input[type="checkbox"]:checked + .checkmark {
    background: #8B4513;
    border-color: #8B4513;
}

.form-group.checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.calculator-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

/* Projects Section - PERFORMANCE OPTIMIZED */
.projects-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    /* PERFORMANCE: Optimize rendering */
    content-visibility: auto;
    contain: layout style paint;
}

.projects-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #F5F5DC, #E6E6D1);
    border-color: #F5F5DC;
    color: #1a202c;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.project-card:hover .project-image img {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(4px);
}

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

.project-info {
    padding: 2rem;
    background: linear-gradient(180deg, rgba(26,26,26,0) 0%, rgba(26,26,26,1) 100%);
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: #ffffff;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.project-info p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.project-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.detail-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.project-card:hover .detail-item {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
}

.detail-item i {
    color: #F5F5DC;
    font-size: 0.9rem;
}

/* Timeline Section */
.timeline-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #F5F5DC, #E6E6D1);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #F5F5DC, #E6E6D1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a202c;
    font-size: 1.5rem;
    font-weight: 700;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 4px 15px rgba(245, 245, 220, 0.3);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 245, 220, 0.1);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    width: calc(50% - 60px);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    margin-right: 60px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
    margin-left: 60px;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: white;
    transform: translateY(-50%) rotate(45deg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -10px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -10px;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.timeline-duration {
    background: linear-gradient(135deg, #F5F5DC, #E6E6D1);
    color: #1a202c;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
}

.completion-estimate {
    margin-top: 6rem;
    text-align: center;
    padding: 0 1rem;
}

.estimate-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: #ffffff;
    padding: 3.5rem 3rem;
    border-radius: 30px;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.estimate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #F5F5DC, #E6E6D1, #F5F5DC);
    opacity: 0.6;
}

.estimate-card i {
    font-size: 2.5rem;
    color: #F5F5DC;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    display: inline-block;
}

.estimate-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.02em;
}

.estimated-date {
    font-size: 2.5rem;
    font-weight: 700;
    color: #F5F5DC;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 20px rgba(245, 245, 220, 0.3);
}

.estimate-card p {
    font-size: 0.85rem;
    opacity: 0.6;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 1;
    margin-bottom: 2.5rem;
    font-style: italic;
}

.consultation-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 36px;
    background: linear-gradient(135deg, #F5F5DC, #E6E6D1);
    color: #1a1a1a;
    border: none;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(245, 245, 220, 0.2);
    position: relative;
    overflow: hidden;
    min-height: 56px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.consultation-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: left 0.6s ease;
}

.consultation-btn:hover::before {
    left: 100%;
}

.consultation-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(245, 245, 220, 0.4);
    background: #ffffff;
}

.consultation-btn:active {
    transform: translateY(-1px);
}

.consultation-btn i {
    font-size: 18px;
    color: #1a1a1a;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.consultation-btn:hover i {
    transform: scale(1.1) rotate(5deg);
}

.consultation-btn span {
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
}

/* Consultation Modal */
.consultation-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.consultation-modal.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.consultation-modal-content {
    background: #ffffff;
    border-radius: 24px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transform: scale(0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    /* Enable smooth scrolling with mouse wheel */
    scroll-behavior: smooth;
    /* Custom scrollbar */
    scrollbar-width: thin;
    scrollbar-color: #8B4513 #f1f1f1;
    /* Ensure scrolling works */
    -webkit-overflow-scrolling: touch;
}

.consultation-modal-content::-webkit-scrollbar {
    width: 8px;
}

.consultation-modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.consultation-modal-content::-webkit-scrollbar-thumb {
    background: #C8B88A;
    border-radius: 4px;
}

.consultation-modal-content::-webkit-scrollbar-thumb:hover {
    background: #A89968;
}

.consultation-modal.active .consultation-modal-content {
    transform: scale(1);
}

.consultation-header {
    padding: 2.5rem 2.5rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 24px 24px 0 0;
}

.consultation-header h2 {
    color: #1a1a1a;
    font-size: 2rem;
    margin-bottom: 0.8rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    background: linear-gradient(135deg, #C8B88A, #A89968);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.consultation-header p {
    color: #6b7280;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.5;
}

.consultation-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.consultation-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #374151;
    transform: scale(1.1);
}

.consultation-form {
    padding: 2.5rem;
}

/* Appointment Summary Section */
.appointment-summary {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border: 2px solid rgba(200, 184, 138, 0.25);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(200, 184, 138, 0.15);
}

.appointment-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #C8B88A, #A89968);
}

.summary-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.summary-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #C8B88A, #A89968);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(200, 184, 138, 0.35);
}

.summary-text h4 {
    margin: 0 0 0.3rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    font-family: 'Montserrat', sans-serif;
}

.summary-time {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    color: #C8B88A;
    background: rgba(200, 184, 138, 0.12);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid rgba(200, 184, 138, 0.25);
}

.form-section {
    margin-bottom: 2.5rem;
}

.form-section h3 {
    color: #1f2937;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #C8B88A, #A89968);
    border-radius: 2px;
}

.error-message {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: none;
    align-items: center;
    gap: 0.5rem;
}

.error-message.show {
    display: flex;
}

.error-message i {
    font-size: 1rem;
}

/* Enhanced validation styles */
.validation-error-container {
    background: #fef2f2;
    border: 2px solid #dc2626;
    border-radius: 12px;
    margin: 1rem 0;
    padding: 1rem;
    animation: slideInDown 0.3s ease-out;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
}

.field-error {
    color: #dc2626;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    animation: slideInDown 0.2s ease-out;
}

.form-control.error {
    border-color: #dc2626 !important;
    background-color: #fef2f2 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

.form-control.valid {
    border-color: #10b981 !important;
    background-color: #f0fdf4 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

.option-card.required-highlight {
    border: 2px solid #dc2626 !important;
    background: linear-gradient(135deg, #fef2f2, #fecaca) !important;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2) !important;
}

/* Input focus states for better UX */
.form-control:focus {
    outline: none;
    border-color: #8B4513;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
    transition: all 0.2s ease;
}

.form-control.error:focus {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2) !important;
}

.form-control.valid:focus {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2) !important;
}

/* Checkbox validation styles */
.checkbox label.error {
    color: #dc2626 !important;
    background-color: #fef2f2 !important;
    padding: 0.5rem !important;
    border-radius: 8px !important;
    border: 1px solid #dc2626 !important;
}

/* Animations for validation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Mobile responsiveness for validation */
@media (max-width: 768px) {
    .validation-error-container {
        margin: 0.5rem 0;
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .field-error {
        font-size: 0.75rem;
    }
    
    .option-card.required-highlight {
        transform: scale(1.01);
    }
}

/* Day Selection Styles */
.day-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.day-slot {
    padding: 1rem 0.8rem;
    border: 2px solid #e5e7eb;
    background: #ffffff;
    color: #374151;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    text-align: center;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.day-slot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #C8B88A, #A89968);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.day-slot:hover {
    border-color: #C8B88A;
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 184, 138, 0.25);
}

.day-slot:hover::before {
    opacity: 0.1;
}

.day-slot.selected {
    background: linear-gradient(135deg, #C8B88A, #A89968);
    color: #1a1a1a;
    border-color: #C8B88A;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 184, 138, 0.4);
}

.day-slot.selected::before {
    opacity: 0;
}

.day-slot .day-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.2rem;
    position: relative;
    z-index: 1;
}

.day-slot .day-date {
    font-size: 0.8rem;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

.day-slot.selected .day-date {
    opacity: 0.9;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 0.8rem;
}

/* No slots message */
.no-slots-message {
    text-align: center;
    padding: 2rem 1rem;
    background: #fef2f2;
    border: 2px solid #fecaca;
    border-radius: 16px;
    color: #dc2626;
}

.no-slots-message i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.no-slots-message p {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}

.time-slot {
    padding: 1rem;
    border: 2px solid #e5e7eb;
    background: #ffffff;
    color: #374151;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    text-align: center;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.time-slot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #C8B88A, #A89968);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.time-slot:hover {
    border-color: #C8B88A;
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 184, 138, 0.25);
}

.time-slot:hover::before {
    opacity: 0.1;
}

.time-slot.selected {
    background: linear-gradient(135deg, #C8B88A, #A89968);
    color: #1a1a1a;
    border-color: #C8B88A;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 184, 138, 0.4);
}

.time-slot.selected::before {
    opacity: 0;
}

.phone-input-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.country-selector {
    flex: 0 0 200px;
}

.country-select {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #e5e7eb;
    background: #ffffff;
    color: #374151;
    border-radius: 16px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.country-select:focus {
    outline: none;
    border-color: #C8B88A;
    box-shadow: 0 0 0 3px rgba(200, 184, 138, 0.2);
}

.phone-input {
    flex: 1;
}

.phone-input input {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #e5e7eb;
    background: #ffffff;
    color: #374151;
    border-radius: 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.phone-input input:focus {
    outline: none;
    border-color: #C8B88A;
    box-shadow: 0 0 0 3px rgba(200, 184, 138, 0.2);
}

.phone-input input.error {
    border-color: #dc2626;
    background: #fef2f2;
}

.phone-input input.error:focus {
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.checkbox-group {
    margin-top: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    color: #1a1a1a;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Specific styles for consultation modal checkbox */
.consultation-modal .checkbox-label {
    color: #2d3748;
    font-weight: 400;
    align-items: flex-start;
}

.consultation-modal .checkbox-text {
    color: #2d3748;
    white-space: normal;
    line-height: 1.6;
    display: inline;
}

.consultation-modal .privacy-link {
    color: #C8B88A;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline;
    padding: 0;
    margin: 0;
    background: none;
    border: none;
    border-bottom: 1px dotted #C8B88A;
}

.consultation-modal .privacy-link:hover {
    color: #A89968;
    border-bottom-color: #A89968;
    border-bottom-style: solid;
}

/* Consultation modal checkbox styling */
.consultation-modal .checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.consultation-modal .checkmark:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.consultation-modal .checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, #C8B88A, #A89968);
    border-color: #C8B88A;
    box-shadow: 0 4px 12px rgba(200, 184, 138, 0.4);
    transform: translateY(-1px);
}

.consultation-modal .checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #1a1a1a;
    font-weight: bold;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, #C8B88A, #A89968);
    border-color: #C8B88A;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.privacy-link {
    color: #C8B88A;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #C8B88A;
    transition: all 0.2s ease;
}

.privacy-link:hover {
    color: #A89968;
    border-bottom-color: #A89968;
}

.privacy-link:hover {
    text-decoration: underline;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.btn-secondary {
    background: #f8f9fa;
    color: #6b7280;
    border: 2px solid #e5e7eb;
    padding: 1rem 2rem;
    border-radius: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #e5e7eb;
    color: #374151;
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, #C8B88A, #A89968);
    color: #1a1a1a;
    border: none;
    padding: 1rem 2rem;
    border-radius: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(200, 184, 138, 0.4);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 184, 138, 0.5);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.consultation-confirmation {
    padding: 3rem 2rem;
    text-align: center;
}

.confirmation-icon {
    font-size: 4rem;
    color: #8B4513;
    margin-bottom: 1.5rem;
}

.confirmation-icon i {
    animation: bounce 0.6s ease;
}

.consultation-confirmation h3 {
    color: #1a1a1a;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.consultation-confirmation p {
    color: #2c2c2c;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.appointment-details {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 2px solid rgba(139, 69, 19, 0.2);
}

.appointment-date, .appointment-time, .appointment-phone {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.appointment-date {
    color: #8B4513;
    font-size: 1.4rem;
}

.confirmation-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Removed duplicate - using the one with translateX(-50%) above */

/* Responsive styles for consultation modal */
@media (max-width: 768px) {
    .consultation-modal-content {
        width: 95%;
        margin: 0.5rem;
        max-height: 98vh;
        border-radius: 16px;
    }
    
    .consultation-header {
        padding: 1rem 1rem 0.8rem;
    }
    
    .consultation-header h2 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }
    
    .consultation-header p {
        font-size: 0.9rem;
        margin-bottom: 0;
    }
    
    .consultation-form {
        padding: 1rem;
        max-height: calc(98vh - 120px);
        overflow-y: auto;
    }
    
    .appointment-summary {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .summary-content {
        gap: 0.8rem;
    }
    
    .summary-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .summary-text h4 {
        font-size: 1rem;
    }
    
    .summary-time {
        font-size: 0.9rem;
        padding: 0.3rem 0.6rem;
    }
    
    .form-section {
        margin-bottom: 1.2rem;
    }
    
    .form-section h3 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .day-selection {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    
    .day-slot {
        padding: 0.8rem 0.6rem;
        font-size: 0.8rem;
        min-height: 50px;
    }
    
    .day-slot .day-name {
        font-size: 0.9rem;
        margin-bottom: 0.1rem;
    }
    
    .day-slot .day-date {
        font-size: 0.7rem;
    }
    
    .time-slots {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }
    
    .time-slot {
        padding: 0.6rem 0.3rem;
        font-size: 0.8rem;
        min-height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        text-align: center;
    }
    
    .phone-input-group {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .country-selector {
        flex: none;
        width: 100%;
    }
    
    .country-select, .phone-input input {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        border-radius: 12px;
    }
    
    .checkbox-group {
        margin-top: 0.8rem;
    }
    
    .checkbox-label {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .checkmark {
        width: 18px;
        height: 18px;
        border-radius: 6px;
    }
    
    .form-actions {
        flex-direction: row;
        gap: 0.8rem;
        margin-top: 1.2rem;
        padding-top: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        flex: 1;
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        border-radius: 12px;
    }
    
    .confirmation-actions {
        flex-direction: row;
        gap: 0.8rem;
    }
    
    .consultation-close {
        top: 0.8rem;
        right: 0.8rem;
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .error-message {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        margin-top: 0.3rem;
    }
}

@media (max-width: 480px) {
    .consultation-modal-content {
        width: 98%;
        margin: 0.3rem;
        border-radius: 16px;
        max-height: 99vh;
    }
    
    .consultation-header {
        padding: 0.8rem 0.8rem 0.6rem;
    }
    
    .consultation-header h2 {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
    }
    
    .consultation-header p {
        font-size: 0.8rem;
        margin-bottom: 0;
    }
    
    .consultation-form {
        padding: 0.8rem;
        max-height: calc(99vh - 100px);
        overflow-y: auto;
    }
    
    .appointment-summary {
        padding: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .summary-content {
        gap: 0.6rem;
    }
    
    .summary-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .summary-text h4 {
        font-size: 0.9rem;
    }
    
    .summary-time {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
    
    .form-section {
        margin-bottom: 1rem;
    }
    
    .form-section h3 {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    
    .day-selection {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem;
    }
    
    .day-slot {
        padding: 0.6rem 0.4rem;
        font-size: 0.75rem;
        min-height: 45px;
    }
    
    .day-slot .day-name {
        font-size: 0.8rem;
        margin-bottom: 0.1rem;
    }
    
    .day-slot .day-date {
        font-size: 0.65rem;
    }
    
    .time-slots {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
    }
    
    .time-slot {
        padding: 0.5rem 0.2rem;
        font-size: 0.75rem;
        min-height: 36px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .country-select, .phone-input input {
        padding: 0.7rem 0.8rem;
        font-size: 0.85rem;
        border-radius: 10px;
    }
    
    .checkbox-label {
        font-size: 0.8rem;
        line-height: 1.2;
    }
    
    .checkmark {
        width: 16px;
        height: 16px;
        border-radius: 4px;
    }
    
    .form-actions {
        margin-top: 1rem;
        padding-top: 0.8rem;
        gap: 0.6rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
        border-radius: 10px;
    }
    
    .consultation-close {
        top: 0.6rem;
        right: 0.6rem;
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .estimate-card {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }
    
    .consultation-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
        min-height: 48px;
        gap: 8px;
    }
    
    .consultation-btn i {
        font-size: 14px;
        width: 16px;
        height: 16px;
    }
}

/* Extra small screens optimization */
@media (max-width: 360px) {
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        padding-top: 100px;
        padding-bottom: 2rem;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        padding: 1.5rem 1rem;
        margin-top: 0;
        gap: 1.2rem;
    }

    .hero-title {
        font-size: 1.6rem;
        line-height: 1.15;
        font-weight: 300;
        letter-spacing: 0.06em;
        word-spacing: 0.12em;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        /* Ukryj przyciski na bardzo małych ekranach */
        display: none;
    }
    
    /* Pokaż strzałkę przewijania na bardzo małych ekranach */
    .hero-scroll-arrow {
        display: block;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        right: auto;
    }
    
    .scroll-down-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
        margin: 0 auto;
    }


    .consultation-modal-content {
        width: 99%;
        margin: 0.2rem;
        max-height: 99.5vh;
    }
    
    .consultation-header {
        padding: 0.6rem 0.6rem 0.4rem;
    }
    
    .consultation-header h2 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }
    
    .consultation-header p {
        font-size: 0.75rem;
    }
    
    .consultation-form {
        padding: 0.6rem;
        max-height: calc(99.5vh - 80px);
    }
    
    .appointment-summary {
        padding: 0.6rem;
        margin-bottom: 0.8rem;
    }
    
    .summary-content {
        gap: 0.5rem;
    }
    
    .summary-icon {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .summary-text h4 {
        font-size: 0.85rem;
    }
    
    .summary-time {
        font-size: 0.75rem;
        padding: 0.2rem 0.4rem;
    }
    
    .form-section {
        margin-bottom: 0.8rem;
    }
    
    .form-section h3 {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .day-selection {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.3rem;
    }
    
    .day-slot {
        padding: 0.5rem 0.3rem;
        font-size: 0.7rem;
        min-height: 40px;
    }
    
    .day-slot .day-name {
        font-size: 0.75rem;
        margin-bottom: 0.05rem;
    }
    
    .day-slot .day-date {
        font-size: 0.6rem;
    }
    
    .time-slots {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.3rem;
    }
    
    .time-slot {
        padding: 0.4rem 0.1rem;
        font-size: 0.7rem;
        min-height: 32px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .country-select, .phone-input input {
        padding: 0.6rem 0.7rem;
        font-size: 0.8rem;
        border-radius: 8px;
    }
    
    .checkbox-label {
        font-size: 0.75rem;
        line-height: 1.1;
    }
    
    .checkmark {
        width: 14px;
        height: 14px;
        border-radius: 3px;
    }
    
    .form-actions {
        margin-top: 0.8rem;
        padding-top: 0.6rem;
        gap: 0.5rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
        border-radius: 8px;
    }
    
    .consultation-close {
        top: 0.4rem;
        right: 0.4rem;
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }
}

/* Landscape orientation optimization for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        padding-top: 100px;
        padding-bottom: 2rem;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        padding: 1.5rem 1rem;
        margin-top: 0;
        gap: 1.2rem;
    }

    .hero-title {
        font-size: 1.7rem;
        line-height: 1.15;
        font-weight: 300;
        letter-spacing: 0.06em;
        word-spacing: 0.12em;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }


    .hero-buttons {
        flex-direction: row;
        gap: 0.8rem;
        justify-content: center;
    }

    .hero-buttons .btn {
        flex: 1;
        max-width: 200px;
        padding: 10px 16px;
        font-size: 13px;
    }

    .consultation-modal-content {
        max-height: 95vh;
        margin: 0.3rem;
    }
    
    .consultation-header {
        padding: 0.8rem 1rem 0.5rem;
    }
    
    .consultation-header h2 {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }
    
    .consultation-header p {
        font-size: 0.8rem;
        margin-bottom: 0;
    }
    
    .consultation-form {
        padding: 0.8rem;
        max-height: calc(95vh - 80px);
    }
    
    .form-section {
        margin-bottom: 0.8rem;
    }
    
    .form-section h3 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .time-slots {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.4rem;
    }
    
    .time-slot {
        padding: 0.5rem 0.2rem;
        font-size: 0.75rem;
        min-height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .phone-input-group {
        flex-direction: row;
        gap: 0.6rem;
    }
    
    .country-selector {
        flex: 0 0 140px;
    }
    
    .form-actions {
        margin-top: 0.8rem;
        padding-top: 0.6rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 245, 220, 0.1);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    color: #ffffff;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.faq-question:hover {
    background: rgba(245, 245, 220, 0.1);
}

.faq-question i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    color: #F5F5DC;
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
}

.faq-answer.active {
    max-height: 200px;
    padding: 0 2rem 1.5rem 2rem;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 245, 220, 0.1);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 245, 220, 0.1), transparent);
    transition: left 0.6s;
}

.testimonial-card:hover::before {
    left: 100%;
}

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

.testimonial-content {
    margin-bottom: 1.5rem;
}

.stars {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.stars i {
    color: #F5F5DC;
    font-size: 1.1rem;
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.author-info h4 {
    color: #F5F5DC;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-family: 'Montserrat', sans-serif;
}

.author-info span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 245, 220, 0.1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #F5F5DC, #E6E6D1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #1a202c;
    font-size: 1.5rem;
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.contact-card a {
    color: #F5F5DC;
    text-decoration: none;
    font-weight: 500;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-hours {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 245, 220, 0.1);
    padding: 2rem;
    border-radius: 15px;
}

.contact-form .form-group input,
.contact-form .form-group textarea,
.contact-form .form-group select {
    background: white;
    color: #333;
    border: 2px solid #e9ecef;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus,
.contact-form .form-group select:focus {
    border-color: #F5F5DC;
    box-shadow: 0 0 0 3px rgba(245, 245, 220, 0.1);
}

/* Formularz kontaktowy w sekcji kontakt - białe labele na szarym tle */
.contact-form-container .contact-form .form-group label {
    color: #ffffff;
}

/* Formularz w kalkulatorze - czarne labele na białym tle */
.calculator-step .contact-form .form-group label {
    color: #1a1a1a;
}

/* Formularz kontaktowy w sekcji kontakt - biała obramówka checkboxa */
.contact-form-container .contact-form .form-group.checkbox .checkmark {
    border: 2px solid #ffffff;
}

/* Formularz w kalkulatorze - czarna obramówka checkboxa */
.calculator-step .contact-form .form-group.checkbox .checkmark {
    border: 2px solid #1a1a1a;
}

.contact-form .form-group.checkbox input[type="checkbox"]:checked + .checkmark {
    background: #8B4513;
    border-color: #8B4513;
}

.contact-form .privacy-link {
    color: #8B4513;
    text-decoration: none;
    font-weight: 600;
    display: inline;
}

.contact-form .privacy-link:hover {
    color: #A0522D;
    text-decoration: underline;
}

.social-media {
    text-align: center;
}

.social-media h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-link.facebook {
    background: #3b5998;
}
.social-link.whatsapp {
    background: #25D366;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link.youtube {
    background: #ff0000;
}
.social-link.tiktok {
    background: #000000;
}

.social-link.linkedin {
    background: #0077b5;
}

/* Footer */
.footer {
    background: #0a0a0a;
    color: white;
    padding: 80px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #F5F5DC, transparent);
    opacity: 0.3;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #F5F5DC, #E6E6D1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #F5F5DC;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.footer-section p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: #F5F5DC;
    transform: translateX(5px);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.footer-social a:hover {
    background: #F5F5DC;
    color: #0a0a0a;
    border-color: #F5F5DC;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(245, 245, 220, 0.3);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-contact p a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact p a:hover {
    color: #F5F5DC;
}

.footer-contact i {
    color: #F5F5DC;
    width: 18px;
    font-size: 1rem;
}

.working-hours p {
    margin-bottom: 0.6rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-bottom {
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

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

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

.footer-links a:hover {
    color: #F5F5DC;
}

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #F5F5DC, #E6E6D1);
    color: #1a202c;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(245, 245, 220, 0.4);
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Cookie Consent Popup - Premium Design */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98) 0%, rgba(45, 45, 45, 0.98) 100%);
    backdrop-filter: blur(20px);
    border-top: 2px solid rgba(245, 245, 220, 0.3);
    padding: 0;
    z-index: 10000;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.cookie-consent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(245, 245, 220, 0.5) 50%, transparent 100%);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.cookie-icon-wrapper {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.3);
    border: 2px solid rgba(245, 245, 220, 0.2);
}

.cookie-icon-wrapper i {
    font-size: 1.8rem;
    color: #F5F5DC;
}

.cookie-text {
    flex: 1;
    min-width: 0;
}

.cookie-text h3 {
    color: #F5F5DC;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.cookie-text h3 i {
    color: #8B4513;
    font-size: 1.2rem;
}

.cookie-text p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.cookie-text p i {
    color: #8B4513;
    font-size: 0.9rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cookie-actions .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 140px;
    justify-content: center;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    border: 2px solid #8B4513;
    color: #F5F5DC;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #A0522D 0%, #8B4513 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
}

.cookie-btn-accept:hover i {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

.cookie-btn-settings {
    background: transparent;
    border: 2px solid rgba(245, 245, 220, 0.3);
    color: #F5F5DC;
}

.cookie-btn-settings:hover {
    background: rgba(245, 245, 220, 0.1);
    border-color: #F5F5DC;
    transform: translateY(-2px);
}

.cookie-btn-settings:hover i {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

.privacy-link {
    color: #F5F5DC;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.8rem 1.2rem;
    border-radius: 6px;
    border: 1px solid rgba(245, 245, 220, 0.2);
    background: rgba(245, 245, 220, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.privacy-link:hover {
    color: #ffffff;
    background: rgba(245, 245, 220, 0.1);
    border-color: rgba(245, 245, 220, 0.4);
    transform: translateY(-1px);
}

.privacy-link:hover i {
    transform: translateX(2px);
    transition: transform 0.2s ease;
}

.privacy-link-inline {
    color: #F5F5DC;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.privacy-link-inline:hover {
    color: #ffffff;
}

/* Checkbox Group Styles */
.checkbox-group {
    margin: 1.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(245, 245, 220, 0.5);
    border-radius: 4px;
    background: transparent;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #F5F5DC;
    border-color: #F5F5DC;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid #2a2a2a;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    flex: 1;
}

/* Privacy Policy Modal */
.privacy-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.privacy-modal.show {
    opacity: 1;
    visibility: visible;
}

.privacy-modal-content {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    border: 1px solid rgba(245, 245, 220, 0.2);
    border-radius: 15px;
    max-width: 800px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.privacy-modal.show .privacy-modal-content {
    transform: scale(1);
}

.privacy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid rgba(245, 245, 220, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.privacy-header h2 {
    color: #F5F5DC;
    font-size: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
}

.privacy-close {
    background: none;
    border: none;
    color: #F5F5DC;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.privacy-close:hover {
    background: rgba(245, 245, 220, 0.1);
    color: #ffffff;
}

.privacy-content {
    padding: 2rem;
    max-height: 50vh;
    overflow-y: auto;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.privacy-content h3 {
    color: #F5F5DC;
    font-size: 1.2rem;
    margin: 1.5rem 0 0.8rem 0;
    font-family: 'Montserrat', sans-serif;
}

.privacy-content h3:first-child {
    margin-top: 0;
}

.privacy-content p {
    margin-bottom: 1rem;
}

.privacy-content ul {
    margin: 0.5rem 0 1rem 1.5rem;
}

.privacy-content li {
    margin-bottom: 0.3rem;
}

.privacy-actions {
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(245, 245, 220, 0.1);
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .options-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }
    
    .checkbox-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }
    
    .calculator-navigation {
        flex-direction: row;
        justify-content: space-between;
    }
    
    /* Show next button on tablets and desktop for all questions */
    .calculator-navigation #next-btn {
        display: inline-flex !important;
    }
    
    /* Tablet layout for calculator */
    .calculator-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .calculator-text {
        padding-right: 0;
        text-align: center;
        position: static;
    }
    
    .calculator-text .section-title {
        text-align: center;
        font-size: 2.2rem;
        margin-bottom: 0.5rem;
    }
    
    .calculator-text .section-subtitle {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .calculator-features {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-item {
        margin-bottom: 0;
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .calculator-stats {
        grid-template-columns: repeat(2, 1fr);
        max-width: 500px;
        margin: 0 auto 2rem auto;
        gap: 1rem;
    }
    
    .stat-box {
        padding: 1rem;
    }
    
    .stat-box .stat-number {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
        height: 100px;
    }
    
    /* Disable auto-hide on mobile for better UX */
    .navbar.hidden {
        transform: translateY(0);
    }

    .nav-center {
        position: fixed;
        left: -100%;
        top: 100px;
        width: 100%;
        height: calc(100vh - 100px);
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        padding-top: 2rem;
    }

    .nav-center.active {
        left: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 0 2rem;
    }

    .nav-link {
        padding: 16px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(245, 245, 220, 0.1);
        color: #ffffff !important;
        font-weight: 500;
        text-align: left;
    }
    
    .nav-link::after {
        left: 0;
        transform: none;
    }

    .nav-right {
        gap: 16px;
    }

    .nav-cta-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
        gap: 6px;
    }

    .nav-cta-btn span {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

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

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

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

    .logo-img {
        width: 50px;
        height: 50px;
    }

    .logo-text-svg {
        height: 70px;
    }

    .nav-logo h2 {
        font-size: 1.4rem;
        font-family: 'Montserrat', sans-serif;
    }
    
    .nav-logo {
        gap: 12px;
    }

    .hero {
        min-height: 100vh;
        min-height: 100dvh; /* Dynamic viewport height for mobile */
        padding-top: 100px; /* Padding-top dla navbar */
        padding-bottom: 2rem;
        align-items: center; /* Wyśrodkowanie pionowe */
        justify-content: center;
        /* Fallback background dla urządzeń mobilnych */
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)),
                    url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
        background-size: cover;
        background-position: center;
    }

    .hero-video {
        /* Wyłącz film na bardzo małych ekranach dla lepszej wydajności */
        display: none;
    }

    .hero-overlay {
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        padding: 1.5rem 1rem;
        margin-top: 0; /* Usuń dodatkowy margines dla lepszego wyśrodkowania */
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-title {
        font-size: 1.9rem;
        line-height: 1.15;
        font-weight: 300;
        letter-spacing: 0.06em;
        word-spacing: 0.13em;
    }


    .hero-buttons {
        /* Ukryj przyciski na mobile */
        display: none;
    }
    
    /* Pokaż strzałkę przewijania na mobile */
    .hero-scroll-arrow {
        display: block;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        right: auto;
    }
    
    .scroll-down-btn {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 0 auto;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mobile Calculator Optimizations */
    .calculator-section {
        padding: 40px 0;
    }
    
    .calculator-container {
        padding: 1.5rem;
        border-radius: 20px;
    }
    
    .calculator-step h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .options-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .option-card {
        padding: 1rem 0.5rem;
        min-height: auto;
    }
    
    .option-card i {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .option-card h4 {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
        line-height: 1.2;
    }
    
    .option-card p {
        font-size: 0.75rem;
        display: none; /* Hide description on mobile for compactness */
    }

    .checkbox-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    
    .checkbox-content {
        padding: 0.8rem 0.5rem;
        min-height: auto;
    }
    
    .checkbox-content i {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }
    
    .checkbox-content span {
        font-size: 0.8rem;
    }
    
    .calculator-features {
        display: none; /* Hide features on mobile to save space */
    }
    
    .calculator-stats {
        display: none; /* Hide stats on mobile to save space */
    }
    
    .calculator-text .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .calculator-text .section-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-card {
        width: 100%;
        box-sizing: border-box;
    }
    
    .project-image {
        height: 200px;
    }
    
    .project-info {
        padding: 1rem;
    }
    
    .project-info h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .project-info p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 60px;
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .timeline-item:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 60px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        margin-left: 0;
        margin-right: 0;
    }

    .timeline-number {
        left: 20px;
        transform: translateX(0);
    }

    .timeline-content {
        width: calc(100% - 60px);
        max-width: 100%;
        margin: 0;
        margin-left: 0;
        margin-right: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 0;
        margin-right: 0;
        width: calc(100% - 60px);
    }

    .timeline-content::before {
        left: -10px;
        top: 30px;
    }

    .timeline-item:nth-child(even) .timeline-content::before {
        left: -10px;
        right: auto;
        top: 30px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
        width: 100%;
        margin: 0;
    }
    
    .contact-info {
        gap: 1.5rem;
        padding: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .contact-card {
        padding: 1.5rem;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-form-container {
        padding: 1.5rem;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-form {
        width: 100%;
    }
    
    .contact-form .form-group {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .contact-form .form-group input,
    .contact-form .form-group textarea,
    .contact-form .form-group select {
        font-size: 16px; /* Prevents zoom on iOS */
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
    }
    
    .contact-form .form-row {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .contact-form .form-row .form-group {
        width: 100%;
        max-width: 100%;
    }
    
    .contact-form .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

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

    .nav-container {
        padding: 0 16px;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
    }
    
    .logo-text-svg {
        height: 90px;
    }
    
    .nav-logo h2 {
        font-size: 1.2rem;
    }
    
    .nav-logo {
        gap: 8px;
    }

    .nav-cta-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .nav-cta-btn i {
        font-size: 0.75rem;
    }

    .hero {
        min-height: 100vh;
        min-height: 100dvh; /* Dynamic viewport height for mobile */
        padding-top: 100px;
        padding-bottom: 2rem;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        padding: 1.5rem 1rem;
        margin-top: 0;
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.15;
        font-weight: 300;
        letter-spacing: 0.06em;
        word-spacing: 0.13em;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 2rem;
    }
    
    /* Ukryj przyciski na małych ekranach */
    .hero-buttons {
        display: none;
    }
    
    /* Pokaż strzałkę przewijania na małych ekranach */
    .hero-scroll-arrow {
        display: block;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        right: auto;
    }
    
    .scroll-down-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin: 0 auto;
    }
    

    /* Mobile layout for calculator - keep original stacked layout */
    .calculator-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .calculator-text {
        padding-right: 0;
        text-align: center;
    }
    
    .calculator-text .section-title {
        text-align: center;
        font-size: 2.2rem;
    }
    
    .calculator-text .section-subtitle {
        text-align: center;
    }
    
    .calculator-features {
        display: none; /* Hide features on mobile to save space */
    }
    
    .calculator-stats {
        display: none; /* Hide stats on mobile to save space */
    }
    
    .calculator-container {
        padding: 1.5rem 1rem;
        margin: 0 1rem;
        width: calc(100% - 2rem);
        box-sizing: border-box;
        border-radius: 34px;
        background: #ffffff;
        box-shadow:  29px 29px 58px #858585,
             -29px -29px 58px #ffffff;
    }
    
    .calculator-step h3 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
        line-height: 1.3;
    }
    
    .options-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .option-card {
        padding: 1rem 0.8rem;
        min-height: 80px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    
    .option-card i {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .option-card h4 {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
        line-height: 1.2;
    }
    
    .option-card p {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    .checkbox-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    
    .checkbox-content {
        padding: 0.8rem 0.6rem;
        min-height: 70px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    
    .checkbox-content i {
        font-size: 1.4rem;
        margin-bottom: 0.4rem;
    }
    
    .checkbox-content span {
        font-size: 0.8rem;
        line-height: 1.2;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .calculator-navigation {
        flex-direction: row;
        justify-content: flex-start;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .calculator-navigation .btn {
        flex: 0 0 auto;
        min-width: 120px;
    }
    
    /* Hide next button on mobile for single choice questions */
    .calculator-navigation #next-btn {
        display: none !important;
    }
    
    /* Show next button for multiple choice questions on mobile */
    .calculator-step:has(.checkbox-grid) .calculator-navigation #next-btn {
        display: inline-flex !important;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

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


    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .projects-filter {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .filter-btn {
        width: 200px;
        padding: 12px 20px;
    }

    .project-image {
        height: 200px;
    }

    .social-links {
        flex-wrap: wrap;
        gap: 0.8rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .features {
        padding: 60px 0;
    }
    
    .calculator-section {
        padding: 60px 0;
    }
    
    .projects-section {
        padding: 60px 0;
    }
    
    .timeline-section {
        padding: 60px 0;
        overflow-x: hidden;
    }
    
    .timeline-section .container {
        padding-left: 1rem;
        padding-right: 1rem;
        overflow-x: hidden;
    }
    
    .contact-section {
        padding: 60px 0;
        overflow-x: hidden;
    }
    
    .contact-section .container {
        padding-left: 1rem;
        padding-right: 1rem;
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-content {
        gap: 1rem;
    }
    
    .contact-card {
        padding: 1.2rem;
    }
    
    .contact-form-container {
        padding: 1.2rem;
    }
    
    .footer {
        padding: 50px 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 2.5rem;
        padding-bottom: 2.5rem;
    }
    
    .footer-section h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .footer-section h4 {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem 0;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.8rem;
    }
}

/* Premium Gallery Modal */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    backdrop-filter: blur(10px);
    animation: modalFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    overscroll-behavior: contain;
}

.project-modal.closing {
    animation: modalFadeOut 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(10px);
    }
}

@keyframes modalFadeOut {
    from {
        opacity: 1;
        backdrop-filter: blur(10px);
    }
    to {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
}

.modal-content {
    background: white;
    border-radius: 24px;
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    position: relative;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.3),
                0 16px 32px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    scroll-behavior: smooth;
}

/* Desktop gallery styles */
@media (min-width: 769px) {
    .modal-content {
        max-height: 85vh;
        display: flex;
        flex-direction: column;
    }
    
    .gallery-container {
        height: 400px;
        flex-shrink: 0;
    }
    
    .modal-info {
        max-height: 35vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        min-height: 0;
        flex: 1;
    }
    
    .gallery-thumbnails {
        flex-shrink: 0;
    }
    
    .modal-header {
        flex-shrink: 0;
    }
    
    /* Show next button on desktop for all questions */
    .calculator-navigation #next-btn {
        display: inline-flex !important;
    }
}

@keyframes modalSlideIn {
    from {
        transform: translateY(50px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-header {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

/* Desktop modal header */
@media (min-width: 769px) {
    .modal-header {
        padding: 2rem 2.5rem;
    }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #666;
    z-index: 10001;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
    color: #333;
}

.modal-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 0.5rem 0;
    padding-right: 60px;
}

.modal-subtitle {
    color: #666;
    margin: 0;
    font-size: 1.1rem;
}

.gallery-container {
    position: relative;
    height: 500px;
    overflow: hidden;
    flex-shrink: 0;
}

/* Desktop gallery container */
@media (min-width: 769px) {
    .gallery-container {
        height: 400px;
    }
}

.gallery-main {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.1);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-image-wrapper.active {
    opacity: 1;
    transform: scale(1);
}

.gallery-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Watermark styling */
.watermark {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    z-index: 1000;
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.watermark-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

/* Watermark hover effect */
.gallery-image-wrapper:hover .watermark {
    opacity: 0.8;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #333;
    opacity: 0.8;
}

.gallery-nav:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-prev {
    left: 1rem;
}

.gallery-next {
    right: 1rem;
}

/* Hover Overlay for Desktop Fullscreen */
.gallery-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 5;
}

.gallery-image-wrapper:hover .gallery-hover-overlay {
    opacity: 1;
    pointer-events: auto;
}

.gallery-hover-fullscreen {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
}

.gallery-hover-fullscreen:hover {
    background: white;
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.gallery-hover-fullscreen i {
    font-size: 1.2rem;
}

/* Hide hover overlay on mobile */
@media (max-width: 768px) {
    .gallery-hover-overlay {
        display: none !important;
    }
}

/* Gallery Controls Container */
.gallery-controls {
    position: absolute;
    top: 1rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    pointer-events: none;
    z-index: 10;
}

.gallery-controls > * {
    pointer-events: auto;
}

.gallery-controls-left,
.gallery-controls-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gallery-counter {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

/* Fullscreen Buttons */
.gallery-fullscreen-btn,
.gallery-fullscreen-close {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.gallery-fullscreen-btn:hover,
.gallery-fullscreen-close:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.gallery-fullscreen-btn i,
.gallery-fullscreen-close i {
    font-size: 1rem;
    color: #333;
}

/* Fullscreen close button special styling */
.gallery-fullscreen-close {
    background: rgba(220, 53, 69, 0.9);
}

.gallery-fullscreen-close i {
    color: white;
    font-size: 1.1rem;
}

.gallery-fullscreen-close:hover {
    background: rgba(220, 53, 69, 1);
}

/* Fullscreen Mode */
.gallery-container.fullscreen-mode {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 10001 !important;
    background: #000;
    margin: 0 !important;
}

.modal-content.fullscreen-active {
    background: transparent !important;
}

.fullscreen-mode .gallery-main {
    width: 100% !important;
    height: 100% !important;
}

.fullscreen-mode .gallery-image {
    max-width: 100vw;
    max-height: 100vh;
    object-fit: contain;
}

.fullscreen-mode .gallery-controls {
    top: auto;
    bottom: 2rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    border-radius: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
}

.fullscreen-mode .gallery-nav {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.fullscreen-mode .gallery-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Hidden class for fullscreen */
.hidden {
    display: none !important;
}

.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    padding: 1.5rem;
    overflow-x: auto;
    background: #f8f9fa;
    flex-shrink: 0;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Desktop gallery thumbnails */
@media (min-width: 769px) {
    .gallery-thumbnails {
        padding: 1.5rem 2rem;
    }
}

.gallery-thumbnails::-webkit-scrollbar {
    height: 4px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: #F5F5DC;
    border-radius: 2px;
}

.thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.thumbnail.active {
    border-color: #F5F5DC;
    transform: scale(1.05);
}

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

.modal-info {
    padding: 2rem;
    background: white;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    min-height: 0; /* Important for flexbox scrolling */
}

/* Desktop modal info */
@media (min-width: 769px) {
    .modal-info {
        padding: 2rem 2.5rem;
    }
}

.project-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.meta-item:hover {
    background: #f1f3f5;
    transform: translateY(-1px);
}

.meta-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #F5F5DC, #E6E6D1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a202c;
    font-size: 1rem;
}

.meta-content h4 {
    margin: 0 0 0.25rem 0;
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-content span {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

/* Mobile Gallery Styles */
@media (max-width: 768px) {
    .project-modal {
        padding: 0.5rem;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    .modal-content {
        max-height: 95vh;
        border-radius: 16px;
        width: 100%;
        margin: 0;
    }

    .modal-header {
        padding: 1rem;
        flex-shrink: 0;
    }

    .modal-title {
        font-size: 1.3rem;
        padding-right: 40px;
        line-height: 1.3;
    }
    
    .modal-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .gallery-container {
        height: 250px;
        overflow: hidden;
        flex-shrink: 0;
    }
    
    .gallery-main {
        height: 100%;
        overflow: hidden;
    }
    
    .gallery-image-wrapper {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }
    
    .gallery-image {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
    }
    
    /* Mobile watermark sizing */
    .watermark {
        width: 80px;
        height: 80px;
        bottom: 15px;
        right: 15px;
    }
    
    /* Very small screens watermark */
    @media (max-width: 480px) {
        .watermark {
            width: 60px;
            height: 60px;
            bottom: 10px;
            right: 10px;
        }
    }

    .gallery-nav {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .gallery-prev {
        left: 0.3rem;
    }

    .gallery-next {
        right: 0.3rem;
    }
    
    /* Mobile gallery controls */
    .gallery-controls {
        padding: 0 0.5rem;
    }
    
    .gallery-fullscreen-btn,
    .gallery-fullscreen-close {
        width: 35px;
        height: 35px;
    }
    
    .gallery-fullscreen-btn i,
    .gallery-fullscreen-close i {
        font-size: 0.9rem;
    }
    
    .gallery-counter {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Fullscreen mode on mobile */
    .fullscreen-mode .gallery-controls {
        bottom: 1rem;
        padding: 0.75rem;
    }
    
    .fullscreen-mode .gallery-counter {
        background: rgba(0, 0, 0, 0.5);
    }
    
    .fullscreen-mode .gallery-fullscreen-close {
        background: rgba(220, 53, 69, 0.95);
        width: 40px;
        height: 40px;
    }
    
    /* Touch-friendly nav buttons in fullscreen */
    .fullscreen-mode .gallery-prev {
        left: 0.5rem;
    }
    
    .fullscreen-mode .gallery-next {
        right: 0.5rem;
    }

    .thumbnail {
        width: 50px;
        height: 40px;
    }
    
    .gallery-thumbnails {
        padding: 1rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .project-meta {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .meta-item {
        padding: 0.8rem;
    }

    .modal-info {
        padding: 1rem;
        max-height: 40vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        flex: 1;
    }
    
    .gallery-thumbnails {
        padding: 1rem;
        flex-shrink: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .modal-content {
        max-height: 95vh;
        border-radius: 16px;
        width: 100%;
        margin: 0;
        display: flex;
        flex-direction: column;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .back-to-top,
    .hero-buttons,
    .calculator-navigation,
    .project-overlay,
    .social-media,
    .footer {
        display: none;
    }

    .hero {
        height: auto;
        padding: 2rem 0;
        background: none;
        color: #333;
    }

    .hero-title,
    .hero-subtitle {
        color: #333;
    }

    .section-title {
        color: #333;
        page-break-after: avoid;
    }

    .project-card,
    .feature-card,
    .timeline-item {
        page-break-inside: avoid;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for accessibility */
.btn:focus,
.nav-link:focus,
.option-card:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: 2px solid #F5F5DC;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(245, 245, 220, 0.2);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero {
        background: #000;
        color: #fff;
    }
    
    .btn-primary {
        background: #F5F5DC;
        color: #000;
        border: 2px solid #F5F5DC;
    }
    
    .section-title::after {
        background: #F5F5DC;
    }
    
    .navbar {
        background: rgba(0, 0, 0, 1);
    }
}

/* Mobile Responsive Styles for New Elements */
@media (max-width: 768px) {
    /* FAQ Mobile Styles */
    .faq-question {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .faq-answer.active {
        padding: 0 1.5rem 1rem 1.5rem;
    }
    
    /* Testimonials Mobile Styles */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    /* Cookie Popup Mobile Styles */
    /* Cookie Consent Mobile Styles */
    .cookie-content {
        padding: 1.5rem;
        gap: 1.2rem;
    }
    
    .cookie-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-icon-wrapper {
        width: 50px;
        height: 50px;
        margin: 0 auto;
    }
    
    .cookie-icon-wrapper i {
        font-size: 1.5rem;
    }
    
    .cookie-text h3 {
        font-size: 1.2rem;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .cookie-text p {
        font-size: 0.9rem;
        text-align: center;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .cookie-text p i {
        margin-top: 0;
    }
    
    .cookie-actions {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
    }
    
    .cookie-actions .btn {
        width: 100%;
        padding: 1rem;
        font-size: 0.95rem;
        min-width: auto;
    }
    
    .privacy-link {
        width: 100%;
        justify-content: center;
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

/* Tablet Styles for Cookie Popup */
@media (max-width: 1024px) and (min-width: 769px) {
    .cookie-content {
        padding: 1.8rem;
        gap: 1.3rem;
    }
    
    .cookie-header {
        gap: 1.2rem;
    }
    
    .cookie-icon-wrapper {
        width: 55px;
        height: 55px;
    }
    
    .cookie-text h3 {
        font-size: 1.3rem;
    }
    
    .cookie-text p {
        font-size: 0.95rem;
    }
    
    .cookie-actions {
        gap: 0.9rem;
    }
    
    .cookie-actions .btn {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
        min-width: 130px;
    }
    
    .privacy-link {
        padding: 0.75rem 1.1rem;
        font-size: 0.9rem;
    }
    
    /* Privacy Modal Mobile Styles */
    .privacy-modal {
        padding: 1rem;
    }
    
    .privacy-modal-content {
        max-height: 90vh;
    }
    
    .privacy-header {
        padding: 1.5rem;
    }
    
    .privacy-header h2 {
        font-size: 1.3rem;
    }
    
    .privacy-content {
        padding: 1.5rem;
        max-height: 60vh;
    }
    
    .privacy-actions {
        padding: 1rem 1.5rem;
        flex-direction: column;
    }
    
    .privacy-actions .btn {
        width: 100%;
    }
}

/* =====================================================
   SECTION DISCLAIMERS
   ===================================================== */

.section-disclaimer {
    margin: 1.5rem 0;
    padding: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(196, 164, 132, 0.1), rgba(196, 164, 132, 0.05));
    border: 1px solid rgba(196, 164, 132, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.6s ease-out;
}

.section-disclaimer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #C4A484, #d4af37, #C4A484);
    animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.disclaimer-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    position: relative;
}

.disclaimer-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #C4A484, #d4af37);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    margin-top: 0.1rem;
    box-shadow: 0 4px 15px rgba(196, 164, 132, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.disclaimer-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

.disclaimer-text {
    flex: 1;
    color: #e0e0e0;
    line-height: 1.6;
    font-size: 0.95rem;
    text-align: left;
}

.disclaimer-text strong {
    color: #C4A484;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

/* Responsywność dla disclaimerów */
@media (max-width: 768px) {
    .section-disclaimer {
        margin: 1rem 0;
    }
    
    .disclaimer-content {
        gap: 0.75rem;
        padding: 1rem 1.25rem;
        flex-direction: column;
        text-align: center;
    }
    
    .disclaimer-icon {
        width: 35px;
        height: 35px;
        align-self: center;
    }
    
    .disclaimer-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .disclaimer-text {
        font-size: 0.9rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .disclaimer-content {
        padding: 0.875rem 1rem;
    }
    
    .disclaimer-text {
        font-size: 0.85rem;
    }
    
    .disclaimer-icon {
        width: 32px;
        height: 32px;
    }
    
    .disclaimer-icon svg {
        width: 16px;
        height: 16px;
    }
}
