/* About Section Modularity File */

.bsb-about-wrapper {
    position: relative;
    min-height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    overflow: hidden;
}

.bsb-about-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bsb-about-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    /* No transformation or offset here to fix top spacing issue */
}

.about-container {
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 10;
    position: relative;
    padding-top: 10rem;
    padding-bottom: 10rem;
}

.bsb-about-content {
    width: 100%;
    max-width: 520px;
    /* Precise width as per design */
    color: #000000;
    font-family: var(--bsb-font-primary);
    padding-right: 2rem;
}

/* Premium Typography Masking */
.line-mask {
    display: inline-block;
    vertical-align: top;
    overflow: hidden;
    margin-right: 0.35em;
    /* Maintain word spacing */
}

.line-inner {
    display: block;
    transform: translateY(115%);
}

.bsb-about-paragraph {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-weight: 400;
    /* Reveal handled by GSAP on .line-inner */
}

.bsb-bold-paragraph {
    font-weight: 700;
    font-size: 1.25rem;
}

/* Sidebar & Header dynamic inversion state triggered by About Section */
.bsb-left-sidebar.is-inverted .bsb-sidebar-text {
    color: #000000 !important;
}

.bsb-left-sidebar.is-inverted .bsb-social-icons img {
    filter: brightness(0) !important;
}

.bsb-header.is-inverted .bsb-header-logo img,
.bsb-header.is-inverted .bsb-menu-icon {
    filter: brightness(0) !important;
}

@media (max-width:991.98px) {
    .bsb-about-bg {
        position: relative;
        height: auto;
    }

    .about-container {
        padding: 20px;
    }

    .bsb-about-content {
        max-width: 100%;
        padding: 0;
    }
}