/* Home Page Hero Section - Updated Typography */

/* Heading Styles */
.home-section-one h1,
.home-section-one h2,
.home-section-one h3,
.home-section-one .section-title {
    font-family: 'Cairo', sans-serif;
    font-weight: 900;
    font-style: normal;
    color: rgb(0, 0, 0);
    font-size: 46px;
    line-height: 46px;
    margin-bottom: 2rem;
}

/* Paragraph/Text Styles */
.home-section-one p,
.home-section-one .section-description {
    font-family: 'Cairo', sans-serif !important;
    font-weight: 900 !important;
    font-style: normal !important;
    color: rgb(0, 0, 0) !important;
    font-size: 21px !important;
    line-height: 33px !important;
    margin-bottom: 2rem !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
    font-smooth: always !important;
}

.bwbg-slider-wrapper {
    position: relative;
}

.bwbg-slider {
    display: block;
    position: relative;
    user-select: none;
}

.bwbg-viewport {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 637px;
}

.bwbg-slider-inner {
    height: 100%;
    position: absolute;
    width: 100%;
    left: 0;
}

.bwbg-banner {
    min-height: 30px;
    padding-top: 637px;
    background-color: rgb(255, 255, 255);
    position: absolute;
    left: 0;
    width: 100%;
}

.bwbg-banner-inner {
    bottom: 0;
    height: 100%;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.bwbg-banner-bg {
    overflow: hidden;
    bottom: 0;
    height: 100%;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.bwbg-bg {
    opacity: 1;
    bottom: 0;
    height: 100%;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    background-image: url('../images/home/hero-image.png');
}

.bwbg-banner-layers {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 1080px;
    height: 100%;
    max-height: 100%;
    position: relative;
}

.bwbg-text-box {
    max-height: 100%;
    left: 5%;
    top: 50%;
    font-size: 16px;
    width: 44%;
    position: absolute;
    transform: translateY(-50%);
}

.bwbg-text-content {
    backface-visibility: hidden;
    position: relative;
    z-index: 10;
    font-size: 100%;
}

.bwbg-text-inner {
    text-align: left;
    padding: 30px 30px 30px 20px;
}

.bwbg-title {
    font-family: Cairo, sans-serif;
    color: rgb(85, 85, 85);
    width: 100%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-style: normal;
    font-size: 2.9em;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 0.2em;
    margin-top: 0.2em;
}

.bwbg-lead {
    font-size: 1.3em;
    margin-bottom: 1em;
    margin-top: 1em;
}

.bwbg-button {
    touch-action: manipulation;
    border: 1px solid transparent;
    border-radius: 0;
    padding: 0 1.2em;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    font-size: 0.97em;
    font-weight: bolder;
    letter-spacing: 0.03em;
    line-height: 2.4em;
    margin-right: 1em;
    max-width: 100%;
    min-height: 2.5em;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    vertical-align: middle;
    border-color: rgba(0, 0, 0, 0.05);
    color: rgb(255, 255, 255);
    margin-bottom: 0.5em;
    margin-top: 0.5em;
    background-color: rgb(0, 0, 0);
    transition: all 0.3s;
}

.bwbg-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.bwbg-button span {
    display: inline-block;
    line-height: 1.6;
}

.bwbg-image {
    right: 0;
    top: 50%;
    width: 48%;
    position: absolute;
    transform: translateY(-50%) translateY(-100px);
    opacity: 0;
}

.bwbg-animate-drop-in.animate-in-view {
    animation: bwbg-dropIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes bwbg-dropIn {
    from {
        transform: translateY(-50%) translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateY(-50%) translateY(0);
        opacity: 1;
    }
}

.bwbg-parallax {
    backface-visibility: hidden;
    opacity: 1;
}

.bwbg-img-inner {
    color: rgb(241, 241, 241);
    position: relative;
    overflow: hidden;
}

.bwbg-img-inner img {
    display: inline-block;
    height: auto;
    max-width: 100%;
    width: 100%;
    vertical-align: middle;
    opacity: 1;
}

@media (max-width: 768px) {
    .bwbg-viewport {
        height: auto;
        min-height: 600px;
        margin-top: 80px;
    }

    .bwbg-banner {
        padding-top: 40px;
        padding-bottom: 40px;
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .bwbg-text-box {
        width: 100%;
        top: 0;
        transform: none;
        text-align: center;
        margin-bottom: 30px;
    }

    .bwbg-image {
        width: 100%;
        top: 0;
        bottom: auto;
        transform: none;
        opacity: .3 !important;
        position: relative;
        margin: 0 auto;
        text-align: center;
    }

    .bwbg-animate-drop-in.animate-in-view {
        animation: bwbg-dropInMobile 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    }

    @keyframes bwbg-dropInMobile {
        from {
            transform: translateY(100px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    .bwbg-title {
        font-size: 2em;
        text-align: center;
    }

    .bwbg-lead {
        font-size: 1.1em;
        text-align: center;
    }

    /* Remove white overlay for better image visibility */
    .bwbg-bg::before {
        display: none;
    }
}
