         :root {
            --navy-primary: #001f54;
            --navy-dark: #001840;
            --navy-darker: #001230;
            --navy-light: #003875;
            --accent-gold: #d4af37;
            --accent-light: #e8d7a5;
            --white: #ffffff;
            --gray-light: #f8fafc;
            --gray-medium: #e2e8f0;
            --gray-text: #64748b;
            --gray-dark: #1e293b;
            --success: #059669;
            --warning: #f39c12;
            --danger: #e74c3c;
        }

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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
            background: #ffffff;
            scroll-behavior: smooth;
        }

        .header {
            background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-dark) 100%);
            color: var(--white);
            padding: 1rem 0;
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            box-shadow: 0 4px 20px rgba(0, 31, 84, 0.3);
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 2rem;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: bold;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--white);
        }

        .logo img {
            height: 50px;
            width: auto;
            max-width: 200px;
            /*
            filter: brightness(1.3) contrast(1.1);
            background: rgba(255,255,255,0.1);
            */
            border-radius: 8px;
            padding: 4px;
        }

        .logo i {
            font-size: 2rem;
            color: var(--accent-gold);
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-menu a {
            color: var(--white);
            text-decoration: none;
            transition: all 0.3s;
            font-weight: 500;
            padding: 0.5rem 0;
            border-bottom: 2px solid transparent;
        }

        .nav-menu a:hover {
            color: var(--accent-gold);
            border-bottom-color: var(--accent-gold);
        }

        .mobile-menu {
            display: none;
            background: none;
            border: none;
            color: var(--white);
            font-size: 1.5rem;
            cursor: pointer;
        }

        .home-logo{
            background-image: url('../zdjecia/home-bg.jpg'); 
            background-repeat: no-repeat;
            background-position: center center;
            background-size: cover;
            width: 100%; 
            height: 350px; 
            margin-top: 70px;
        }

        .hero {
            background: linear-gradient(135deg, var(--gray-light) 0%, var(--gray-medium) 100%);
            padding: 1rem 2rem 4rem;
            text-align: center;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .hero-content {
            max-width: 800px;
        }

        .hero-logo {
            text-align: center;
            margin-bottom: 2rem;
        }

        .hero-logo img {
            height: 160px;
            width: auto;
            max-width: 500px;
            filter: drop-shadow(0 8px 16px rgba(0, 31, 84, 0.2));
            background: rgba(0, 31, 84, 0.03);
            border-radius: 20px;
            padding: 15px;
            border: 2px solid rgba(0, 31, 84, 0.1);
        }

        .hero h1 {
            /**font-size: 2.9rem;**/
            font-size: clamp(1.8rem, 8vw, 3rem);
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--navy-primary);
            line-height: 1.2;
        }

        .hero .subtitle {
            font-size: 1.3rem;
            color: var(--gray-text);
            margin-bottom: 2rem; 
        }

        .hero .tagline {
            font-style: italic;
            color: var(--accent-gold);
            font-size: 1.1rem;
            margin-bottom: 3rem;
            font-weight: 500;
        }

        .cta-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
            margin-bottom: 2rem;
        }

        .btn {
            padding: 1rem 2rem;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-dark) 100%);
            color: var(--white);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 31, 84, 0.4);
            background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-darker) 100%);
        }

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

        .btn-secondary:hover {
            background: var(--navy-primary);
            color: var(--white);
        }

        .btn-voucher {
            background: linear-gradient(135deg, var(--success) 0%, #047857 100%);
            color: var(--white);
        }

        .btn-voucher:hover {
            background: linear-gradient(135deg, #047857 0%, #065f46 100%);
            transform: translateY(-2px);
        }

        .booking-widget {
            margin-top: 2rem;
            padding: 2rem;
            background: rgba(255, 255, 255, 0.8);
            border-radius: 15px;
            border: 2px solid rgba(0, 31, 84, 0.1);
            box-shadow: 0 4px 15px rgba(0, 31, 84, 0.1);
        }

        .booking-widget h3 {
            color: var(--navy-primary);
            margin-bottom: 1rem;
            font-size: 1.2rem;
        }

        .booking-widget a {
            display: inline-block;
            transition: all 0.3s ease;
        }

        .booking-widget a:hover {
            transform: scale(1.05);
        }

        .booking-widget img {
            height: 50px;
            width: auto;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0, 31, 84, 0.2);
        }

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

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--navy-primary);
            margin-bottom: 3rem;
        }

        .section-subtitle {
            text-align: center;
            font-size: 1.2rem;
            color: var(--gray-text);
            margin-bottom: 3rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .features {
            padding: 6rem 2rem;
            background: var(--gray-light);
        }

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

        .feature-card {
            background: var(--white);
            padding: 2rem;
            border-radius: 12px;
            text-align: center;
            transition: all 0.3s ease;
            border: 1px solid var(--gray-medium);
            box-shadow: 0 2px 10px rgba(0, 31, 84, 0.05);
        }

        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 31, 84, 0.15);
            border-color: var(--accent-gold);
        }

        .feature-icon {
            font-size: 3rem;
            color: var(--navy-primary);
            margin-bottom: 1rem;
        }

        .feature-card h3 {
            font-size: 1.5rem;
            color: var(--navy-primary);
            margin-bottom: 1rem;
        }

        .feature-card p {
            color: var(--gray-text);
            line-height: 1.6;
        }

        .feature-card a {
            color: var(--navy-primary);
            text-decoration: underline;
        }

        .seo-content {
            padding: 4rem 2rem;
            background: var(--white);
        }

        .seo-box {
            background: var(--gray-light);
            padding: 2rem;
            border-radius: 12px;
            border-left: 4px solid var(--accent-gold);
            box-shadow: 0 2px 10px rgba(0, 31, 84, 0.05);
        }

        .seo-box h2 {
            color: var(--navy-primary);
            margin-bottom: 1.5rem;
            font-size: 1.8rem;
        }

        .seo-box p {
            color: #333;
            line-height: 1.8;
            font-size: 1.05rem;
            margin-bottom: 1rem;
        }

        .seo-box strong {
            color: var(--navy-primary);
        }

        .seo-box a {
            color: var(--accent-gold);
            text-decoration: underline;
        }

        .gallery {
            padding: 6rem 2rem;
            background: var(--white);
        }

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

        .gallery-item {
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
            aspect-ratio: 4/3;
        }

        .gallery-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 31, 84, 0.3);
        }

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

        .gallery-item:hover img {
            transform: scale(1.05);
        }

        .gallery-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(0, 31, 84, 0.85), rgba(0, 24, 64, 0.95));
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: all 0.3s ease;
            color: var(--white);
            text-align: center;
            padding: 2rem;
        }

        .gallery-item:hover .gallery-overlay {
            opacity: 1;
        }

        .gallery-overlay i {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            color: var(--accent-gold);
        }

        .gallery-overlay h4 {
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }

        .gallery-overlay p {
            font-size: 0.95rem;
            opacity: 0.9;
        }

        .lightbox {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 31, 84, 0.95);
            z-index: 2000;
            animation: fadeIn 0.3s ease;
        }

        .lightbox.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .lightbox-content {
            position: relative;
            max-width: 90%;
            max-height: 90%;
            background: var(--white);
            border-radius: 12px;
            overflow: hidden;
            animation: slideIn 0.3s ease;
        }

        .lightbox-close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            font-size: 2rem;
            color: var(--white);
            background: rgba(0, 31, 84, 0.7);
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 2001;
            transition: background 0.3s ease;
        }

        .lightbox-close:hover {
            background: var(--navy-primary);
        }

        .lightbox img {
            width: 100%;
            height: auto;
            max-height: 70vh;
            object-fit: contain;
        }

        .lightbox-caption {
            padding: 1.5rem 2rem;
            background: var(--white);
            text-align: center;
        }

        .lightbox-caption h4 {
            color: var(--navy-primary);
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
        }

        .lightbox-caption p {
            color: var(--gray-text);
            font-size: 1rem;
        }

        .lightbox-prev,
        .lightbox-next {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 31, 84, 0.7);
            color: var(--white);
            border: none;
            padding: 1rem 1.5rem;
            font-size: 1.5rem;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .lightbox-prev {
            left: 1rem;
            border-radius: 0 8px 8px 0;
        }

        .lightbox-next {
            right: 1rem;
            border-radius: 8px 0 0 8px;
        }

        .lightbox-prev:hover,
        .lightbox-next:hover {
            background: var(--navy-primary);
        }

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

        @keyframes slideIn {
            from { transform: scale(0.9); opacity: 0; }
            to { transform: scale(1); opacity: 1; }
        }

        .doctors {
            padding: 6rem 2rem;
            background: var(--gray-light);
        }

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

        .doctor-card {
            background: var(--white);
            border-radius: 12px;
            padding: 2rem;
            text-align: center;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            border: 1px solid var(--gray-medium);
        }

        .doctor-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 31, 84, 0.15);
            border-color: var(--accent-gold);
        }

        .doctor-avatar {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--navy-primary), var(--navy-light));
            margin: 0 auto 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-size: 3rem;
            overflow: hidden;
            border: 4px solid var(--gray-medium);
            position: relative;
        }

        .doctor-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
        }

        .doctor-card h3 {
            font-size: 1.3rem;
            color: var(--navy-primary);
            margin-bottom: 0.5rem;
        }

        .doctor-specialization {
            color: var(--accent-gold);
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .doctor-payment {
            background: var(--gray-light);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            color: var(--gray-text);
        }

        .vouchers {
            padding: 6rem 2rem;
            background: var(--white);
        }

        .vouchers-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
        }

        .voucher-card {
            background: var(--white);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            border: 2px solid var(--gray-medium);
        }

        .voucher-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
            border-color: var(--success);
        }

        .voucher-image {
            height: 200px;
            background: var(--gray-light);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

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

        .voucher-content {
            padding: 2rem;
        }

        .voucher-card h3 {
            font-size: 1.5rem;
            color: var(--success);
            margin-bottom: 1rem;
        }

        .voucher-card p {
            color: var(--gray-text);
            margin-bottom: 1.5rem;
        }

        .services {
            padding: 6rem 2rem;
            background: var(--gray-light);
        }

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

        .service-item {
            background: var(--white);
            padding: 1.5rem;
            border-radius: 8px;
            border-left: 4px solid var(--navy-primary);
            transition: all 0.3s ease;
            box-shadow: 0 2px 10px rgba(0, 31, 84, 0.05);
        }

        .service-item:hover {
            box-shadow: 0 4px 20px rgba(0, 31, 84, 0.15);
            transform: translateX(5px);
        }

        .service-item h4 {
            color: var(--navy-primary);
            margin-bottom: 0.5rem;
        }

        .price {
            color: var(--accent-gold);
            font-weight: bold;
            font-size: 1.1rem;
        }

        .patient-results {
            padding: 6rem 2rem;
            background: var(--white);
        }

        .contact {
            padding: 6rem 2rem;
            background: linear-gradient(135deg, var(--navy-darker) 0%, var(--navy-primary) 100%);
            color: var(--white);
        }
		.contact .section-title {
    color: var(--white) !important;
}

.contact h3 {
    color: var(--white) !important;
}

.contact h4 {
    color: var(--accent-gold) !important;
}

.contact p {
    color: rgba(255, 255, 255, 0.9) !important;
}

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

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .contact-item i {
            font-size: 1.5rem;
            color: var(--accent-gold);
            width: 30px;
        }

        .contact-item a {
            color: var(--white);
            text-decoration: none;
            transition: color 0.3s;
        }

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

        .appointment-form {
            background: var(--white);
            padding: 2rem;
            border-radius: 12px;
            color: #333;
        }

        .appointment-form h3 {
            color: var(--navy-primary);
            margin-bottom: 1.5rem;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: var(--navy-primary);
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 1rem;
            border: 2px solid var(--gray-medium);
            border-radius: 8px;
            font-size: 1rem;
            transition: border-color 0.3s;
            background: rgba(255, 255, 255, 0.9);
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--navy-primary);
            box-shadow: 0 0 0 3px rgba(0, 31, 84, 0.1);
        }

        .footer {
            background: var(--navy-darker);
            color: var(--white);
            padding: 2rem;
            text-align: center;
        }

        @media only screen and (max-width: 767px) {
        .smaller {
        font-size: 0.8rem;
        }
        }

        .footer a {
            color: rgba(255,255,255,0.7);
            text-decoration: underline;
            margin: 0 1rem;
            transition: color 0.3s;
        }

        .footer a:hover {
            color: var(--accent-gold);
        }

        .fab {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            background: var(--navy-primary);
            color: var(--white);
            border: none;
            border-radius: 50%;
            width: 60px;
            height: 60px;
            font-size: 1.5rem;
            cursor: pointer;
            box-shadow: 0 4px 20px rgba(0, 31, 84, 0.4);
            z-index: 1000;
            transition: all 0.3s ease;
        }

        .fab:hover {
            background: var(--navy-dark);
            transform: scale(1.1);
            box-shadow: 0 6px 30px rgba(0, 31, 84, 0.5);
        }

        .fade-in {
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.6s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        @media (max-width: 768px) {
            .nav-menu {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-dark) 100%);
                flex-direction: column;
                padding: 1rem;
                box-shadow: 0 4px 20px rgba(0, 31, 84, 0.3);
            }
            
            .nav-menu.active {
                display: flex;
            }
            
            .mobile-menu {
                display: block;
            }

            .logo img {
                height: 40px;
                max-width: 150px;
            }

            .hero-logo img {
                height: 120px;
                max-width: 350px; 
            }
            
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .hero .subtitle {
                font-size: 1.1rem;
            }
            
            .cta-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .section-title {
                font-size: 2rem;
            }

            .booking-widget {
                padding: 1.5rem;
            }

            .booking-widget img {
                height: 40px;
            }

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

            .gallery-overlay {
                padding: 1.5rem;
            }

            .lightbox-content {
                max-width: 95%;
                max-height: 95%;
            }

            .lightbox-prev,
            .lightbox-next {
                padding: 0.8rem 1rem;
                font-size: 1.2rem;
            }

            .lightbox-prev {
                left: 0.5rem;
            }

            .lightbox-next {
                right: 0.5rem;
            }

            .seo-box h2 {
                font-size: 1.5rem;
            }

            .seo-box p {
                font-size: 1rem;
            }

            /* Cookie banner mobile */
            #cookieConsent > div {
                flex-direction: column;
                text-align: center;
            }
            
            #cookieConsent button {
                width: 100%;
            }
            
            #cookiePolicy > div {
                margin: 1rem;
                padding: 1.5rem;
            }
        }

        #privacyPolicy h1, h2, h3, b{
            color: #001f54;
        }