/* ---- Global layout to account for fixed navbar ---- */
body {
    padding-top: 80px;
    font-family: 'Poppins', sans-serif;
    color: #222;
    font-weight: 400;
}
.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    --bs-gutter-x: 3rem;
}
h1, h2, h3, h4, h5, h6 {
    /*font-family: 'Raleway', sans-serif;*/
    font-weight: 600; 
    letter-spacing: 0.5px;
}

/* ---- Navbar base styles ---- */
.bsafe-navbar {
    background-color: #29286b;
}

/* Logo sizing */
.bsafe-logo {
    width: 100px;
    height: auto;
}

.bsafe-logo-sm {
    width: 80px;
    height: auto;
}

/* Nav links (desktop + offcanvas) */
.bsafe-navbar .nav-link {
    color: #ffffff;
}

.bsafe-navbar .nav-link:hover,
.bsafe-navbar .nav-link:focus,
.bsafe-navbar .nav-link.active {
    color: #f1f1f1;
}

/* Offcanvas styling (mobile menu) */
.bsafe-offcanvas {
    background-color: #29286b;
    color: #ffffff;
}

.bsafe-offcanvas .offcanvas-header {
    justify-content: flex-end;
}

.bsafe-offcanvas .nav-link {
    color: #ffffff;
}

.bsafe-offcanvas .nav-link:hover,
.bsafe-offcanvas .nav-link:focus,
.bsafe-offcanvas .nav-link.active {
    color: #f1f1f1;
}

/* Call button */
.btn-bsafe-call {
    border: 1px solid #ffffff;
    color: #29286b;
    background-color: #ffffff;
    font-weight: 600;
    padding: 0.45rem 1.25rem;
    border-radius: 999px; /* pill shape */
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-bsafe-call:hover,
.btn-bsafe-call:focus {
    background-color: #29286b;
    color: #ffffff;
    border-color: #ffffff; /* stays white */
}

/* Toggler icon visibility on custom background */
.navbar-dark .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-dark .navbar-toggler-icon {
    /* use default Bootstrap white icon for dark navbars */
    background-image: var(--bs-navbar-toggler-icon-bg);
}

/* Optional: slightly tighten spacing on large screens */
@media (min-width: 992px) {
    .bsafe-navbar .navbar-nav .nav-link {
        margin-left: 1rem;
        margin-right: 1rem;
    }
}

/* =========================================================
   Split Hero Section Layout
   ========================================================= */

.bsafe-hero-split {
    width: 100%;
    height: calc(100vh - 80px);
}

.bsafe-split-left {
    background-color: #ffffff;
}

.bsafe-split-right {
    background-image: url('../img/pool-by-lake.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Content block */
.bsafe-split-content {
    padding: 0 80px;
    text-align: left;
    width: 100%;
}

.bsafe-split-content h1,
.bsafe-split-content h2,
.bsafe-split-content h3 {
    font-family: 'Raleway', sans-serif;
    color: #29286b;
    font-weight: 700;
}

/* Typography specifics */
.bsafe-split-content h1 {
    font-size: 3rem;
}

.bsafe-split-content h2 {
    font-size: 1.75rem;
    font-weight: 600;
}

.bsafe-split-content h3 {
    font-size: 1.35rem;
    font-weight: 500;
}

/* =========================================================
   Blue Button (Custom CTA)
   ========================================================= */

.btn-bsafe-blue {
    border: 1px solid #29286b;
    background-color: #29286b;
    color: #ffffff;
    padding: 0.55rem 1.4rem;
    border-radius: 999px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-bsafe-blue:hover,
.btn-bsafe-blue:focus {
    background-color: #ffffff;
    color: #29286b;
    border-color: #29286b;
}

/* =========================================================
   Mobile Adjustments
   ========================================================= */

@media (max-width: 767.98px) {
    .bsafe-hero-split {
        height: auto;
    }

    .bsafe-split-right {
        height: 350px;
    }

    .bsafe-split-content {
        padding: 30px;
        text-align: center; /* optional: can keep left if you want */
    }

    .bsafe-split-content h1,
    .bsafe-split-content h2,
    .bsafe-split-content h3 {
        text-align: center;
    }
}


/* =========================================================
   Full-Image Hero (Bottom-Left Text Variant)
   ========================================================= */

.bsafe-hero-bottom {
    position: relative;
    width: 100%;
    height: calc(100vh - 80px);
    background-image: url('../img/pool-by-lake-warm.jpg');
    background-size: cover;
    background-position: 0 -300px;
    background-repeat: no-repeat;
    color: #ffffff;
    overflow: hidden;
}

/* Overlay with 0.25 opacity */
.bsafe-hero-bottom::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.20);
    z-index: 1;
}

/* Text block */
.bsafe-hero-bottom-content {
    position: absolute;
    left: 40px;
    bottom: 40px;
    z-index: 2;
    color: #ffffff;
    max-width: 600px;
    text-align: left;
}

.bsafe-hero-bottom-content h1,
.bsafe-hero-bottom-content h2,
.bsafe-hero-bottom-content p {
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 1);
}

/* Optional typography refinement */
.bsafe-hero-bottom-content h1 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 2.75rem;
}

.bsafe-hero-bottom-content h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 1.75rem;
}

.bsafe-hero-bottom-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
}

/* Mobile: keep full height, center text at bottom */
@media (max-width: 1200px) {

    .bsafe-hero-bottom {
        background-position: center;
    }
}

@media (max-width: 767.98px) {
    

    .bsafe-hero-bottom {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        background-position: center;
    }

    .bsafe-hero-bottom-content {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        max-width: 100%;
        padding: 0 20px;
    }
}



