/* Sekcja O Pol-Met */
.about-section {
    width: 100%;
    background: rgba(24, 28, 34, 0.7);
    padding: 4vw 0 4vw 0;
    display: flex;
    justify-content: center;
}
.about-content {
    display: flex;
    gap: 4vw;
    max-width: 1300px;
    width: 100%;
    align-items: flex-start;
    padding: 0 2vw;
}
.about-text {
    flex: 1 1 400px;
    max-width: 540px;
    color: #e6e6e6;
}
.about-text h2 {
    color: #4a90a4;
    font-size: 2rem;
    margin-bottom: 1.2rem;
}
.about-text p {
    color: #e6e6e6;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}
.about-text ul {
    margin: 0 0 0 1.2rem;
    padding: 0;
    color: #e6e6e6;
    font-size: 1.05rem;
    list-style: disc inside;
}
.about-text ul li {
    margin-bottom: 0.3rem;
}
.about-image {
    flex: 1 1 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.about-image img {
    width: 100%;
    max-width: 520px;
    border-radius: 1px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
@media (max-width: 1000px) {
    .about-content {
        flex-direction: column;
        gap: 2vw;
        align-items: stretch;
    }
    .about-image img {
        max-width: 98vw;
    }
}
@media (max-width: 700px) {
    .about-section {
        padding: 2vw 0 2vw 0;
    }
    .about-text {
        padding: 1.2rem 0.7rem;
        max-width: 98vw;
    }
    .about-text h2 {
        font-size: 1.2rem;
        margin-bottom: 0.7rem;
    }
    .about-text p, .about-text ul {
        font-size: 0.98rem;
    }
    .about-image img {
        max-width: 98vw;
        border-radius: 10px;
    }
}

/* --- Tabbed interface for about section --- */
.about-tabs {
    display: flex;
    margin: 2rem 0 1.2rem 0;
    flex-wrap: wrap;
}
.about-tab-btn {
    background: #232a33;
    color: #539db1;
    border: none;
    border-radius: 0;
    padding: 1.1em 1.1em;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-top 0.2s;
    min-width: 120px;
    min-height: 54px;
    box-sizing: border-box;
    border-top: 3px solid transparent;
    border-bottom: 1.5px solid #232a33;
    border-left: 1.5px solid #232a33;
    border-right: 1.5px solid #232a33;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-tab-btn.active,
.about-tab-btn:focus {
    background: #232a33;
    color: #fff;
    border-top: 3px solid #4a90a4;
    z-index: 1;
}
.about-tab-btn:hover {
    background: #4a90a4;
    color: #fff;
}
.about-tab-content {
    margin-bottom: 1.2rem;
}
.about-tab-panel {
    display: none;
    animation: fadeIn 0.3s;
}
.about-tab-panel.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@media (max-width: 700px) {
    .about-tabs {
        gap: 0.5rem;
        margin: 1.2rem 0 0.7rem 0;
    }
    .about-tab-btn {
        font-size: 0.98rem;
        padding: 0.7em 0.7em;
        min-width: 90px;
        min-height: 44px;
    }
}
