/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Manrope', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

/* Fixed gradient background - completely static */
html::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: -1000;
    pointer-events: none;
    
    --y-0: 16%;
    --c-0: hsla(18, 76%, 52%, 1);
    --x-0: 13%;
    --c-1: hsla(265, 73%, 45%, 1);
    --x-1: 14%;
    --y-1: 89%;
    --y-2: 23%;
    --x-2: 23%;
    --c-2: hsla(18, 76%, 52%, 1);
    --y-3: 23%;
    --x-3: 23%;
    --c-3: hsla(265, 73%, 45%, 1);
    --y-4: 23%;
    --x-4: 23%;
    --c-4: hsla(265, 73%, 45%, 1);
    
    background-color: hsla(265, 73%, 45%, 1);
    background-image: 
        url("data:image/svg+xml,%3Csvg viewBox='0 0 728 728' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"), 
        radial-gradient(circle at var(--x-0) var(--y-0), var(--c-0) var(--s-start-0), transparent var(--s-end-0)), 
        radial-gradient(circle at var(--x-1) var(--y-1), var(--c-1) var(--s-start-1), transparent var(--s-end-1)), 
        radial-gradient(circle at var(--x-2) var(--y-2), var(--c-2) var(--s-start-2), transparent var(--s-end-2)), 
        radial-gradient(circle at var(--x-3) var(--y-3), var(--c-3) var(--s-start-3), transparent var(--s-end-3)), 
        radial-gradient(circle at var(--x-4) var(--y-4), var(--c-4) var(--s-start-4), transparent var(--s-end-4));
    animation: hero-gradient-animation 10s linear infinite alternate-reverse;
    background-blend-mode: overlay, overlay, normal, normal, normal, normal;
    background-attachment: fixed;
}

/* Gradient Animation Properties */
@property --s-start-0 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 9%;
}

@property --s-end-0 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 58.89119889119889%;
}

@property --y-0 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 16%;
}

@property --c-0 {
    syntax: '<color>';
    inherits: false;
    initial-value: hsla(18, 76%, 52%, 1);
}

@property --x-0 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 13%;
}

@property --c-1 {
    syntax: '<color>';
    inherits: false;
    initial-value: hsla(265, 73%, 45%, 1);
}

@property --s-start-1 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 9%;
}

@property --s-end-1 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 58.89119889119889%;
}

@property --x-1 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 14%;
}

@property --y-1 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 89%;
}

@property --y-2 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 23%;
}

@property --x-2 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 23%;
}

@property --s-start-2 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 2%;
}

@property --s-end-2 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 60%;
}

@property --c-2 {
    syntax: '<color>';
    inherits: false;
    initial-value: hsla(18, 76%, 52%, 1);
}

@property --y-3 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 23%;
}

@property --x-3 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 23%;
}

@property --s-start-3 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 2%;
}

@property --s-end-3 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 60%;
}

@property --c-3 {
    syntax: '<color>';
    inherits: false;
    initial-value: hsla(265, 73%, 45%, 1);
}

@property --y-4 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 23%;
}

@property --x-4 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 23%;
}

@property --s-start-4 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 2%;
}

@property --s-end-4 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 60%;
}

@property --c-4 {
    syntax: '<color>';
    inherits: false;
    initial-value: hsla(265, 73%, 45%, 1);
}

