/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

/* Variables */
:root {
    --color-primary: #0B261D;
    /* Darker, deeper green */
    --color-secondary: #0F172A;
    /* Navy Blue */
    --color-accent: #9E824C;
    /* Darker, richer gold */
    --color-accent-light: #E5C585;
    /* Lighter Gold */
    --color-white: #F9F9F7;
    --color-bg-light: #F9FAFB;
    --color-text: #333333;
    --color-text-light: #555555;

    /* Scrollbar */
    ::-webkit-scrollbar {
        width: 10px;
    }

    ::-webkit-scrollbar-track {
        background: transparent;
    }

    ::-webkit-scrollbar-thumb {
        background: var(--color-accent);
        border-radius: 5px;
    }

    --font-heading: -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif,
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Segoe UI Symbol";
    --font-body: -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif,
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Segoe UI Symbol";

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 5rem;
    --spacing-xl: 8rem;

    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    /* Slightly tighter for system fonts */
    background-color: var(--color-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    /* Apple font smoothing */
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    /* Apple fonts look better with 600 for bold */
    line-height: 1.2;
    letter-spacing: -0.02em;
    /* Tighten headings slightly */
}

p {
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: var(--color-accent);
    /* Changed to gold */
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Classes */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Mobile Side Navigation - Hidden on desktop (>768px), shown via media query on mobile */
.mobile-side-nav {
    display: none;
}

.mobile-side-phone-btn {
    display: none;
}

.section {
    padding: var(--spacing-xl) 0;
    position: relative;
    background-color: var(--color-white);
    /* Ensure off-white applies to sections */
}

.bg-light {
    background-color: var(--color-bg-light);
}

.bg-dark {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.bg-dark h2,
.bg-dark p,
.bg-dark a {
    color: #FFFFFF;
    /* Pure white for dark backgrounds */
}

.bg-dark p {
    opacity: 0.8;
}

/* Section Titles - Restyled Left with Top Line */
.section-title {
    text-align: left;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-left: 0;
    padding-top: 20px;
    border-left: none;
    line-height: 1.2;
    color: var(--color-accent) !important;
    /* Gold Title */
    opacity: 0.1;
    /* Subtle background effect initially */
    transition: all 0.5s ease;
}

.section-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    /* Short line */
    height: 2px;
    /* Thin line */
    background-color: var(--color-accent);
}

.section-title.reveal.active {
    opacity: 1;
    transform: translateX(0);
}

.section-title::after {
    display: none;
    /* Remove the bottom line */
}

/* Adjust section padding since titles are different */
.section {
    padding: var(--spacing-lg) 0;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* Buttons Standardized */
.btn,
.btn-small {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease;
}

.btn::before,
.btn-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--color-white);
    transition: width 0.4s ease;
    z-index: -1;
}

.btn:hover,
.btn-small:hover {
    color: var(--color-accent);
}

.btn:hover::before,
.btn-small::before {
    width: 100%;
}

/* Section Design Variations */

/* Team Section - Subtle Pattern */
.team {
    background-color: #f8f9fa;
    background-image: radial-gradient(#e9ecef 1px, transparent 1px);
    background-size: 20px 20px;
}

.team-card {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Cases Section - Dark Theme */
.cases {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.cases .section-title {
    color: #FFFFFF;
    /* Pure white */
    border-left-color: var(--color-accent);
}

.case-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--color-accent);
    color: rgba(255, 255, 255, 0.9);
}

.case-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.case-card h3 {
    color: #FFFFFF;
}

.case-result {
    color: var(--color-accent);
}

/* Testimonials Section - Centered with Background */
.testimonials {
    background-color: var(--color-white);
    text-align: center;
}

.testimonials .section-title {
    text-align: left !important;
    border-left: none;
    padding-left: 0;
}

.testimonials .section-title::after {
    display: none;
    /* Remove bottom line, use top line from base style */
}

.testimonial-card {
    background-color: var(--color-bg-light);
    border: none;
    border-radius: 8px;
    padding: 3rem;
}

.testimonial-quote {
    font-size: 1.2rem;
    font-family: var(--font-heading);
    color: var(--color-primary);
}

/* FAQ Section - Clean Light */
.faq {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* Mobile Side Nav Language Switcher */
/* Mobile Side Nav Language Switcher Button */
.mobile-side-lang-btn {
    text-decoration: none;
    margin-top: 0;
    display: block !important;
    /* Ensure it overrides any default hidden states if needed, though mobile-side-nav handles it */
}

.mobile-side-lang a.active {
    color: var(--color-accent);
}

.mobile-side-lang .lang-separator {
    color: var(--color-accent);
    opacity: 0.5;
}

/* Header */
.header {
    background-color: var(--color-white);
    /* Solid white default */
    border-bottom: 2px solid var(--color-accent);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: none;
    /* No blur default */
    -webkit-backdrop-filter: none;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0;
    transition: all 0.5s ease;
    height: 140px;
    /* Increased by 10px */
    display: flex;
    align-items: center;
    /* transition: all 0.5s ease; Remove transition on position to avoid jumpiness */
}

/* New Container Rule for Header to anchor logos and center nav */
.header-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    /* Distribute items */
    align-items: center;
    width: 100%;
    max-width: 100%;
    /* Full width for edge placement */
    margin: 0 auto;
    padding: 0 20px 0 0;
    /* No padding left, keep right padding */
}

/* New Container Rule for Header to anchor logos and center nav */
.header-container {
    padding: 0 20px 0 0;
}

/* Nav Absolute Coloring */
.nav,
.nav-list {
    display: flex;
    align-items: center;
}

.nav {
    flex: 1;
    justify-content: flex-start;
    position: static;
    transform: none;
    padding-left: 2rem;
    gap: 1rem;
    width: 100%;
}

.nav-list {
    list-style: none;
    gap: 1.5rem;
    white-space: nowrap;
    /* Prevent wrapping */
    font-weight: 700;
    display: flex;
    flex-wrap: nowrap;
    /* Force single line */
    justify-content: center;
    flex: 1;
    margin: 0 auto;
}

/* Compact Nav on Laptop */
@media (max-width: 1400px) {
    .nav-list {
        gap: 0.8rem;
        /* Reduce gap */
        font-size: 0.9rem;
        /* Slightly smaller text */
    }
}

.nav-list a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-list a:hover {
    color: var(--color-accent);
}

.nav-list a:hover::after {
    width: 100%;
}

.header-extras {
    margin-left: 0;
    /* Push to right */
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.header.scrolled {
    padding: 0.5rem 0;
    height: 125px;
    /* Less shrinking (was 110px) */
    background-color: rgba(249, 249, 247, 0.85);
    /* Semi-transparent */
    backdrop-filter: blur(10px);
    /* Blur effect on scroll */
    -webkit-backdrop-filter: blur(10px);
}

/* Logo Styles Updated - Responsive */
.logos-left-group {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    height: 100%;
    margin-left: 0;
    z-index: 1002;
    flex-shrink: 0;
    /* Don't squash logos */
}

.logo-separator {
    width: 2px;
    height: 110px;
    background-color: var(--color-accent) !important;
    display: block;
    align-self: center;
    transition: all 0.3s ease;
}

/* Base Logo Sizes - Fixed sweetspot sizes */
.logo-img {
    height: 120px;
    width: 180px;
    max-width: 180px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-secondary {
    height: 120px;
    width: 120px;
    max-width: 120px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.header.scrolled .logo-separator {
    height: 100px;
}

/* Secondary Logo */
.header.scrolled .logo-secondary {
    height: 110px;
    width: 110px;
    max-width: 110px;
}

/* Sidebar Navigation */
.sidebar-nav {
    position: fixed;
    right: 40px;
    /* Moved left by 10px from 30px */
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    z-index: 100;
}

.sidebar-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background-color: rgba(158, 130, 76, 0.2);
    /* Light Gold */
    z-index: -1;
}

.sidebar-line-progress {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background-color: var(--color-accent);
    /* Gold */
    height: 0%;
    transition: height 0.1s linear;
    z-index: -1;
}

.sidebar-link {
    width: 12px;
    height: 12px;
    background-color: var(--color-white);
    /* Default White */
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
    font-size: 0;
    cursor: pointer;
}

.sidebar-link.active {
    background-color: var(--color-accent);
    /* Gold when active/passed */
    border-color: var(--color-accent);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(158, 130, 76, 0.5);
}

.sidebar-link:hover {
    background-color: var(--color-accent);
    /* Gold on hover */
    border-color: var(--color-accent);
}

/* ... existing code ... */

.sidebar-link::before {
    content: attr(data-target);
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-transform: capitalize;
    white-space: nowrap;
    background-color: rgba(249, 249, 247, 0.9);
    padding: 2px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.sidebar-link:hover::before {
    opacity: 1;
}





.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    margin-left: 1rem;
}

.lang-switch a {
    color: var(--color-text);
    /* Inactive black */
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-name-link {
    margin-left: 12px;
    /* Reduced from 130px to fix overlap */
    /* Increased to visually center between EN and right edge */
    margin-right: 0;
    font-family: 'Great Vibes', cursive;
    /* Handwritten font */
    font-weight: 400;
    /* Regular weight for handwriting */
    /* Regular weight for handwriting */
    font-size: clamp(1rem, 1.2vw, 1.5rem);
    /* Reduced from 1.8rem to fix overflow */
    /* significantly larger to be readable */
    color: var(--color-accent) !important;
    /* Gold */
    letter-spacing: 1px;
    white-space: nowrap;
    position: relative;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-name-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.header-name-link:hover::after {
    width: 100%;
}

.header-name-link:hover {
    color: var(--color-accent) !important;

    /* Gold on hover */
}

.header-name-link.is-clipped {
    display: none !important;
}

.lang-switch a.active {
    font-weight: 700;
    color: var(--color-accent);
    /* Active Gold */
}

.lang-switch a:hover {
    color: #8c7335;
}

.lang-separator {
    color: var(--color-accent);
    opacity: 0.5;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-accent);
    /* White hamburger */
    margin: 6px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('../assets/warsaw-bg.webp');
    background-size: cover;
    background-position: center;
    background-position: center;
    /* background-attachment: fixed; - REMOVED to keep pin attached to image location */
    /* Parallax effect removed to keep pin fixed to image spot */
    /* Parallax effect */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    position: relative;
    /* For absolute positioning of scroll down btn */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 38, 29, 0.4);
    /* Dark overlay for readability - Reduced opacity */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 2rem;
}

.hero h1 {
    font-family: 'Great Vibes', cursive;
    /* Handwritten font */
    font-size: 3.5rem;
    /* Visual reduction via font nature and size */
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #FFFFFF;
    /* White Quote */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.45rem;
    /* Larger translation (+10%) */
    font-family: var(--font-body);
    font-style: italic;
    opacity: 0.9;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
    color: #FFFFFF;
    /* White Translation */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* Gold Button Style - Simple Rectangular */
.btn-gold {
    background: #9E824C !important;
    /* Simple Gold - matching header accent */
    color: #FFFFFF !important;
    /* White text like header button */
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 0 !important;
    /* Sharp edges */
    letter-spacing: 1px;
    box-shadow: none;
    border: none;
    display: inline-block;
    position: relative;
    z-index: 10;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-gold:hover {
    background: #B8956E !important;
    /* Slightly lighter gold on hover */
    color: #FFFFFF !important;
}

/* Scroll Down Button */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-white);
    font-size: 2rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.scroll-down:hover {
    opacity: 1;
    color: var(--color-accent);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
}

.about-text h2::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-accent);
}

.about-text p {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    word-spacing: -0.5px;
}

.image-placeholder {
    width: 100%;
    height: 500px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: bold;
    border: 1px solid #e0e0e0;
    position: relative;
}

.image-placeholder::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--color-accent);
    z-index: -1;
}

/* About Expand Feature */
.about-hidden {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease, opacity 0.4s ease, margin 0.4s ease;
    opacity: 0;
    margin-top: 0;
}

.about-hidden.visible {
    max-height: 2000px;
    opacity: 1;
    margin-top: 20px;
}

.about-hidden p,
.about-hidden li {
    text-align: justify !important;
    hyphens: auto;
    -webkit-hyphens: auto;
    word-spacing: -0.5px;
}

.about-expand-btn {
    margin-top: 20px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-secondary);
}

