/* --- ZMIENNE I RESET --- */
:root {
    --bg-body: #FAFAFA; /* Off-white, jak papier */
    --bg-surface: #FFFFFF;
    --bg-dark: #0F4C81; /* Ciemniejszy odcień nowego primary */
    --bg-accent: #F3F4F6;
    
    --text-main: #333333;
    --text-secondary: #4B5563;
    --text-light: #9CA3AF;
    --text-white: #FFFFFF;

    --primary: #4285F4; /* Medium, vibrant blue */
    --primary-rgb: 66, 133, 244;
    --accent-blue: #2563EB; /* Subtelny akcent do linków/akcji */

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 10px 40px rgba(0, 0, 0, 0.08);

    --container-width: 1200px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); /* Płynna fizyka */
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    padding-top: 70px; /* Added to account for fixed header height */
}

main {
    /* padding-top: 100px; */ /* Usunięte, aby naprawić problem z nagłówkiem */
}

/* --- TYPOGRAFIA --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Zmniejszony max font-size na desktopie */
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.text-lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 600px;
}

.section-tag {
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: block;
    font-weight: 600;
}

/* --- UI ELEMENTS --- */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px; /* Pill shape */
    font-family: var(--font-heading);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    background-color: var(--accent-blue); /* Slightly darker blue on hover */
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--text-white);
}

/* --- HEADER --- */
header {
    position: fixed; /* Changed to fixed */
    top: 0;
    left: 0;
    right: 0;
    height: 70px; /* Set a specific height */
    z-index: 1000; /* Ensure it's on top */
    padding: 0 0; /* Adjusted padding for fixed height */
    border-bottom: 1px solid rgba(0,0,0,0.05);
    background-color: var(--bg-body);
    display: flex; /* Added flex to align content vertically */
    align-items: center; /* Center content vertically */
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; /* Ensure it takes full width of header */
    padding: 0 5%; /* Add horizontal padding to inner content */
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.03em;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

/* Subtelne tło geometryczne */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: #F0F2F5; /* Jaśniejszy, cieplejszy szary */
    top: -10%;
    right: -10%;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: #E0E3E8; /* Nieco ciemniejszy, cieplejszy szary */
    bottom: 10%;
    left: -5%;
    animation-delay: -10s;
}

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

/* --- FEATURES / CARDS --- */
.section-padding {
    padding: 8rem 0;
}

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

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

.card {
    background: var(--bg-surface);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--text-main);
}

/* --- BENEFITS LIST --- */
.benefits-list {
    display: flex;
    flex-direction: column; /* Stack items vertically by default */
    gap: 3rem; /* Spacing between items */
    margin-top: 3rem;
}

.benefit-item {
    display: flex;
    align-items: center; /* Align icon and text at the top */
    gap: 2rem; /* Space between icon and text content */
    padding: 0; /* Remove padding */
    background: none; /* Remove background */
    box-shadow: none; /* Remove shadow */
    border: none; /* Remove border */
    text-align: left; /* Align text to left */
}

.benefit-item:hover {
    transform: none; /* Remove hover effect */
    box-shadow: none; /* Remove hover shadow */
}

.benefit-icon {
    flex-shrink: 0;
    width: 64px; /* Size of the icon container */
    height: 64px;
    background-color: var(--primary); /* Primary color background */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white); /* White icon color */
    font-size: 1.8rem; /* Size of the icon itself */
    margin-bottom: 0; /* Remove bottom margin */
    border: none; /* Remove border */
}

.benefit-item h3 {
    margin-bottom: 0.5rem; /* Space below heading */
    font-size: 1.5rem; /* Slightly larger heading for list items */
}

.benefit-item p {
    margin-bottom: 0; /* Remove bottom margin from last paragraph */
    font-size: 1.05rem; /* Standard paragraph size */
    color: var(--text-secondary);
}

/* Responsive adjustments for larger screens */
@media (min-width: 769px) {
    .benefits-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Two columns on larger screens */
        gap: 3rem 4rem; /* Adjust gap for grid */
    }
}

@media (max-width: 768px) {
    .benefit-item {
        gap: 1.5rem;
    }
    .benefit-icon {
        width: 56px;
        height: 56px;
        font-size: 1.6rem;
    }
    .benefit-item h3 {
        font-size: 1.4rem;
    }
}