/* Gradient Animation Keyframes */
@keyframes hero-gradient-animation {
    0% {
        --c-1: hsla(265, 73%, 45%, 1);
        --s-start-1: 9%;
        --s-end-1: 58.89119889119889%;
        --x-1: 14%;
        --y-1: 89%;
        --y-2: 23%;
        --x-2: 23%;
        --s-start-2: 2%;
        --s-end-2: 60%;
        --c-2: hsla(18, 76%, 52%, 1);
        --y-3: 23%;
        --x-3: 23%;
        --s-start-3: 2%;
        --s-end-3: 60%;
        --c-3: hsla(265, 73%, 45%, 1);
        --y-4: 23%;
        --x-4: 23%;
        --s-start-4: 2%;
        --s-end-4: 60%;
        --c-4: hsla(265, 73%, 45%, 1);
    }

    33% {
        --c-1: hsla(18, 76%, 52%, 1);
        --s-start-1: 4.5991935069083505%;
        --s-end-1: 60%;
        --x-1: 97%;
        --y-1: 47%;
        --y-2: 91%;
        --x-2: 92%;
        --s-start-2: 4%;
        --s-end-2: 73%;
        --c-2: hsla(18, 76%, 52%, 1);
        --y-3: 91%;
        --x-3: 92%;
        --s-start-3: 4%;
        --s-end-3: 73%;
        --c-3: hsla(265, 0%, 0%, 1);
        --y-4: 91%;
        --x-4: 92%;
        --s-start-4: 4%;
        --s-end-4: 73%;
        --c-4: hsla(265, 0%, 0%, 1);
    }

    66% {
        --c-1: hsla(326, 62%, 40%, 1);
        --s-start-1: 4.5991935069083505%;
        --s-end-1: 60%;
        --x-1: 97%;
        --y-1: 47%;
        --y-2: 91%;
        --x-2: 92%;
        --s-start-2: 4%;
        --s-end-2: 73%;
        --c-2: hsla(265, 73%, 45%, 1);
        --y-3: 91%;
        --x-3: 92%;
        --s-start-3: 4%;
        --s-end-3: 73%;
        --c-3: hsla(18, 0%, 0%, 1);
        --y-4: 91%;
        --x-4: 92%;
        --s-start-4: 4%;
        --s-end-4: 73%;
        --c-4: hsla(265, 0%, 0%, 1);
    }

    99% {
        --y-3: 91%;
        --x-3: 92%;
        --s-start-3: 4%;
        --s-end-3: 73%;
        --c-3: hsla(18, 0%, 0%, 1);
        --y-4: 91%;
        --x-4: 92%;
        --s-start-4: 4%;
        --s-end-4: 73%;
        --c-4: hsla(265, 0%, 0%, 1);
    }
}

/* Hero section without background */
.hero-section {
    min-height: 100vh;
    position: relative;
    background: transparent;
    padding-bottom: 0;
    scroll-margin-top: 70px; /* Ensure proper scrolling with fixed navbar */
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
    line-height: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: normal;
    font-size: 0.8rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #f2c249;
}



/* Language Selector */
.language-selector {
    display: flex;
    gap: 0.5rem;
    margin-left: 2rem;
}