/* Services Grid (Replaces Slider) */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.spec-tile {
    background-color: #F9F9F7;
    border: 2px solid var(--color-accent);
    padding: 40px 20px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    cursor: pointer;
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
}

.spec-tile:hover {
    box-shadow: 0 10px 30px rgba(158, 130, 76, 0.2);
}

/* Cursor Glow Effect */
.spec-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.spec-tile:hover .spec-glow {
    opacity: 1;
}

.spec-content {
    position: relative;
    z-index: 2;
    transform: translateZ(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    width: 100%;
    padding-top: 20px;
}

.spec-tile h3 {
    margin: 0 0 15px 0;
    font-size: 1.6rem;
    color: var(--color-accent) !important;
    font-weight: 700;
    font-family: var(--font-heading);
    pointer-events: none;
}

.spec-quote {
    margin: 0 0 20px 0;
    font-size: 0.95rem;
    color: #333333 !important;
    line-height: 1.6;
    font-style: italic;
    pointer-events: none;
    text-align: justify;
}

.spec-cta {
    display: block;
    margin-top: auto;
    padding-top: 20px;
    font-size: 0.85rem;
    color: var(--color-accent) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    pointer-events: none;
}

.spec-quote em {
    display: block;
    margin-bottom: 5px;
    font-style: normal;
    font-weight: 600;
}

/* Slider Buttons (for Testimonials) */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--color-white);
    border: 1px solid var(--color-accent);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-accent);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* Specialization Popup Modal */