/* --- HYPNOTHERAPY PROCESS (Timeline) --- */
.hypnotherapy-process {
    position: relative;
    padding-left: 2rem; /* Space for the vertical line */
    margin-top: 3rem;
}

.hypnotherapy-process::before {
    content: '';
    position: absolute;
    left: 2.25rem; /* Align with the center of step-number-circle */
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--primary); /* Vertical line color */
    z-index: 0;
}

.process-step-item {
    position: relative;
    margin-bottom: 3rem; /* Space between steps */
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.process-step-item:last-child {
    margin-bottom: 0; /* No margin after the last item */
}

.step-number-circle {
    flex-shrink: 0;
    width: 4.5rem; /* Size of the circle */
    height: 4.5rem;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    z-index: 1; /* Ensure it's above the line */
    box-shadow: var(--shadow-subtle);
    border: 3px solid var(--bg-surface); /* Border to match background */
}

.step-content {
    background-color: var(--bg-surface);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-subtle);
    flex-grow: 1;
    border: 1px solid rgba(0,0,0,0.03);
}

.step-icon {
    width: 48px;
    height: 48px;
    background-color: var(--bg-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.step-content p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hypnotherapy-process {
        padding-left: 1.5rem;
    }
    .hypnotherapy-process::before {
        left: 1.75rem;
    }
    .process-step-item {
        gap: 1rem;
        margin-bottom: 2rem;
    }
    .step-number-circle {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.4rem;
        border-width: 2px;
    }
    .step-content {
        padding: 1rem;
    }
    .step-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    .step-content h3 {
        font-size: 1.2rem;
    }
    .step-content p {
        font-size: 0.95rem;
    }
}

/* --- PROCESS / MECHANISM --- */
.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: #E5E7EB; /* Bardzo jasny szary */
    line-height: 1;
}

/* --- TESTIMONIALS --- */
.testimonial {
    background: var(--bg-accent);
    padding: 3rem;
    border-radius: var(--radius-lg);
    text-align: center; /* Center content within the testimonial card */
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem auto; /* Center the avatar and add space below */
    border: 3px solid var(--primary); /* Add a border with the primary color */
    flex-shrink: 0; /* Prevent shrinking in flex containers */
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image covers the area without distortion */
}

.quote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 2rem;
    line-height: 1.4;
}

.author {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- PRICING / OFFER --- */
.offer-box {
    background: var(--bg-dark);
    color: var(--text-white);
    border-radius: var(--radius-lg);
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.offer-box h2, .offer-box p, .offer-box li {
    color: var(--text-white);
}

.offer-box p {
    color: #9CA3AF;
}

.feature-list {
    list-style: none;
    margin: 2rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-icon svg {
    width: 14px;
    height: 14px;
    stroke: #fff;
}

/* --- FAQ --- */
.accordion-item {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 1.5rem 0;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: var(--text-secondary);
}

.accordion-content p {
    padding-bottom: 1.5rem;
}

.icon-plus {
    transition: transform 0.3s ease;
}

.active .icon-plus {
    transform: rotate(45deg);
}

/* --- FOOTER --- */
footer {
    padding: 4rem 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    margin-top: 4rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-right: 2rem;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text-main);
}

/* --- ANIMATIONS & UTILS --- */
@keyframes float {
    0% { transform: translate(0, 0); }
    50% { transform: translate(20px, 40px); }
    100% { transform: translate(0, 0); }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-4 { margin-bottom: 2rem; }
.mb-2 { margin-bottom: 1rem; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
    .section-padding { padding: 4rem 0; }
    .offer-box { padding: 2rem; }
    .hero { padding-top: 100px; }
}
/* --- HERO SECTION (EXTENDED) --- */
.hero-grid {
    align-items: start; /* Align to top */
    grid-template-columns: 1fr 1fr; /* Equal space for text and image */
}

.hero-image {
    width: 100%;
    height: 100%; /* Ensure it fills the height of its wrapper */
    object-fit: cover; /* Prevent distortion, crop if necessary */
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-subtle);
}

.certificate-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); /* Responsive grid */
    gap: 1rem;
    margin-top: 2rem;
    justify-items: center; /* Center items in the grid */
}

.certificate-gallery img {
    width: 100%;
    max-width: 150px; /* Limit max width for individual images */
    height: auto;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-subtle);
    transition: transform 0.3s ease;
    cursor: pointer; /* Indicate they might be clickable/expandable */
}

