.about-page {
    font-family: inherit;
    color: #2A378D;
    margin: 0 auto;
    box-sizing: border-box;
}

.about-header-section {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: unset;
}

.about-badge {
    display: inline-block;
    background: #f2ebfa;
    color: #460087;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.about-header-section h1 {
    color: #2A378D;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
}

.about-header-section p {
    color: #666;
    max-width: 600px;
    margin: 0 auto !important;
    line-height: 1.6;
}

.about-block {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 70px;
}

.about-block.reverse {
    flex-direction: row-reverse;
}

.about-block.full-width {
    display: block;
    margin-bottom: 20px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 24px;
    font-weight: 800;
    color: #2A378D;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.about-text p {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 15px;
}

.about-text strong {
    color: #2A378D;
    font-weight: 700;
}

.history-timeline p {
    margin-bottom: 12px;
    padding-left: 10px;
    border-left: 3px solid #2A378D;
}

.about-image {
    flex: 1;
    max-width: 450px;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); 
    object-fit: cover;
}


@media (max-width: 850px) {
    .about-block, 
    .about-block.reverse {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 50px;
    }
    
    .about-image {
        max-width: 100%;
        width: 100%;
    }
    
    .about-header-section h1 {
        font-size: 28px;
    }
}

.in-o-firme-qadroflex header h1 {
    display:none;
}

@media (max-width: 768px) {
    .about-row, .about-row.reverse {
        flex-direction: column !important;
        margin-bottom: 50px !important;
        gap: 20px !important;
    }

    .about-image {
        width: 100% !important;
        max-width: 450px !important;
        margin: 0 auto !important;
    }

    .about-image img {
        aspect-ratio: 16 / 9 !important; 
    }
    
    .about-header-section {
        margin-bottom: 40px !important;
    }
    
    .about-header-section h1 {
        font-size: 30px !important;
    }
}