.spec-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    display: none;
}

.spec-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    display: none;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
}

.spec-popup-content {
    background-color: #F9F9F7;
    padding: 40px;
    border: 30px solid transparent;
    border-image-source: url('../assets/final-baroque-frame.png');
    border-image-slice: 140;
    border-image-width: 30px;
    border-image-repeat: round;
    position: relative;
    max-height: 60vh;
    overflow-y: auto;
}

.spec-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-accent);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.spec-popup-close:hover {
    transform: scale(1.2);
}

.spec-popup-content h3 {
    font-family: var(--font-heading);
    color: var(--color-accent) !important;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
}

.spec-popup-content p strong {
    font-family: 'Great Vibes', cursive;
    color: var(--color-accent) !important;
    font-size: 1.4rem;
    font-weight: 400;
    display: block;
    text-align: center;
    margin-bottom: 15px;
}

.spec-popup-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-popup-content li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    line-height: 1.6;
    color: #333;
    text-align: justify;
}

.spec-popup-content p {
    text-align: justify;
    margin-bottom: 15px;
}

.spec-popup-content li::before {
    content: '§';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

/* Trust Section */
.trust {
    background-color: #f4f4f4;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    text-align: center;
}

.trust-item {
    padding: var(--spacing-md);
}

.trust-icon {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-accent);
}

.trust-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-xl);
}

.contact-info {
    padding-right: var(--spacing-md);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.contact-info address {
    font-style: normal;
    margin-top: var(--spacing-lg);
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info a {
    color: var(--color-accent);
    font-weight: 600;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    font-family: inherit;
    border-radius: 0;
    transition: all 0.3s ease;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: rgba(255, 255, 255, 0.3);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 2rem;
}

.checkbox-group input {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    accent-color: var(--color-accent);
}

.checkbox-group label {
    font-weight: 400;
    font-size: 0.85rem;
    line-height: 1.5;
    text-transform: none;
    color: rgba(255, 255, 255, 0.6);
}

/* Footer */
.footer {
    background-color: #05080f;
    background-image: linear-gradient(rgba(5, 8, 15, 0.10), rgba(5, 8, 15, 0.10)), url('../assets/footer-bg.webp');
    /* ZMIEN TUTAJ CIEMNOSC TLA STOPKI (0.96 = 96% Ciemnosci, im blizej 1.0 tym ciemniej) */
    background-size: cover;
    background-position: center;
    background-blend-mode: normal;
    color: #bbb;
    min-height: 1px;
    /* ZMIEN TUTAJ MINIMALNA WYSOKOSC CALEJ STOPKI (np. 300px) */
    font-size: 0.9rem;
    /* ZMIEN TUTAJ WEILKOSC CZCIONKI CALEJ STOPKI */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.created-by {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 2px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.created-by:hover {
    color: var(--color-accent);
    opacity: 1;
}

.created-by:hover .btn-icon {
    /* Filter to match --color-accent (#9E824C) roughly */
    filter: invert(52%) sepia(35%) saturate(693%) hue-rotate(357deg) brightness(93%) contrast(93%);
}

/* ... existing styles ... */

.btn-icon {
    width: 28px;
    /* Increased size */
    height: 28px;
    /* Increased size */
    object-fit: contain;
    /* margin-right removed, using gap */
    vertical-align: middle;
    filter: brightness(0) invert(1);
    /* White by default */
    transition: filter 0.3s ease;
}

.footer-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    padding-bottom: 0px;
    margin-bottom: -20px;
    /* ZMIEN TUTAJ MARGINES (np. -50px) ABY OBCIAC STOPKE OD DOLU. PADDING ZOSTAW 0px. */
}

.footer-logo {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    z-index: 1;
    pointer-events: none;
    margin-bottom: -100px;
    margin-top: -100px;
    /* ZMIEN TUTAJ DOWOLNIE NA MINUS (np. -50px), ABY PRZYCIAC LOGO OD GORY */
}

.footer-logo-img {
    max-height: 250px;
    width: auto;
    object-fit: contain;
    opacity: 1;
}

/* Revert opacity if user wants it solid */
.footer-logo-img {
    opacity: 1;
}

.footer-links,
.footer-copy {
    z-index: 1;
    position: relative;
}

.footer-links {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
    /* ZMIEN TUTAJ ODLEGLOSC LINKOW OD LOGA */
    margin-bottom: -20px;
    /* ZMIEN TUTAJ ODLEGLOSC MIEDZY LINKAMI A PRZYCISKIEM YOUR-WEB (wyrownane) */
}

.footer-links a {
    /* display: block w flexie */
    margin: 0;
    /* Marginesy obsluguje gap w rodzicu */
    transition: color 0.3s ease;
}

.footer-copy {
    z-index: 1;
    position: relative;
    width: 100%;
    text-align: center;
    margin-top: auto;
    /* Pcha element na sam dol kontenera */
}

.footer-links a:hover {
    color: var(--color-accent);
    transform: scale(1.05);
    /* Slight zoom on hover */
    text-shadow: 0 0 5px rgba(158, 130, 76, 0.4);
}



/* Cookie Modal */
.cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    display: none;
}

.cookie-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    display: none;
    max-width: 500px;
    width: 90%;
}

.cookie-modal-content {
    background-color: #F9F9F7;
    /* Matching site background */
    padding: 40px;
    border: 30px solid transparent;
    border-image-source: url('../assets/final-baroque-frame.png');
    border-image-slice: 140;
    border-image-width: 30px;
    border-image-repeat: round;
    text-align: center;
}

.cookie-modal-content h3 {
    font-family: var(--font-heading);
    color: var(--color-accent);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.cookie-modal-content>p {
    color: var(--color-text);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.cookie-options {
    text-align: left;
    margin-bottom: 25px;
}

.cookie-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(158, 130, 76, 0.2);
}

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

.cookie-option-text {
    flex: 1;
}

.cookie-option-text strong {
    display: block;
    color: var(--color-primary);
    font-size: 0.95rem;
}

.cookie-option-text span {
    color: #666;
    font-size: 0.8rem;
}

/* Gold Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked+.toggle-slider {
    background-color: var(--color-accent);
}

.toggle-switch input:checked+.toggle-slider:before {
    transform: translateX(24px);
}

.toggle-switch input:disabled+.toggle-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.cookie-buttons .btn {
    padding: 12px 20px;
    font-size: 0.85rem;
}

.btn-outline {
    background: #F0EDE8;
    border: 1px solid #D4CFC7;
    color: #666;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #E0DDD8;
    border-color: var(--color-accent);
    color: var(--color-primary);
}

.cookie-links {
    font-size: 0.8rem;
    color: #888;
    margin: 0;
}

.cookie-links a {
    color: var(--color-accent);
    text-decoration: none;
}

.cookie-links a:hover {
    text-decoration: underline;
}

/* Cookie Settings Button (Floating) */
.cookie-settings-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-white);
    color: var(--color-accent);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    z-index: 9997;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cookie-settings-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Hero Dark Overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);
    /* Lighter overlay */
    z-index: 1;
}

