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

body {
    font-family: 'Nunito Sans', sans-serif;
    color: #383838;
    background-color: #F4F4F3;
    overflow-x: hidden;
}

.header {
    background-color: #383838;
    padding: 20px 40px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
}

.header-link {
    color: #FFE600;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: opacity 0.2s;
}

.header-link:hover {
    opacity: 0.8;
}

.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    margin-top: 60px;
}

.hero-left {
    background-color: #383838;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.hero-image-container {
    max-width: 450px;
    width: 100%;
}

.hero-image-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background-color: #555;
    border: 3px solid #FFFFFF;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 16px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 3px solid #FFFFFF;
}

.hero-right {
    background-color: #FFE600;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 40px;
    color: #383838;
}

h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #383838;
}

h3 {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 25px;
    color: #383838;
}

h4 {
    font-size: 22px;
    font-weight: 700;
    color: #383838;
}

p {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.cta-button {
    background-color: #000000;
    color: #FFFFFF;
    padding: 18px 45px;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    transition: transform 0.2s;
    font-family: 'Nunito Sans', sans-serif;
}

.cta-button:hover {
    transform: scale(1.05);
}

.section-yellow {
    background-color: #FFE600;
    padding: 80px 60px;
}

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background-color: #0088cc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 16px;
}

.image-container {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
}

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

.section-gray {
    background-color: #F4F4F3;
    padding: 100px 60px;
}

.intro-text {
    text-align: left;
    max-width: 900px;
    margin: 0 auto 60px auto;
}

/* Feature Cards */
            .intro-text {
                text-align: left;
                margin: 0 auto 40px auto;
            }

            .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: #FFFFFF;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: #FFE600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #383838;
}

.feature-title {
    margin-top: 10px;
}

.application-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.application-left {
    background-color: #F4F4F3;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.application-right {
    background-color: #F4F4F3;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.application-image-placeholder {
    width: 100%;
    height: 100%;
    background-color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 16px;
}

.application-image-container {
    width: 100%;
    aspect-ratio: 3/4;
}

.application-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.decorative-stripes {
    position: absolute;
    width: 120px;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        #FFE600,
        #FFE600 10px,
        transparent 10px,
        transparent 20px
    );
    top: 0;
}

.stripe-left {
    left: 100px;
}

.stripe-right {
    right: 100px;
}

.support-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.support-left {
    background-color: #FFE600;
    padding: 80px 60px;
}

.support-list {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.support-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 20px;
    line-height: 1.7;
}

.support-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #383838;
    font-size: 28px;
    line-height: 1.4;
}

.support-right {
    background-color: #383838;
    padding: 80px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-image-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 3/4;
    background-color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 16px;
}

.support-image-container {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 3/4;
}

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

