/* Hero Section */
.hero-section-about {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.hero-background-about {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-section-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.hero-section-about .container {
    position: relative;
    height: 100%;
    z-index: 2;
}

.hero-content-about {
    position: absolute;
    top: 60%;
    max-width: 800px;
    text-align: left;
}

.hero-content-about h1 {
    font-family: var(--title-font-family);
    font-size: 70px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: -20px;
    line-height: 1.2;
    color: #FFFFFF;
}

/* Responsywność */
@media (max-width: 992px) {
    .hero-content-about h1 {
        font-size: 60px;
    }
}

@media (max-width: 768px) {
    .hero-section-about {
        height: 250px;
    }
}


/* Historia i misja firmy section */
.about-section {
    margin-top: 100px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 80px;
}

.section-title {
    font-family: var(--title-font-family);
    text-transform: uppercase;
    font-size: 70px;
    line-height: 1;
    font-weight: 400;
    margin: 0;
    color: #1D1D1B;
    flex: 0 0 auto; /* Zapobiega rozciąganiu tytułu */
    width: 490px; /* Stała szerokość dla tytułu */
}

.about-grid {
    flex: 1; /* Zajmuje pozostałą przestrzeń */
}

.about-text {
    font-size: 16px;
    line-height: 1.6;
    color: #1D1D1B;
}

.about-text p {
    margin-bottom: 10px;
}

.about-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.video-container {
    height: 400px;
}


.video-banner-section.about {
    padding: 50px 0 100px 0;
}

/* Values section */

.values-section {
    background-color: #1D1D1B;
    padding: 80px 0;
    margin-bottom: 80px;
}

.values-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.values-section .section-title {
    color: #fff;
    text-align: left;
    margin-left: 15px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 65px;
    padding: 0 15px;
}

.value-card {
    color: #EFEEEC;
    text-align: left;
}

.value-card h3 {
    font-size: 45px;
    margin: 20px 0;
    font-weight: 400;
    font-family: var(--title-font-family);
}

.value-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #EFEEEC;
}

/* Values section - icons */
.value-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.value-icon.ecology {
    background-image: url('../icons/ecology-icon.svg');
}

.value-icon.security {
    background-image: url('../icons/security-icon.svg');
}

.value-icon.innovation {
    background-image: url('../icons/innovation-icon.svg');
}

/* How it works section */
.hwk-section {
    margin: 100px 0;
}

.hwk-section-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 100px;
    padding-bottom: 85px;
}

@media (max-width: 992px) {
    .hwk-section-content {
        flex-direction: column;
        gap: 30px;
        padding-bottom: 50px;
    }

    .hwk-section{
        margin: 50px 0px 10px 0px;
    }

    .values-section{
        margin-bottom: 20px;
    }
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 90px;
}

.step-card {
    text-align: left;
}

.step-number {
    width: 80px;
    height: 80px;
    background: #DA6E4B;
    color: #fff;
    border-radius: 20px 0 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 55px;
    font-weight: 400;
    font-family: var(--title-font-family);
    padding-top: 5px;
}

.step-card h3 {
    font-size: 45px;
    margin: 20px 0;
    font-weight: 400;
    font-family: var(--title-font-family);
    color: #1D1D1B;
    line-height: 1;
}


.step-card p {
    font-size: 16px;
    color: #1D1D1B;
    line-height: 1.4;
}


/* Responsive styles */
@media (max-width: 992px) {
    .about-section {
        flex-direction: column;
        gap: 30px;
        margin-top: 50px;
    }

    .section-title {
        font-size: 50px;
        width: 100%;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .video-banner-section.about {
        padding: 50px 0 50px 0;
    }

    .steps-grid{
        gap: 45px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 40px;
    }
    
    .values-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