.hero-location-pointer {
    position: absolute;
    top: 35%;
    left: 5%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-white);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.hero-location-pointer:hover {
    /* Hover effect integrated into animation */
}

/* Define keyframes for the pin bounce */
@keyframes pinBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.pin-icon {
    width: 60px;
    height: 60px;
    color: var(--color-accent);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    margin-top: 10px;
    animation: pinBounce 2s infinite ease-in-out;
    /* Continuous bounce */
}

.pin-icon {
    width: 60px;
    /* Larger icon */
    height: 60px;
    color: var(--color-accent);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    /* Shadow for visibility */
    margin-top: 10px;
}

/* Removed .arrow-down styles */

.pointer-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    /* Text above overlay */
}

/* Scrolled Logo Alignment Fix */
.header.scrolled .logo-secondary-container {
    margin-top: 5px;
    /* Lifted by 10px (15px -> 5px) */
}

.header.scrolled .logo-secondary {
    height: clamp(110px, 9vw, 165px);
}

@media (max-width: 992px) {

    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .about-text h2::before {
        display: none;
    }

    .image-placeholder::after {
        display: none;
    }

    .mobile-nav-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--color-white);
        padding-top: 100px;
        align-items: center;
        gap: 2rem;
        z-index: 1000;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list a {
        font-size: 1.2rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Header Extras */
.header-extras {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 20px;
    background-color: var(--color-accent);
    border: 1px solid var(--color-accent);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.phone-btn:hover {
    background-color: transparent;
    color: var(--color-accent);
}

.phone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.lang-switch {
    display: flex;
    gap: 5px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 600;
}

.lang-switch a {
    transition: color 0.3s ease;
}

.lang-switch a.active,
.lang-switch a:hover {
    color: var(--color-accent);
}

.lang-separator {
    opacity: 0.5;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.team-card {
    background-color: var(--color-white);
    border: 1px solid #eee;
    transition: all 0.4s ease;
}

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

.team-photo {
    width: 100%;
    height: 300px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-photo img {
    transform: scale(1.05);
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--color-accent);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: block;
}

/* Case Studies */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.case-card {
    background-color: var(--color-bg-light);
    padding: 2rem;
    border-left: 3px solid var(--color-accent);
    transition: all 0.3s ease;
}

.case-card:hover {
    background-color: var(--color-white);
    box-shadow: var(--shadow-soft);
}

.case-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.case-result {
    margin-top: 1rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* Testimonials */
/* Testimonials Redesign */
.testimonials-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 60px;
}

.testimonials-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
    padding: 2rem 5rem;
    /* Increased side padding for safety, modest top padding */
    text-align: center;
    background: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Back to Center for stability */
    align-items: center;
    min-height: 350px;
    /* Slightly taller for consistent center */
    padding-bottom: 5rem;
    /* Push content UP visually */
}

.testimonial-name {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
    /* Reduced margin */
    position: relative;
    z-index: 2;
    margin-top: 0;
}


.testimonial-quote {
    font-size: 1.25rem;
    font-style: italic;
    font-family: var(--font-heading);
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 2rem;
    position: relative;
    max-width: 800px;
    /* Limit width for readability */
}

.testimonial-quote::before,
.testimonial-quote::after {
    color: var(--color-accent);
    font-size: 3rem;
    position: absolute;
    opacity: 0.3;
}

.testimonial-quote::before {
    content: '“';
    top: -20px;
    left: -20px;
}

.testimonial-quote::after {
    content: '”';
    bottom: -40px;
    right: -20px;
}




/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 1rem;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-accent);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    opacity: 0.8;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    /* Approximate max height */
    padding-bottom: 1.5rem;
}

/* Attorney Profile Page */
.profile-header {
    padding-top: 180px;
    padding-bottom: 80px;
    background-color: var(--color-bg-light);
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-lg);
}

.profile-sidebar img {
    width: 100%;
    margin-bottom: 2rem;
}

.profile-contact-box {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 2rem;
    text-align: center;
}