.lang-btn {
    padding: 0.5rem;
    border: none;
    background: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-btn:hover {
    opacity: 0.7;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: 1rem;
}

    .bar {
        width: 25px;
        height: 3px;
        background-color: rgba(255, 255, 255, 0.9);
        margin: 3px 0;
        transition: 0.3s;
    }

/* Main Content */
.main-content {
    padding-top: 70px;
    width: 100%;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.section {
    padding: 80px 0;
    position: relative;
}

.section:not(.hero-section) {
    background: none;
    margin: 0;
}

.section:nth-child(even):not(.hero-section) {
    background: none;
}

.section-title {
    font-size: 1.5rem;
    font-weight: normal;
    text-align: center;
    margin-bottom: 3rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Hero Section */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: calc(100vh - 250px);
    color: white;
}

.hero-logo {
    max-width: 1600px;
    width: 80%;
    height: auto;
    margin-bottom: 0.5rem;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.hero-title {
    font-size: 2.5rem;
    font-weight: normal;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    display: none;
}

.hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    line-height: 1.8;
}

.cta-button {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 0.7rem;
    font-family: 'Manrope', sans-serif;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 0.7rem;
    line-height: 2;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

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

.team-member {
    background: none;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    margin: 0 auto 1rem;
}

.member-name {
    font-size: 0.8rem;
    font-weight: normal;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.member-role {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.6rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

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

.area-card {
    background: none;
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

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

.area-card h3 {
    font-size: 0.8rem;
    font-weight: normal;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.area-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 2;
    font-size: 0.6rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Contact Section */
.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    background: none;
    padding: 2rem;
    border-radius: 12px;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 0.7rem;
    color: white;
    line-height: 1.8;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.contact-info strong {
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 1rem;
        transform: none;
    }

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

    .hamburger {
        display: flex;
    }

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

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

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

    .language-selector {
        display: none;
    }

    .nav-menu::before {
        content: '';
        display: block;
        width: 80%;
        height: 1px;
        background-color: rgba(255, 255, 255, 0.2);
        margin: 0 auto 1rem;
    }

    .nav-menu::after {
        content: '🇵🇱 🇬🇧 🇷🇺';
        display: block;
        text-align: center;
        margin-top: 1rem;
        font-size: 1.4rem;
        letter-spacing: 1rem;
        cursor: pointer;
    }

    .hero-title {
        font-size: 1.5rem;
    }

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

    .team-grid,
    .areas-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 15px;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .section {
        padding: 60px 0;
        width: 100%;
        overflow-x: hidden;
    }
    
    /* Dodatkowe reguły dla wyśrodkowania w wersji mobilnej */
    .hero-content {
        padding: 0 15px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .about-interactive,
    .team-interactive {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    .areas-icons-grid {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    .contact-content {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    /* Wyłącz animacje przesuwania nagłówków na mobilnych */
    .about-heading,
    .team-heading,
    .areas-heading,
    .contact-heading {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    /* Dodatkowo wyłącz animacje dla konkretnych nagłówków */
    .about-heading {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.2rem;
    }

    .hero-subtitle {
        font-size: 0.6rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.6rem;
    }
    
    #about {
        padding: 60px 0 0 0;
        width: 100%;
        overflow-x: hidden;
        display: block;
        align-items: stretch;
    }
    
    #about .container {
        padding: 0 15px;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        display: block;
        align-items: stretch;
    }
    
    .about-interactive {
        gap: 1.5rem;
        width: 100%;
        padding: 0;
        box-sizing: border-box;
        align-items: stretch;
    }
    
    .about-text-container {
        padding: 1rem;
        order: 2;
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 1.5rem;
    }
    
    .about-image-container {
        order: 3;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
        margin-top: 1rem;
    }
    
    .about-image {
        margin: 0 auto;
        width: 90%;
        max-width: 90%;
    }
    
    .about-heading {
        font-size: 1.2rem;
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-bottom: 1.5rem;
        order: 1;
        display: block;
        text-align: center;
        width: 100%;
        max-width: 100%;
        height: auto;
        flex: none;
        /* Wyłącz animację przesuwania na mobilnych */
        opacity: 1;
        transition: none;
    }
    
    .about-text-content {
        font-size: 0.8rem;
        width: 100%;
        box-sizing: border-box;
        text-align: left;
    }
    
    /* Wyłącz animacje przesuwania nagłówków na małych ekranach */
    .about-heading,
    .team-heading,
    .areas-heading,
    .contact-heading {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    /* Dodatkowo wyłącz animacje dla konkretnych nagłówków */
    .about-heading {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
    }
    
    /* Dodatkowe reguły dla małych ekranów */
    .container {
        padding: 0 10px;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .hero-content {
        padding: 0 10px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .areas-icons-grid {
        padding: 0 10px;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        padding: 0 10px;
    }
}

/* About Section Interactive Styles */
#about {
    padding: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
    border-bottom: 20px solid #af5fff;
    height: 100vh;
    margin-top: 0;
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
    scroll-margin-top: 70px; /* Ensure proper scrolling with fixed navbar */
}

#about .container {
    max-width: none;
    padding: 0 40px;
    width: 100%;
    display: flex;
    align-items: flex-end;
}

.about-interactive {
    display: flex;
    align-items: flex-end;
    gap: 4rem;
    min-height: 30vh;
    width: 100%;
    max-width: none;
    padding: 0;
}

.about-image-container {
    flex: 0 0 45%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    padding-left: 1rem;
}

.about-image {
    width: 120%;
    max-width: 120%;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;

}



.about-text-container {
    flex: 1;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.7s ease;
    pointer-events: none;
    padding: 4rem 2rem 2rem 2rem;
    max-width: none;
}

.about-text-container.visible {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.about-heading {
    color: #f2c249;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-family: 'Manrope', sans-serif;
    text-align: center;
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    height: 2.5rem;
    width: auto;
    max-width: none;
}

.about-text-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 1.1rem;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
}

.about-text-content p {
    margin-bottom: 1.2rem;
}

.about-text-content p:last-child {
    margin-bottom: 0;
}

/* Team Section Styles */
#team {
    padding: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
    border-bottom: 20px solid #af5fff;
    height: calc(100vh - 70px);
    margin-top: 70px;
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    scroll-margin-top: 70px; /* Ensure proper scrolling with fixed navbar */
}

#team .container {
    max-width: none;
    padding: 0 40px;
    width: 100%;
    display: flex;
    align-items: flex-end;
}

.team-interactive {
    display: flex;
    align-items: flex-end;
    gap: 4rem;
    min-height: 30vh;
    width: 100%;
    max-width: none;
    padding: 0;
    justify-content: space-around;
}

.team-image-container {
    flex: 0 0 40%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.team-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
    margin: 0;
    padding: 0;
    display: block;
}

.team-heading {
    color: #f2c249;
    font-size: 3.9rem;
    margin-bottom: 2rem;
    font-family: 'Manrope', sans-serif;
    text-align: center;
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    height: 3.9rem;
    width: auto;
    max-width: none;
}

/* Responsive for team section */
@media (max-width: 768px) {
    #team {
        width: 100%;
        overflow-x: hidden;
        height: auto;
        min-height: 60vh;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        padding-top: 2rem;
        padding-bottom: 0;
    }
    
    #team .container {
        padding: 0 20px;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        height: 100%;
    }
    
    .team-heading {
        font-size: 1.5rem;
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-bottom: 2rem;
        margin-top: 1rem;
        height: 1.5rem;
        width: 100%;
        max-width: none;
        text-align: center;
    }
    
    .team-interactive {
        flex-direction: row;
        text-align: center;
        gap: 2rem;
        justify-content: center;
        align-items: flex-end;
        width: 100%;
        padding: 0;
        box-sizing: border-box;
        margin-top: auto;
        margin-bottom: 0;
    }
    
    .team-image-container {
        flex: 0 0 45%;
        width: 45%;
        box-sizing: border-box;
        display: flex;
        align-items: flex-end;
        margin-bottom: 0;
    }
    
    .team-image {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
}

/* Areas Section Styles */
.areas-background {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0;
    border-radius: 0;
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-margin-top: 70px; /* Ensure proper scrolling with fixed navbar */
}

/* Override section padding for areas section */
#areas.section {
    padding: 0;
}

/* Areas heading - same style as about heading */
.areas-heading {
    color: #f2c249;
    font-size: 3.9rem;
    margin-bottom: 2rem;
    font-family: 'Manrope', sans-serif;
    text-align: center;
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    height: 3.9rem;
    width: auto;
    max-width: none;
}

.areas-icons-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3rem;
    align-items: center;
    justify-items: center;
    margin: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0 2rem;
    box-sizing: border-box;
}

.area-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.area-icon-img {
    width: 200px;
    height: 200px;
    transition: all 0.3s ease;
}

.area-icon-img:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.area-specialization {
    color: #f2c249;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    font-family: 'Manrope', sans-serif;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive for areas section */
@media (max-width: 768px) {
    #areas {
        width: 100%;
        overflow-x: hidden;
    }
    
    .areas-background {
        width: 100%;
        overflow-x: hidden;
        padding: 2rem 0;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }
    
    .areas-heading {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-bottom: 3rem;
        margin-top: 2rem;
        text-align: center;
        width: 100%;
    }
    
    .areas-icons-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
        margin: 0;
        margin-left: 0;
        margin-top: 2rem;
    }
    
    .area-icon-img {
        width: 150px;
        height: 150px;
    }
    
    .area-specialization {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .areas-icons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .area-icon-img {
        width: 130px;
        height: 130px;
    }
    
    .area-specialization {
        font-size: 0.7rem;
    }
    
    .areas-background {
        padding: 1.5rem 0;
    }
    
    .areas-heading {
        margin-bottom: 2.5rem;
        margin-top: 1.5rem;
        text-align: center;
        width: 100%;
    }
    
    .areas-icons-grid {
        margin-top: 1.5rem;
    }
}

/* Responsive for about section */
@media (max-width: 768px) {
    #about {
        height: auto;
        min-height: auto;
        margin-top: 0;
        padding: 80px 0 0 0;
        width: 100%;
        overflow-x: hidden;
        display: block;
        align-items: stretch;
    }
    
    #about .container {
        padding: 0 20px;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    
    .about-interactive {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        min-height: auto;
        width: 100%;
        padding: 0;
        box-sizing: border-box;
        align-items: stretch;
        display: flex;
    }
    
    .about-text-container {
        opacity: 1;
        transform: none;
        pointer-events: auto;
        padding: 1.5rem;
        order: 2;
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 2rem;
        flex: 1;
    }
    
    .about-image-container {
        flex: none;
        padding-left: 0;
        order: 3;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
        margin-top: 1rem;
    }
    
    .about-image {
        width: 80%;
        max-width: 80%;
        margin: 0 auto;
    }
    
    .about-heading {
        font-size: 1.5rem;
        height: auto;
        width: 100%;
        max-width: 100%;
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-bottom: 2rem;
        order: 1;
        display: block;
        text-align: center;
        flex: none;
        /* Wyłącz animację przesuwania na mobilnych */
        opacity: 1;
        transition: none;
    }
    
    .about-text-content {
        font-size: 0.9rem;
        font-family: 'Manrope', sans-serif;
        font-weight: 400;
        width: 100%;
        box-sizing: border-box;
        text-align: left;
    }
}

/* Contact Section Styles */
#contact.section {
    padding: 0;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    scroll-margin-top: 70px; /* Ensure proper scrolling with fixed navbar */
}

.contact-background {
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.5) 0%, 
        rgba(0, 0, 0, 0.3) 30%, 
        rgba(0, 0, 0, 0.15) 60%, 
        rgba(0, 0, 0, 0.05) 80%, 
        rgba(0, 0, 0, 0) 100%);
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px); /* Subtract footer height */
}