.logo-section {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.logo-section a {
    transition: opacity 0.2s;
}

.logo-section a:hover {
    opacity: 0.8;
}

.logo-placeholder {
    width: 180px;
    height: 60px;
    background-color: #383838;
    margin-bottom: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFE600;
    font-weight: 700;
}

.logo-act {
    width: 240px;
    height: auto;
    filter: grayscale(100%);
}

.logo-fierce {
    width: 180px;
    height: auto;
}

.footer {
    background-color: #000000;
    color: #FFFFFF;
    padding: 30px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text {
    font-size: 16px;
}

.bold-text {
    font-weight: 700;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #FFE600;
    color: #383838;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top:hover {
    background-color: #383838;
    color: #FFE600;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.back-to-top.show {
    display: flex;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
    }

    .logo {
        font-size: 16px;
    }

    .header-link {
        font-size: 14px;
    }

    .hero-section {
        grid-template-columns: 1fr;
        margin-top: 50px;
        min-height: auto;
    }

    .hero-left {
        display: none;
    }

    .hero-image-container {
        max-width: 320px;
    }

    .hero-right {
        padding: 40px 20px;
        min-height: auto;
    }

    h1 {
        font-size: 42px;
        margin-bottom: 20px;
    }

    h2 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    h3 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    h4 {
        font-size: 20px;
    }

    p {
        font-size: 18px;
    }

    .section-yellow,
    .section-gray,
    .application-left,
    .support-left,
    .support-right {
        padding: 40px 20px;
    }

    .section-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-content .image-container {
        order: -1;
    }

    .section-content .image-container img {
        content: url('fierce-beez-akcelerator-zaotvorene-ponosne-hrabre.webp');
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin: 30px auto;
    }

    .feature-card {
        padding: 30px 24px;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
    }

    .application-section,
    .support-section {
        grid-template-columns: 1fr;
    }

    .application-right {
        min-height: 400px;
    }

    .application-right .application-image {
        content: url('support-act-grupa.webp');
    }

    .support-right {
        display: none;
    }

    .decorative-stripes {
        width: 60px;
    }

    .stripe-left {
        left: 20px;
    }

    .stripe-right {
        right: 20px;
    }

    .footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px;
    }

    .cta-button {
        padding: 16px 36px;
        font-size: 17px;
    }

    .logo-section {
        margin-top: 30px;
        gap: 25px;
    }

    .logo-act {
        width: 200px;
    }

    .logo-fierce {
        width: 160px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .companies-nav {
        padding: 10px 20px;
        top: 50px;
    }

    .companies-nav-inner {
        flex-wrap: wrap;
        gap: 10px;
    }

    .nav-item {
        padding: 8px 12px;
        font-size: 14px;
    }

    .companies-intro {
        padding: 60px 20px 40px;
        margin-top: 50px;
    }

    .companies-intro h1 {
        font-size: 38px;
    }

    .company-section {
        padding: 40px 20px;
    }

    .company-header {
        margin-bottom: 30px;
    }

    .company-name {
        font-size: 32px;
    }

    .company-images {
        flex-direction: column;
        gap: 20px;
    }

    .company-image-wrapper {
        max-width: 100%;
        min-width: 100%;
    }
}

/* Companies Page Styles */
.companies-nav {
    position: sticky;
    top: 60px;
    background-color: #FFE600;
    padding: 15px 40px;
    z-index: 900;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.companies-nav-inner {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #383838 transparent;
}

.companies-nav-inner::-webkit-scrollbar {
    height: 6px;
}

.companies-nav-inner::-webkit-scrollbar-track {
    background: transparent;
}

.companies-nav-inner::-webkit-scrollbar-thumb {
    background-color: #383838;
    border-radius: 3px;
}

.nav-item {
    color: #383838;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    white-space: nowrap;
    padding: 10px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-item:hover {
    background-color: #383838;
    color: #FFE600;
}

.nav-item.active {
    background-color: #383838;
    color: #FFE600;
}

.companies-intro {
    background-color: #F4F4F3;
    padding: 100px 60px 60px;
    text-align: center;
    margin-top: 60px;
}

.companies-intro h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #383838;
}

.companies-intro p {
    font-size: 22px;
    color: #383838;
}

.company-section {
    padding: 60px 40px;
    background-color: #F4F4F3;
    border-bottom: 3px solid #FFE600;
}

.company-section:nth-child(even) {
    background-color: #FFFFFF;
}

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

.company-header {
    margin-bottom: 40px;
    text-align: center;
}

.company-name {
    font-size: 42px;
    font-weight: 800;
    color: #383838;
    margin-bottom: 10px;
}

.company-owner {
    font-size: 20px;
    color: #383838;
    font-weight: 600;
}

.company-images {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.company-image-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background-color: #FFFFFF;
    border: 3px solid #FFE600;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.company-image-placeholder {
    width: 100%;
    min-height: 300px;
    background-color: #F4F4F3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
}

/* For actual images - flexible sizing */
.company-image-wrapper img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    display: block;
}