.certificate-gallery img:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.trust-belt {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trust-belt-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.trust-belt-item i {
    color: var(--primary);
}


/* --- RESPONSIVE (EXTENDED) --- */
@media (min-width: 993px) {
    .hero-grid {
        grid-template-columns: 0.9fr 1.1fr; /* Text column slightly narrower, image column slightly wider */
    }
    .hero-image {
        max-width: none; /* Remove max-width on desktop to allow it to fill its column */
    }
}

@media (max-width: 992px) { /* Breakpoint for smaller desktops/tablets */
    .grid-2.hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content .text-lead {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-image-wrapper {
        display: block; /* Make sure it's visible */
        margin-top: 2rem;
        max-width: 500px; /* Slightly larger for tablets */
        margin-left: auto;
        margin-right: auto;
    }
    .trust-belt {
        justify-content: center; /* Center the items in a row */
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) { /* Breakpoint for mobile phones */
    .hero-grid, .hero-content {
        text-align: left; /* Align text to left on mobile */
    }
    .hero-content .text-lead {
        margin-left: 0;
        margin-right: 0;
    }
    .trust-belt {
        flex-direction: column; /* Stack items vertically */
        align-items: flex-start; /* Align to the left */
        justify-content: flex-start;
    }
}

/* --- TIMELINE SECTION --- */
/* Removed timeline specific styles as it's replaced by tiles */

/* --- 2x2 Tiles Section (Jak działa hipnoterapia) --- */
.grid-2x2-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive 2-column grid */
    gap: 2rem;
    margin-top: 3rem;
}

.tile {
    background: var(--bg-surface);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align content to start */
    text-align: left; /* Ensure text is left-aligned */
}

.tile:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.tile-icon {
    width: 64px;
    height: 64px;
    background: var(--primary); /* Use primary color for icon background */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--text-white); /* White icon color */
    font-size: 1.8rem; /* Larger icon size */
}

.tile h3 {
    margin-bottom: 0.75rem;
}

.tile p {
    margin-bottom: 0; /* Remove bottom margin from last paragraph in tile */
}

/* Responsive adjustments for tiles */
@media (min-width: 769px) { /* For screens larger than mobile */
    .grid-2x2-tiles {
        grid-template-columns: repeat(2, 1fr); /* Force 2 columns on larger screens */
    }
}

@media (max-width: 768px) {
    .tile {
        padding: 2rem;
    }
    .tile-icon {
        margin-bottom: 1rem;
    }
}

/* --- ARTICLE PAGE --- */
.article-header {
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 3rem;
}

.article-header h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.text-meta {
    color: var(--text-light);
    font-size: 0.9rem;
}

.article-body {
    max-width: 720px; /* Optimal width for reading */
    margin: 0 auto;
}

.article-body h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.article-body h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.article-body ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.article-body ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.article-body ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.article-body blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 2rem;
    margin: 2.5rem 0;
    font-size: 1.2rem;
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--text-secondary);
}

.iceberg-image {
    max-width: 100%;
    height: auto;
    display: block; /* Remove extra space below image */
    margin: 0 auto; /* Center image if it's smaller than its container */
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-subtle);
}

/* Responsive adjustments for the grid in this section */
@media (max-width: 992px) {
    .iceberg-analogy-section .grid-2 {
        grid-template-columns: 1fr; /* Stack on smaller screens */
    }
}

/* --- TIMELINE SECTION (FIX) --- */
.timeline-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.timeline-item p {
    font-size: 1.05rem;
    margin-bottom: 0;
}

/* --- COOKIE BANNER --- */
#cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: white;
    padding: 15px;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

#cookie-banner p {
    margin: 0 0 10px 0;
    font-size: 0.9rem;
}

#cookie-banner button {
    border: none;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

#cookie-banner #accept-cookies {
    background-color: #4CAF50; /* Green */
    color: white;
}

#cookie-banner #accept-cookies:hover {
    background-color: #45a049;
}

#cookie-banner #decline-cookies {
    background-color: #f44336; /* Red */
    color: white;
}

#cookie-banner #decline-cookies:hover {
    background-color: #da190b;
}



/* --- Form Styles --- */
.form-container {
    max-width: 600px;
    margin: 3rem auto;
    padding: 2.5rem;
    background-color: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* Stronger shadow */
    border: 1px solid #E0E0E0; /* Slightly more visible, light grey border */
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-main);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #D1D5DB;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-main);
    background-color: var(--bg-body);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
    outline: none;
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 0.75rem;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    appearance: none;
    -webkit-appearance: none;
    background-color: var(--bg-body);
    cursor: pointer;
    position: relative;
    top: 2px; /* Adjust vertical alignment */
}