/* Contact heading - same style as about heading */
.contact-heading {
    color: #f2c249;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-family: 'Manrope', sans-serif;
    text-align: center;
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    height: 2.5rem;
    width: auto;
    max-width: none;
}

.contact-footer {
    background: rgba(0, 0, 0, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    opacity: 0.8;
    padding: 1rem 0;
    position: relative;
    z-index: 1;
    margin-top: auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    width: 100%;
    max-width: 1200px;
}

/* Contact Info Box */
.contact-info-box {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    backdrop-filter: blur(10px);
}

/* Contact Form Box */
.contact-form-box {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    backdrop-filter: blur(10px);
}

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

/* Address Bar */
.address-bar {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
}

.address-bar:hover {
    /* Hover effect removed */
}

.address-bar i {
    font-size: 1.2rem;
    color: #f2c249;
    margin-top: 0.2rem;
}

.address-bar span {
    line-height: 1.4;
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
}

.social-link:hover {
    transform: translateY(-2px);
}

.social-link i {
    font-size: 1.2rem;
    color: #f2c249;
}

.social-link.linkedin:hover {
    border-color: #0077b5;
}

.social-link.telegram:hover {
    border-color: #0088cc;
}

/* Emails Section */
.emails-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.email-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
}

.email-item:hover {
    transform: translateY(-2px);
}