.profile-contact-box h3 {
    color: var(--color-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.profile-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.profile-role {
    font-size: 1.2rem;
    color: var(--color-accent);
    margin-bottom: 2rem;
    display: block;
    font-weight: 600;
}

.profile-section {
    margin-bottom: 3rem;
}

.profile-section h2 {
    font-size: 1.8rem;
    border-left: 3px solid var(--color-accent);
    padding-left: 15px;
}

@media (max-width: 768px) {
    .header-extras {
        display: none;
        /* Hide on mobile or adjust */
    }

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

/* Baroque Redesign */

/* 1. Baroque Border Section (White Content) */
.section-baroque {
    background-color: var(--color-white);
    color: var(--color-text);
    /* User Provided PNG Frame */
    border: 50px solid transparent;
    border-image-source: url('../assets/final-baroque-frame.png');
    border-image-slice: 140;
    /* Adjust for PNG */
    border-image-width: 50px;
    border-image-repeat: round;
    /* Round often looks better for frames than stretch */
    padding: var(--spacing-lg);
    /* No margin to ensure border captures full section */
    margin: 0;
}

/* 2. Image Background Section */
.section-image {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax feel */
    color: var(--color-white);
    /* Remove default padding to handle overlay correctly if needed, 
       but standard section padding is usually good. */
    z-index: 1;
    border: none;
    /* Explicitly no border */
}

/* Dark Overlay for readability */
.section-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 38, 29, 0.65);
    /* Deep green tint */
    z-index: -1;
}

/* Specific Background Images */
.bg-legal-1 {
    background-image: url('../assets/palace-bg.webp');
    /* Palace background */
}

.bg-legal-2 {
    background-image: url('https://images.unsplash.com/photo-1505664194779-8beaceb93744?auto=format&fit=crop&q=80');
    /* Classics/Library/Pillars */
}

/* Adjust text colors inside image sections */
.section-image h2,
.section-image h3,
.section-image p,
.section-image .section-title {
    color: var(--color-white);
}

.section-image .section-title {
    color: var(--color-accent) !important;
    /* Force Gold Title */
    border-left-color: none;
}

/* ============================================
   NEW STYLES - Visual Updates
   ============================================ */

/* Logo Image Styling - Large, fixed size, inside header */
.logo {
    display: block;
    overflow: visible;
    position: relative;
    z-index: 1001;
}

.logo-img {
    width: 180px;
    max-width: 180px;
    min-width: 0;
    height: 120px;
    margin: 0;
    margin-top: 8px;
    display: block;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-img:hover {
    opacity: 0.8;
}

/* Logo shrinks when scrolled */
.header.scrolled .logo-img {
    width: 165px;
    max-width: 165px;
    height: 110px;
    margin-top: 8px;
}

/* Lawyer Photo in About Section */
.lawyer-photo {
    width: 100%;
    max-width: 450px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Hero CTA Button Positioning */
.hero-cta {
    margin-top: 6rem;
    /* Move button further down */
}

/* Improved btn-gold hover: white background, gold text */
.btn-gold {
    transition: all 0.4s ease;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--color-white);
    transition: width 0.4s ease;
    z-index: -1;
}

.btn-gold:hover::before {
    width: 100%;
}

.btn-gold:hover {
    background: transparent !important;
    color: var(--color-accent) !important;
    /* Gold text on hover */
}

/* Contact Button Customization */
.contact-form .btn {
    background-color: var(--color-accent) !important;
    color: var(--color-white) !important;
    border: none;
    border-radius: 0;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 1rem 2rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.contact-form .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--color-white);
    transition: width 0.4s ease;
    z-index: -1;
}

.contact-form .btn:hover {
    color: var(--color-accent) !important;
}

.contact-form .btn:hover::before {
    width: 100%;
}

/* Contact Section Parallax Background */
.contact-parallax {
    background-image: url('../assets/handshake-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: var(--color-white);
}

.contact-parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 38, 29, 0.65);
    /* Dark overlay for readability */
    z-index: 0;
}

.contact-parallax .container {
    position: relative;
    z-index: 1;
}

.contact-parallax h2,
.contact-parallax p,
.contact-parallax a,
.contact-parallax address {
    color: var(--color-white);
}

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

/* Updated Footer Design */
.footer {
    background-color: var(--color-white);
    color: var(--color-accent);
    padding: 4rem 0;
    border-top: 3px solid var(--color-accent);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-accent);
}

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

.footer-links a {
    color: var(--color-accent);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

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

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
    align-items: center;
}

.floating-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.location-btn {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.location-btn:hover {
    transform: scale(1.1);
    background-color: #8c7335;
}

.scroll-top-btn {
    background-color: var(--color-white);
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
}

/* Recommendations Grid */
.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.client-logo-card {
    background: #fff;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid rgba(158, 130, 76, 0.4);
    /* Thicker gold border */
    height: 280px;
    /* Taller by 100px (180 -> 280) */
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Background Thumbnail Style */
.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(5px);
    opacity: 0.4;
    transition: all 0.5s ease;
    z-index: 0;
}

.client-logo-card:hover .card-bg {
    filter: blur(0);
    opacity: 0.9;
    transform: scale(1.05);
    /* Slight zoom for effect */
}

.client-logo-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    border-color: var(--color-accent);
    /* Full accent color on hover */
}

/* Replaced .client-logo styles with icon styles */
.client-document-icon {
    width: 64px;
    height: 64px;
    color: var(--color-accent);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
    /* Ensure icon stays on top of background */
}

.client-logo-card:hover .client-document-icon {
    transform: scale(1.2);
    /* Zoom effect */
}

@media (max-width: 992px) {
    .recommendations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .recommendations-grid {
        grid-template-columns: 1fr;
    }
}

/* About Description Styling */
.about-description p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    /* Slightly smaller for long text readability */
    line-height: 1.6;
    text-align: justify;
    /* Justify text for cleaner look */
    color: var(--color-text);
}

.about-description em {
    font-style: italic;
    color: var(--color-accent);
    /* Highlight latin phrases */
}

.about-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.about-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-text);
}

.about-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    /* Gold bullets */
    font-weight: bold;
}

/* =====================
   RESPONSIVE HEADER STYLES
   ===================== */

/* Laptop/Smaller Desktop Adjustment (New 1400px breakpoint) */
@media (max-width: 1400px) {
    /* .logo-img { height: 120px; } - REMOVED for smooth clamp scaling */
    /* .logo-secondary { height: 110px; } - REMOVED for smooth clamp scaling */

    .header-name-link {
        font-size: 1.1rem;
        margin-left: 10px;
    }

    .nav-list {
        gap: 0.9rem;
        justify-content: center;
        flex-wrap: nowrap;
    }

    .nav-list li a {
        font-size: clamp(0.8rem, 0.9vw, 0.88rem);
        text-align: center;
    }
}