.checkbox-group input[type="checkbox"]:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkbox-group input[type="checkbox"]:checked::before {
    content: '\2713'; /* Checkmark character */
    display: block;
    color: var(--text-white);
    font-size: 14px;
    line-height: 1;
    text-align: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-group label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0; /* Override default label margin */
}

.checkbox-group label a {
    color: var(--accent-blue);
    text-decoration: none;
}

.checkbox-group label a:hover {
    text-decoration: underline;
}

.contact-form .btn-primary {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

#form-message {
    padding: 0.8rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    margin-top: 1rem;
}

#form-message[style*="color: green"] {
    background-color: #D4EDDA; /* Light green */
    color: #155724 !important; /* Dark green */
    border: 1px solid #C3E6CB;
}

#form-message[style*="color: red"] {
    background-color: #F8D7DA; /* Light red */
    color: #721C24 !important; /* Dark red */
    border: 1px solid #F5C6CB;
}

@media (max-width: 600px) {
    .form-container {
        padding: 1.5rem;
        margin: 2rem auto;
    }
}

/* --- NEW NAVIGATION STYLES --- */
.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary);
}

.main-nav .btn {
    padding: 0.75rem 1.5rem;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--bg-surface);
        box-shadow: var(--shadow-subtle);
        border-top: 1px solid rgba(0,0,0,0.05);
        z-index: 1000;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center; /* Center list items */
        gap: 0;
        padding: 1rem 0;
    }

    .main-nav ul li {
        width: 100%;
    }

    .main-nav ul li a {
        display: block;
        padding: 1rem 10%;
        width: 100%;
        box-sizing: border-box;
        text-align: center; /* Center text in links */
    }
    
    .main-nav ul li a.btn {
        margin: 0.5rem auto; /* Center the button */
        width: calc(80%);
        text-align: center;
    }

        .hamburger {

            display: block;

        }

    }

    

    /* --- Dropdown Menu --- */

    .dropdown {

        position: relative;

    }

    

    .dropdown .dropbtn {

        cursor: pointer; /* Zapewnia, że kursor jest wskaźnikiem */

    }

    

    .dropdown-content {

        display: none; /* Ukryte domyślnie */

        position: absolute;

        background-color: var(--bg-surface);

        min-width: 220px;

        box-shadow: var(--shadow-subtle);

        border-radius: var(--radius-sm);

        z-index: 1;

        border: 1px solid rgba(0,0,0,0.05);

        margin-top: 0.5rem; /* Odstęp od głównego przycisku */

    }

    

    .dropdown-content.show {

        display: block; /* Pokazywane przez JS */

    }

    

    .dropdown-content a {

        color: var(--text-secondary);

        padding: 12px 16px;

        text-decoration: none;

        display: block;

        font-size: 0.95rem;

    }

    

    .dropdown-content a:hover {

        background-color: var(--bg-accent);

        color: var(--primary);

    }

    

    /* Dostosowanie dla widoku mobilnego */

    @media (max-width: 768px) {

        .dropdown-content {

            position: static; /* Usuwa pozycjonowanie absolutne w mobilnym menu */

            box-shadow: none;

            border: none;

            background-color: #f0f0f0; /* Lekko inne tło dla odróżnienia */

            width: 100%;

            padding-left: 2rem; /* Wcięcie dla podmenu */

        }

    

        .main-nav ul li a {

            text-align: left; /* Wyrównanie do lewej w mobilnym menu */

            padding: 1rem 10%;

        }

    

            .dropdown-content a {

    

                padding: 0.75rem 10%;

    

            }

    

        }

    

        

    

        /* Specific spacing adjustments for desktop */

    

        @media (min-width: 769px) {

    

                .problems-section {

    

                    padding-top: 3rem; /* Further reduced top padding for this section */

    

                    }

    

                }

    

                

    

                #formularz-kontaktowy {

    

                

    

                    padding-top: 0; /* Aggressively reduced top padding */

    

                

    

                }

    

                

    

                /* Specific spacing adjustments for desktop */

    

                @media (min-width: 769px) {

    

                    .problems-section {

    

                        padding-top: 3rem; /* Further reduced top padding for this section */

    

                    }

    

                }

    

                

    

        

    