.email-item i {
    font-size: 1.2rem;
    color: #f2c249;
}

.email-item a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.email-item a:hover {
    color: #f2c249;
}

.contact-form-container {
    width: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

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

.form-group label {
    color: white;
    font-size: 1rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    font-family: 'Manrope', sans-serif;
    transition: all 0.3s ease;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f2c249;
    background: rgba(255, 255, 255, 0.15);
}

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

.form-submit-btn {
    padding: 1rem 2rem;
    background: #f2c249;
    border: none;
    border-radius: 8px;
    color: #000;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Manrope', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    align-self: stretch;
}

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

/* Responsive for contact section */
@media (max-width: 768px) {
    #contact {
        width: 100%;
        overflow-x: hidden;
        height: auto;
        min-height: 100vh;
    }
    
    .contact-background {
        width: 100%;
        overflow-x: hidden;
        padding: 2rem 0;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }
    
    .contact-heading {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-bottom: 3rem;
        margin-top: 2rem;
        text-align: center;
        width: 100%;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
        margin-top: 2rem;
    }
    
    .contact-form-box {
        order: -1;
        width: 100%;
        box-sizing: border-box;
    }
    
    .contact-info-box,
    .contact-form-box {
        padding: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .address-bar,
    .social-link,
    .email-item {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    .form-submit-btn {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 0.9rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Footer mobile adjustments */
    .contact-footer {
        padding: 1rem 15px;
        text-align: center;
        position: relative;
        z-index: 1;
        margin-top: auto;
    }
    
    .contact-footer p {
        text-align: center;
        line-height: 1.5;
        word-wrap: break-word;
    }
}

/* Background Floating Icons */
.background-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -500;
    overflow: hidden;
}

.floating-icon {
    position: absolute;
    user-select: none;
    transition: transform 0.1s ease-out;
}

.floating-icon-img {
    width: 60px;
    height: 60px;
    opacity: 0.5;
    filter: brightness(1.2) contrast(1.2);
}

.large-icon .floating-icon-img {
    width: 120px;
    height: 120px;
}

/* Custom size for x7 icon - twice as large */
#icon-x7 .floating-icon-img {
    width: 120px;
    height: 120px;
}

/* Responsive adjustments for floating icons */
@media (max-width: 768px) {
    .floating-icon-img {
        width: 50px;
        height: 50px;
    }
    .large-icon .floating-icon-img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .floating-icon-img {
        width: 40px;
        height: 40px;
    }
    .large-icon .floating-icon-img {
        width: 80px;
        height: 80px;
    }
    
    /* Team section mobile adjustments for small screens */
    #team {
        padding-top: 1.5rem;
        padding-bottom: 0;
        min-height: 50vh;
        justify-content: flex-end;
    }
    
    .team-heading {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
        margin-top: 0.5rem;
    }
    
    .team-interactive {
        gap: 1.5rem;
        margin-top: auto;
        margin-bottom: 0;
        align-items: flex-end;
        justify-content: center;
    }
    
    .team-image-container {
        flex: 0 0 48%;
        width: 48%;
        display: flex;
        align-items: flex-end;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .team-image {
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    /* Contact section mobile adjustments */
    .contact-background {
        padding: 1.5rem 0;
    }
    
    .contact-heading {
        margin-bottom: 2.5rem;
        margin-top: 1.5rem;
    }
    
    .contact-content {
        margin-top: 1.5rem;
    }
    
    /* Footer mobile adjustments for small screens */
    .contact-footer {
        padding: 1rem 10px;
        position: relative;
        z-index: 1;
        margin-top: auto;
    }
    
    .contact-footer p {
        font-size: 0.8rem;
        line-height: 1.6;
    }
}

/* Section title animations */
.section-title,
.about-heading,
.team-heading,
.areas-heading,
.contact-heading {
    opacity: 0;
    transform: translateX(100%) translateX(-50%);
    transition: all 0.7s ease;
}

.section-title.visible,
.about-heading.visible,
.team-heading.visible,
.areas-heading.visible,
.contact-heading.visible {
    opacity: 1;
    transform: translateX(0) translateX(-50%);
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid #f2c249;
    border-radius: 10px;
    padding: 1.5rem;
    max-width: 350px;
    z-index: 10000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    transform: translateX(400px);
    transition: transform 0.5s ease;
}

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

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.cookie-privacy-link {
    color: #f2c249;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cookie-privacy-link:hover {
    color: #e6b800;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.cookie-btn.accept {
    background: linear-gradient(135deg, #f2c249, #e6b800);
    color: #333;
}

.cookie-btn.accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 194, 73, 0.3);
}

.cookie-btn.reject {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn.reject:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Responsive design for cookie banner */
@media (max-width: 768px) {
    .cookie-consent {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(400px);
    }
    
    .cookie-consent.show {
        transform: translateY(0);
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

/* Back Button Header Styles */
.back-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 2rem;
    border-bottom: 2px solid #f2c249;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-header .language-selector {
    margin-left: 0;
    margin-right: 0;
}

.back-header .lang-btn {
    padding: 0.5rem;
    border: none;
    background: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-header .lang-btn:hover {
    opacity: 0.7;
    color: #f2c249;
}

.back-header .lang-btn.active {
    color: #f2c249;
    opacity: 1;
}

.back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    color: #f2c249;
    text-decoration: none;
    font-weight: 500;
    font-family: 'Manrope', sans-serif;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    border: 1px solid transparent;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    background: rgba(242, 194, 73, 0.1);
}

.back-button:hover {
    color: #e6b800;
    border-color: #f2c249;
    background: rgba(242, 194, 73, 0.2);
    transform: scale(1.05);
}

/* Language Dropdown Styles */
.language-dropdown {
    position: relative;
    display: inline-block;
}

.language-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(242, 194, 73, 0.1);
    border: 1px solid rgba(242, 194, 73, 0.3);
    border-radius: 25px;
    color: #f2c249;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    min-width: 120px;
    justify-content: space-between;
}

.language-dropdown-btn:hover {
    background: rgba(242, 194, 73, 0.2);
    border-color: #f2c249;
    transform: translateY(-1px);
}

.language-dropdown-btn .current-flag {
    font-size: 1.2rem;
}

.language-dropdown-btn .fa-chevron-down {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.language-dropdown.active .fa-chevron-down {
    transform: rotate(180deg);
}

.language-dropdown.active .language-dropdown-content {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Ensure dropdown is always on top */
.language-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(242, 194, 73, 0.3);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    min-width: 160px;
    z-index: 9999;
    margin-top: 0.5rem;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: rgba(242, 194, 73, 0.1);
    color: #f2c249;
}

.language-option .flag {
    font-size: 1.2rem;
}

.language-option .lang-name {
    font-weight: 500;
    font-size: 0.9rem;
}

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

/* Adjust main content for fixed header */
.main-content {
    padding-top: 80px;
}

/* Privacy Policy Table Styles */
.privacy-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.privacy-table table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.privacy-table th,
.privacy-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.privacy-table th {
    background: rgba(242, 194, 73, 0.2);
    color: #f2c249;
    font-weight: 600;
    font-size: 0.9rem;
}

.privacy-table td {
    font-size: 0.85rem;
    line-height: 1.4;
}

.privacy-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.privacy-section h3 {
    color: #f2c249;
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem 0;
}

.privacy-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.privacy-section li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Responsive table */
@media (max-width: 768px) {
    .privacy-table {
        font-size: 0.8rem;
    }
    
    .privacy-table th,
    .privacy-table td {
        padding: 0.75rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.2rem;
    }

    .hero-subtitle {
        font-size: 0.6rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.6rem;
    }
    
    #about {
        padding: 60px 0 0 0;
        width: 100%;
        overflow-x: hidden;
        display: block;
        align-items: stretch;
    }
    
    #about .container {
        padding: 0 15px;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        display: block;
        align-items: stretch;
    }
    
    .about-interactive {
        gap: 1.5rem;
        width: 100%;
        padding: 0;
        box-sizing: border-box;
        align-items: stretch;
    }
    
    .about-text-container {
        padding: 1rem;
        order: 2;
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 1.5rem;
    }
    
    .about-image-container {
        order: 3;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
        margin-top: 1rem;
    }
    
    .about-image {
        margin: 0 auto;
        width: 90%;
        max-width: 90%;
    }
    
    .about-heading {
        font-size: 1.2rem;
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-bottom: 1.5rem;
        order: 1;
        display: block;
        text-align: center;
        width: 100%;
        max-width: 100%;
        height: auto;
        flex: none;
    }
    
    .about-text-content {
        font-size: 0.8rem;
        width: 100%;
        box-sizing: border-box;
        text-align: left;
    }
    
    /* Wyłącz animacje przesuwania nagłówków na małych ekranach */
    .about-heading,
    .team-heading,
    .areas-heading,
    .contact-heading {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    /* Dodatkowo wyłącz animacje dla konkretnych nagłówków */
    .about-heading {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
    }
    
    /* Dodatkowe reguły dla małych ekranów */
    .container {
        padding: 0 10px;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .hero-content {
        padding: 0 10px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .areas-icons-grid {
        padding: 0 10px;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        padding: 0 10px;
    }
}

/* Ola page specific styles */
.ola-layout {
    display: flex;
    align-items: flex-end;
    gap: 4rem;
    min-height: 100vh;
    width: 100%;
    max-width: none;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.ola-image-fixed {
    position: fixed;
    left: 20px;
    bottom: 0;
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 0;
    z-index: 10;
    pointer-events: none;
    max-width: 40vw;
    max-height: 80vh;
}

.ola-image-fixed .about-image {
    width: 85%;
    max-width: 85%;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
    pointer-events: auto;
    object-fit: contain;
}

.ola-text-scrollable {
    flex: 1;
    margin-left: 45%;
    opacity: 1;
    transform: translateX(0);
    transition: all 0.7s ease;
    pointer-events: auto;
    padding: 4rem 2rem 2rem 2rem;
    max-width: none;
    overflow: visible;
    max-height: none;
    background: transparent;
    border-radius: 8px 0 0 8px;
}

/* Responsive adjustments for Ola layout */
@media (max-width: 768px) {
    .ola-layout {
        flex-direction: column;
        gap: 1.5rem;
        min-height: auto;
        overflow: visible;
        align-items: center;
        text-align: center;
    }
    
    .ola-image-fixed {
        position: relative;
        left: auto;
        bottom: auto;
        order: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
        margin-top: 1rem;
        flex: none;
        pointer-events: auto;
        max-width: 100%;
        max-height: none;
    }
    
    .ola-image-fixed .about-image {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .ola-text-scrollable {
        margin-left: 0;
        order: 2;
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 1.5rem;
        padding: 1rem;
        max-height: none;
        background: transparent;
        border-radius: 0;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .ola-layout {
        gap: 1rem;
        align-items: center;
        text-align: center;
    }
    
    .ola-image-fixed .about-image {
        width: 100%;
        max-width: 100%;
    }
    
    .ola-text-scrollable {
        padding: 0.5rem;
        text-align: center;
    }
}

/* Ania page specific styles */
.ania-layout {
    display: flex;
    align-items: flex-end;
    gap: 4rem;
    min-height: 100vh;
    width: 100%;
    max-width: none;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.ania-image-fixed {
    position: fixed;
    left: 20px;
    bottom: 0;
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0;
    z-index: 10;
    pointer-events: none;
    max-width: 40vw;
    max-height: 80vh;
}

.ania-image-fixed .about-image {
    width: 85%;
    max-width: 85%;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
    pointer-events: auto;
    object-fit: contain;
}

.ania-text-scrollable {
    flex: 1;
    margin-left: 45%;
    opacity: 1;
    transform: translateX(0);
    transition: all 0.7s ease;
    pointer-events: auto;
    padding: 4rem 2rem 2rem 2rem;
    max-width: none;
    overflow: visible;
    max-height: none;
    background: transparent;
    border-radius: 8px 0 0 8px;
}

/* Responsive adjustments for Ania layout */
@media (max-width: 768px) {
    .ania-layout {
        flex-direction: column;
        gap: 1.5rem;
        min-height: auto;
        overflow: visible;
        align-items: center;
        text-align: center;
    }
    
    .ania-image-fixed {
        position: relative;
        left: auto;
        bottom: auto;
        order: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
        margin-top: 1rem;
        flex: none;
        pointer-events: auto;
        max-width: 100%;
        max-height: none;
    }
    
    .ania-image-fixed .about-image {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .ania-text-scrollable {
        margin-left: 0;
        order: 2;
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 1.5rem;
        padding: 1rem;
        max-height: none;
        background: transparent;
        border-radius: 0;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .ania-layout {
        gap: 1rem;
        align-items: center;
        text-align: center;
    }
    
    .ania-image-fixed .about-image {
        width: 100%;
        max-width: 100%;
    }
    
    .ania-text-scrollable {
        padding: 0.5rem;
        text-align: center;
    }
}

/* Responsive adjustments for header */
@media (max-width: 768px) {
    .back-header {
        padding: 0.75rem 1rem;
    }
    
    .back-button {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        padding: 0.5rem;
    }
    
    .language-dropdown-btn {
        padding: 0.5rem 0.75rem;
        min-width: 100px;
        font-size: 0.9rem;
    }
    
    .language-dropdown-btn .current-flag {
        font-size: 1rem;
    }
    
    .language-dropdown-content {
        min-width: 140px;
        right: -10px;
    }
    
    .language-option {
        padding: 0.6rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .language-option .flag {
        font-size: 1rem;
    }
    
    .language-option .lang-name {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .back-header {
        padding: 0.5rem 0.75rem;
    }
    
    .back-button {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        padding: 0.4rem;
    }
    
    .language-dropdown-btn {
        padding: 0.4rem 0.6rem;
        min-width: 90px;
        font-size: 0.8rem;
    }
    
    .language-dropdown-content {
        min-width: 130px;
        right: -15px;
    }
}