/* Large tablets and smaller desktops - Update existing */
@media (max-width: 1200px) {
    /* .logo-img { height: 110px; } - REMOVED for smooth clamp scaling */
    /* .logo-secondary { height: 100px; } - REMOVED for smooth clamp scaling */

    .header.scrolled .logo-img {
        height: 110px;
        width: 165px;
        max-width: 165px;
    }

    .header.scrolled .logo-secondary {
        height: 110px;
        width: 110px;
        max-width: 110px;
    }


    .header-name-link {
        font-size: clamp(0.95rem, 1vw, 1.2rem);
    }

    .nav-list {
        justify-content: center;
        flex-wrap: nowrap;
        gap: 0.7rem;
    }

    .nav-list li a {
        font-size: clamp(0.8rem, 0.9vw, 0.9rem);
        text-align: center;
    }
}

/* Medium tablets */
@media (max-width: 1024px) {
    /* .logo-img { height: 120px; } - REMOVED for smooth clamp scaling */
    /* .logo-secondary { height: 110px; } - REMOVED for smooth clamp scaling */

    .header {
        height: auto;
    }

    .logos-left-group {
        gap: 20px;
        justify-content: center;
    }

    .logo,
    .logo-secondary-container {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo-img {
        height: 120px !important;
        width: 180px !important;
        max-width: 180px !important;
    }

    .logo-secondary {
        height: 120px !important;
        width: 120px !important;
        max-width: 120px !important;
    }

    .logo-separator {
        height: 110px !important;
        margin: 0;
    }

    .header.scrolled .logo-img {
        height: 110px !important;
        width: 165px !important;
        max-width: 165px !important;
    }

    .header.scrolled .logo-secondary {
        height: 110px !important;
        width: 110px !important;
        max-width: 110px !important;
    }

    .header.scrolled .logo-separator {
        height: 100px !important;
    }

    .header-name-link {
        display: inline-flex !important;
        font-size: clamp(0.9rem, 1.1vw, 1.1rem);
    }

    .nav-list {
        display: none !important;
    }

    .header-extras {
        display: none !important;
    }

    /* 1. Dissolve Navigation and Extras smoothly as we approach mobile */
    @media (max-width: 900px) {

        .nav-list,
        .header-btn {
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.5s ease;
            position: absolute;
            /* Take out of flow to let logos center */
        }

        .header-container {
            justify-content: space-between !important;
        }
    }

    /* 2. Specific Mobile Layout (< 550px) - Two Large Logos + Gold Divider */
    @media (max-width: 550px) {

        .header {
            height: 120px !important;
            /* Fixed height for mobile header */
            padding: 0 !important;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .header-container {
            width: 100% !important;
            padding: 0 10px !important;
            justify-content: center !important;
        }

        /* Ensure only the logo group is visible and central */
        .logos-left-group {
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            width: 100% !important;
            gap: 15px !important;
            margin: 0 !important;
        }

        /* Main Logo (Name) - Left Side */
        .logo {
            flex: 1 !important;
            display: flex !important;
            justify-content: flex-end !important;
            /* Align close to divider */
            max-width: 45% !important;
        }

        .logo-img {
            width: 180px !important;
            max-width: 180px !important;
            height: 120px !important;
            object-fit: contain !important;
        }

        /* GOLD SEPARATOR - CENTER */
        .logo-separator {
            display: block !important;
            width: 2px !important;
            height: 110px !important;
            background-color: var(--color-accent) !important;
            margin: 0 5px !important;
            flex-shrink: 0 !important;
        }

        /* Secondary Logo (Izba) - Right Side */
        .logo-secondary-container {
            flex: 1 !important;
            display: flex !important;
            justify-content: flex-start !important;
            max-width: 45% !important;
        }

        .logo-secondary {
            width: 120px !important;
            max-width: 120px !important;
            height: 120px !important;
            object-fit: contain !important;
        }
    }

    /* Hide Hero Location Pointer at 1250px */
    @media (max-width: 1250px) {
        .hero-location-pointer {
            display: none !important;
        }
    }

    /* Side Navigation breakpoint - Shift to Tablet/Smaller Desktop */
    @media (max-width: 1024px) {
        .nav-list {
            display: none !important;
        }

        /* Show Name when Nav is hidden */
        .header-name-link {
            display: inline-flex !important;
            font-size: clamp(0.9rem, 1.1vw, 1.1rem);
            margin-left: 12px;
        }

        /* Show side nav wrapper */
        .mobile-side-nav {
            position: fixed;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            z-index: 1001;
            display: flex !important;
            flex-direction: column;
            align-items: flex-start;
            gap: 8px;
        }

        /* Style the button as a vertical tab (like on phone) */
        .mobile-side-nav-btn {
            display: block !important;
            writing-mode: vertical-rl;
            text-orientation: mixed;
            background: var(--color-accent);
            color: white;
            padding: 12px 6px;
            border: none;
            cursor: pointer;
            font-size: 0.65rem;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
            border-radius: 0 5px 5px 0;
            box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
            text-decoration: none;
        }

        .mobile-side-phone-btn {
            display: block !important;
            writing-mode: vertical-rl;
            text-orientation: mixed;
            background: var(--color-accent);
            color: white !important;
            padding: 12px 6px;
            border: none;
            cursor: pointer;
            font-size: 0.65rem;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
            border-radius: 0 5px 5px 0;
            box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
            text-decoration: none;
        }
    }

    /* Small tablets and smaller desktops */
    @media (max-width: 1200px) {
        /* Keeping this solely for structural adjustments if needed, 
       but main nav hiding logic moves to 1024px */
    }

    @media (max-width: 900px) {
        /* .logo-img { height: 100px; } - REMOVED for smooth clamp scaling */
        /* .logo-secondary { height: 90px; } - REMOVED for smooth clamp scaling */

        .logo-separator {
            height: 60px;
        }

        .header {
            height: 120px;
        }

        .header.scrolled {
            height: 100px;
        }

        .header-name-link {
            display: none;
        }

        .nav-list {
            gap: 0.8rem;
        }

        .nav-list li a {
            font-size: 0.75rem;
        }

        .logos-left-group {
            gap: 10px;
        }
    }

    /* =====================
   MOBILE RESPONSIVE STYLES
   ===================== */

    /* Hide scrollbar on mobile */
    @media (max-width: 768px) {
        body {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }

        body::-webkit-scrollbar {
            display: none;
        }

        /* Move sidebar dots 15px to the right */
        .sidebar-nav {
            right: 5px;
        }

        /* Header - smaller height */
        .header {
            padding: 8px 0;
        }

        /* Hide top navigation on mobile */
        .nav-list,
        .hamburger,
        .mobile-nav-toggle {
            display: none !important;
        }

        /* Keep call button visible */
        .header-extras {
            display: flex !important;
            align-items: center;
            gap: 10px;
        }

        .lang-switch {
            display: none !important;
        }

        /* Removing previous specific overrides to rely on the new Main Block above */

        /* Fix Carousel Alignment */
        .specs-grid {
            justify-content: flex-start !important;
            scroll-padding-left: 0;
        }

        .spec-tile {
            scroll-snap-align: start !important;
        }

        /* Mobile Sidebar - Match desktop dot size */
        .sidebar-link {
            font-size: 0 !important;
            width: 12px !important;
            height: 12px !important;
        }

        .sidebar-link::before {
            display: none !important;
        }

        /* Hero - fullscreen height and larger quote */
        .hero {
            min-height: 100vh;
            height: auto;
        }

        .hero-content p {
            font-size: 1.25rem;
            line-height: 1.6;
        }

        /* Hide location pointer in hero on mobile */
        .hero-location-pointer {
            display: none;
        }

        /* Mobile Side Navigation - VISIBLE */
        .mobile-side-nav {
            visibility: visible !important;
            opacity: 1 !important;
            position: fixed;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            z-index: 9999;
            display: flex !important;
            flex-direction: column;
            align-items: flex-start;
            gap: 8px;
        }

        .mobile-side-nav-btn {
            display: block !important;
            writing-mode: vertical-rl;
            text-orientation: mixed;
            background: var(--color-accent);
            color: white;
            padding: 12px 6px;
            border: none;
            cursor: pointer;
            font-size: 0.65rem;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
            border-radius: 0 5px 5px 0;
            box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
            text-decoration: none;
        }

        .mobile-side-phone-btn {
            display: block !important;
            writing-mode: vertical-rl;
            text-orientation: mixed;
            background: var(--color-accent);
            color: white !important;
            padding: 12px 6px;
            border: none;
            cursor: pointer;
            font-size: 0.65rem;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
            border-radius: 0 5px 5px 0;
            box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
            text-decoration: none;
        }

        /* Mobile side menu panel */
        .mobile-side-menu {
            background: #F9F9F7 !important;
        }

        .mobile-side-menu a {
            color: var(--color-accent) !important;
            font-weight: 600;
        }

        /* About Section - Photo on top, text below, 10px gap */
        .about-container {
            grid-template-columns: 1fr;
            text-align: center;
            gap: 10px !important;
        }

        .about-image {
            order: -1;
            margin-bottom: 10px;
        }

        .about-image img {
            max-width: 280px;
            margin: 0 auto;
        }

        .about-text {
            text-align: center;
        }

        .about-text h2::before {
            left: 50%;
            transform: translateX(-50%);
        }

        .about-description {
            text-align: justify;
        }

        /* Specializations - Swipeable slider on mobile */
        .specs-grid {
            display: flex;
            overflow-x: auto;
            overflow-y: hidden;
            scroll-snap-type: x mandatory;
            -webkit-overflow-scrolling: touch;
            gap: 0;
            padding: 0 0 30px 0;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .specs-grid::-webkit-scrollbar {
            display: none;
        }

        .spec-tile {
            flex: 0 0 100%;
            scroll-snap-align: center;
            scroll-snap-stop: always;
            min-width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            margin: 0;
            padding: 0 10px;
        }

        /* Recommendations - Swipeable slider on mobile */
        .recommendations-grid {
            display: flex;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            -webkit-overflow-scrolling: touch;
            gap: 0;
            padding-bottom: 20px;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .recommendations-grid::-webkit-scrollbar {
            display: none;
        }

        .client-logo-card {
            flex: 0 0 100%;
            scroll-snap-align: start;
            scroll-snap-stop: always;
            min-width: 100%;
            box-sizing: border-box;
        }

        /* Testimonials - Swipeable on mobile */
        .testimonials {
            padding: 40px 0;
        }

        .testimonials-container {
            padding: 0;
        }

        /* Hide slider buttons on mobile */
        .testimonials-container .slider-btn,
        .testimonial-prev,
        .testimonial-next {
            display: none !important;
        }

        .testimonials-slider {
            display: flex;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            -webkit-overflow-scrolling: touch;
            gap: 0;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .testimonials-slider::-webkit-scrollbar {
            display: none;
        }

        .testimonial-card {
            flex: 0 0 100%;
            scroll-snap-align: start;
            scroll-snap-stop: always;
            min-width: 100%;
            box-sizing: border-box;
            padding: 15px;
            min-height: auto;
        }

        .testimonial-quote {
            font-size: 0.85rem;
            line-height: 1.4;
        }

        .testimonial-name {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--color-accent);
        }

        /* Location - Reduced height */
        .location {
            padding: 40px 0;
        }

        .map-container {
            height: 220px !important;
            aspect-ratio: auto;
            max-width: 100%;
        }

        .map-container iframe {
            height: 100% !important;
        }

        /* Hide hamburger menu on mobile, use vertical side button */
        .hamburger {
            display: none;
        }

        /* Vertical menu button on left side */
        .mobile-menu-btn {
            position: fixed;
            left: 10px;
            top: 50%;
            transform: translateY(-50%);
            z-index: 1001;
            writing-mode: vertical-rl;
            text-orientation: mixed;
            background: var(--color-accent);
            color: white;
            padding: 15px 8px;
            border: none;
            cursor: pointer;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            border-radius: 0 5px 5px 0;
        }

        /* Phone button on mobile */
        .phone-btn {
            padding: 8px 12px;
            font-size: 0.8rem;
        }

        .phone-btn svg {
            width: 14px;
            height: 14px;
        }

        /* Section padding adjustments */
        .section {
            padding: 60px 0;
        }

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

    /* Extra small screens */
    @media (max-width: 480px) {
        /* Logo sizes preserved - do not override */

        .lawyer-logo-link img {
            max-height: 24px;
        }

        .about-image img {
            max-width: 220px;
        }

        .hero-content h1 {
            font-size: 1.5rem;
        }

        .hero-content p {
            font-size: 0.95rem;
        }

        .map-container {
            height: 250px !important;
        }
    }

    /* Mobile Side Navigation - Hidden on desktop only */
    /* NOTE: display is controlled by media queries in responsive sections */

    .mobile-side-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
        opacity: 0;
        transition: opacity 0.2s ease;
    }

    .mobile-side-overlay.active {
        display: block;
        opacity: 1;
    }

    .mobile-side-menu {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100%;
        background: #F9F9F9;
        z-index: 9999;
        display: flex;
        flex-direction: column;
        padding: 60px 30px 30px;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.2);
        transition: left 0.25s ease;
    }

    .mobile-side-menu.active {
        left: 0;
    }

    .mobile-side-menu a {
        color: var(--color-accent);
        font-size: 1.1rem;
        font-weight: 600;
        padding: 15px 0;
        border-bottom: 1px solid rgba(158, 130, 76, 0.2);
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: color 0.2s ease;
    }

    .mobile-side-menu a:hover {
        color: var(--color-primary);
    }

    .mobile-side-menu-close {
        position: absolute;
        top: 15px;
        right: 15px;
        background: none;
        border: none;
        font-size: 2rem;
        color: var(--color-accent);
        cursor: pointer;
        padding: 5px 10px;
        transition: transform 0.2s ease;
    }

    .mobile-side-menu-close:hover {
        transform: scale(1.1);
    }

    /* Slider Dots Styling */
    .slider-dots {
        display: none;
        justify-content: center;
        gap: 10px;
        padding: 15px 0;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.5);
        cursor: pointer;
        transition: all 0.3s ease;
        border: 1px solid var(--color-accent);
    }

    .slider-dot.active {
        background-color: var(--color-accent);
        transform: scale(1.2);
    }

    @media (max-width: 768px) {
        .slider-dots {
            display: flex;
        }
    }

    /* FINAL OVERRIDE: FORCE SHOW SIDE NAV BUTTON */
    @media (max-width: 1024px) {

        #mobileNavBtn,
        .mobile-side-nav-btn,
        .mobile-side-nav {
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
            pointer-events: auto !important;
            width: auto !important;
            height: auto !important;
        }
    }

    /* =========================================
   FINAL HEADER FIXES (SMOOTH & CENTERED)
   ========================================= */

    /* 1. TABLET/SMALL LAPTOP (1024px - 551px) */
    @media (max-width: 1024px) {

        .header {
            height: auto !important;
            overflow: visible !important;
            top: 0 !important;
            position: fixed !important;
            background-color: var(--color-white) !important;
            width: 100% !important;
            z-index: 1000 !important;
            padding: 6px 0 !important;
        }

        /* Hide desktop nav, keep call button */
        .nav-list,
        .mobile-nav-toggle,
        .hamburger {
            display: none !important;
            visibility: hidden !important;
            opacity: 0 !important;
            pointer-events: none !important;
        }

        .header-extras {
            display: flex !important;
            align-items: center !important;
            gap: 10px !important;
        }

        .lang-switch {
            display: none !important;
        }

        .header-container {
            justify-content: space-between !important;
            height: 100% !important;
            padding: 0 12px !important;
        }

        /* Ensure logos are visible and centered */
        .logos-left-group {
            justify-content: center !important;
            width: 100% !important;
            margin: 0 !important;
            display: flex !important;
            gap: 24px !important;
        }

        .logo-separator {
            height: 110px !important;
            width: 2px !important;
            background-color: var(--color-accent) !important;
        }

        .logo-img {
            height: 120px !important;
            width: 180px !important;
            max-width: 180px !important;
        }

        .logo-secondary {
            height: 120px !important;
            width: 120px !important;
            max-width: 120px !important;
        }
    }

    /* 2. MOBILE (< 550px) */
    @media (max-width: 550px) {
        .header {
            height: auto !important;
            padding: 0 !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            background-color: var(--color-white) !important;
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            width: 100% !important;
        }

        .header-container {
            width: 100% !important;
            max-width: 100% !important;
            padding: 0 10px !important;
            display: flex !important;
            justify-content: center !important;
            align-items: center !important;
            height: 100% !important;
        }

        /* Logos container */
        .logos-left-group {
            width: 100% !important;
            display: flex !important;
            justify-content: center !important;
            align-items: center !important;
            gap: 10px !important;
            margin: 0 !important;
        }

        /* Adjust logos */
        .logo,
        .logo-secondary-container {
            flex: 0 1 auto !important;
            max-width: none !important;
        }

        .logo-img {
            height: 120px !important;
            width: 180px !important;
            max-width: 180px !important;
        }

        .logo-secondary {
            height: 120px !important;
            width: 120px !important;
            max-width: 120px !important;
        }

        /* Splitter */
        .logo-separator {
            display: block !important;
            width: 2px !important;
            height: 110px !important;
            background-color: var(--color-accent) !important;
            margin: 0 5px !important;
        }

        /* Hide everything else */
        .nav-list,
        .mobile-nav-toggle,
        .hamburger {
            display: none !important;
        }

        /* Keep sidebar nav visible on mobile */
        .sidebar-nav {
            display: flex !important;
            right: 5px !important;
        }

        .header-extras {
            display: none !important;
        }

        .lang-switch {
            display: none !important;
        }
    }

    /* Extra small phones (<= 480px) */
    @media (max-width: 480px) {
        .logos-left-group {
            gap: 12px !important;
        }

        .logo,
        .logo-secondary-container {
            flex: 0 0 auto !important;
            max-width: none !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
        }

        .logo-img {
            height: 120px !important;
            width: 180px !important;
            max-width: none !important;
        }

        .logo-secondary {
            height: 120px !important;
            width: 120px !important;
            max-width: 120px !important;
        }

        .logo-separator {
            height: 110px !important;
            width: 2px !important;
        }
    }

    /* ===================================
   Mobile Background Fix (iOS Safari)
   =================================== */
    @media (max-width: 768px) {

        .section-image,
        .contact-parallax,
        .hero {
            background-attachment: scroll !important;
            background-size: cover !important;
            background-position: center center !important;
        }
    }