.d0whitebox {background-color: #FFF; margin: 1em 0; padding:20px; min-height:0px; display:block;}
.d0darkbox {background-color: #333333; margin: 1em 0; padding:20px; min-height:0px; display:block;}
.d0darktransbox {background-color: rgba(51, 51, 51, 0.7); margin: 1em 0; padding:20px; min-height:0px; display:block;}
.d0greybox {background-color: #eee; margin: 1em 0; padding:20px; min-height:0px; display:block;}

.d0blackunderlinecentral {background-color: #111; align-self: auto; width: 140px; height: 1px; margin-bottom: 40px; margin-left: auto; margin-right: auto;}
.d0whiteunderlinecentral {background-color: #fff; align-self: auto; width: 140px; height: 1px; margin-bottom: 40px; margin-left: auto; margin-right: auto;}

.d0numbersize {font-family: 'Jost', sans-serif; font-size: 24px; margin-top: 28px !important;}

@media only screen and (min-width: 800px) {
.d0whitecoverright {background: linear-gradient(90deg,rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 1) 100%);}
.d0whitecoverleft {background: linear-gradient(270deg,rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 1) 100%);}
#r8_content .vidContainer h1 {font-size: 3.2em;}
#r8_content .vidContainer h2 {font-size: 3.2em;}
}
@media only screen and (max-width: 799px) {
.d0whitecoverright {background: #fff;}
.d0whitecoverleft {background: #fff;}
#r8_content .vidContainer h1 {font-size: 1.5em;}
#r8_content .vidContainer h2 {font-size: 2em;}
#r8_content .vidContainer h2 br {display: none;}
#r8_content .parallax-overlay .container {padding-left: 0px; padding-right: 0px;}
.container {padding-right: 5px; padding-left: 5px;}}

@media only screen and (min-width: 992px) {.d0deepspace {min-height: 35vh;}}
@media only screen and (max-width: 991px) {.d0deepspace {min-height: 25vh;}}

.sf-menu > li > a {font-weight: 300; letter-spacing: 2px;}

.sf-menu > li ul {width: 250px;}
.sf-menu li ul li a {font-family: 'Helvetica', sans-serif; font-weight: 500; letter-spacing: 1px;}

.parallax-dark {background-color: rgba(0, 0, 0, 0.55);}

.sf-menu > li ul {border-top: 2px solid #fa5ffa;}

#r8_content h1 {font-family: 'Jost', sans-serif !important; letter-spacing: 1px; font-weight: 400;}
#r8_content h2 {font-family: 'Jost', sans-serif !important; letter-spacing: 1px; font-weight: 500;}
#r8_content h3 {font-family: 'Jost', sans-serif !important; text-transform: uppercase; font-weight: 500;}
#r8_content h4 {font-family: 'Jost', sans-serif !important; text-transform: uppercase; font-weight: 500;}

@media only screen and (max-width: 799px) {.btn {display: block !important; white-space: normal !important;}}

@media only screen and (min-width: 800px) {.d0fivecolumnwrapper {display: flex; overflow: hidden; width: 100%;}} @media only screen and (max-width: 799px) {.d0fivecolumnwrapper {display: flex; flex-direction: column; overflow: hidden; width: 100%;}} .d0fivecolumn {flex: 1 1 20%; box-sizing: border-box; padding: 0 5px;}

#d0footercolumnspace .col-sm-6 {padding: 0px;}

.btn-statement {color: #141414;}

#r8_content .ui-state-default {border: 1px solid #fff; background: #fff; padding: 0 0 !important;}

#r8_content .ui-state-active {background: 0; border: 1px solid #fff;}

#r8_content .ui-widget-content {border: 1px solid #fff;}

#dotgo-accordion6 h4 {color: #111; margin: 25px 25px !important;}

#dotgo-accordion6 i {color: #FA5FFA;}

.well {box-shadow: none;}

#dotgo-accordion6 .ui-widget {
    font-family: inherit;
    position: relative;
    margin-left: unset !important;
    max-width: 2000px !important;}

/* Remove focus outline for mouse users only */
:focus:not(:focus-visible) {outline: none;}

/*CHANGE MOBILE MENU BACKGROUND AND TEXT*/

@media (max-width: 991px) {
    .mm-ismenu, .mm-ismenu.mm-light {
        background-color: #fff;
        color: #111;
    }}
/*CHANGE DIVIDERS BETWEEN MOBILE MENU ITEMS*/

@media (max-width: 991px) {
    .mm-menu.mm-light .mm-list>li:after, .mm-menu .mm-list>li:after, .mm-menu.mm-light .mm-header, .mm-menu.mm-light .mm-header {
        border-color: #fff;
 }}

/*CHANGE MOBILE DROPDOWN ARROW COLOUR*/

@media (max-width: 991px) {
    .mm-menu .mm-list>li>a.mm-subopen:after, .mm-menu .mm-list>li>a.mm-subclose:before, .mm-menu.mm-light .mm-list>li>a.mm-subopen:after, .mm-menu.mm-light .mm-list>li>a.mm-subclose:before, .mm-menu.mm-light .mm-header a:before {
        border-color: #fa5ffa;
}}

.mm-menu.mm-vertical .mm-list li.mm-opened > ul {background-color: #fff;}
.mm-menu.mm-vertical .mm-list li.mm-opened>a.mm-subopen {background-color: #fff;}
.mm-list>li>a {font-family: Cinzel, serif; font-size: 16px;}

#header div.menu_container {background-color: #fff; border-bottom: none; box-shadow: none;}

#header a.mobile-menu-right {display: none;}

#header a.mobile-menu {border-radius: 0px;}

.d0alexbrushscript,
.d0alexbrushscript span {
    font-family: "Oooh Baby", cursive !important;
    font-weight: 400;
    font-style: normal;
    text-transform: none !important;
    font-size: 2.7em !important;
}

.ub-light {background-color: #FAFAFA;}

#dotgo-accordion6 h4 {text-transform: none;}

@media (min-width: 1201px) {
    #r8_navbar .navbar {
        height: 160px;
        margin-top: 0px;
    }
}

/*ENGETECH STICKY CONTACT BAR*/

.sticky-contact-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.18);
    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition:
        transform 0.3s ease,
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.sticky-contact-bar.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sticky-contact-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}


/*LEFT TEXT*/

.sticky-contact-text {
    color: #333;
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    font-family: 'Jost', sans-serif;
}

.sticky-contact-text strong {
    font-size: 18px;
    font-weight: 700;
}

.sticky-contact-text span {
    font-size: 14px;
    margin-top: 2px;
    opacity: 0.9;
}


/*BUTTON AREA*/

.sticky-contact-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.sticky-contact-btn {
    min-height: 46px;
    padding: 11px 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    text-decoration: none !important;

    font-size: 16px;
    font-weight: 700;
    line-height: 1;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.sticky-contact-btn:hover,
.sticky-contact-btn:focus {
    text-decoration: none !important;
    transform: translateY(-1px);
}


/* PHONE BUTTON */

.sticky-contact-phone {
    background: #333333;
    color: #fff !important;
}

.sticky-contact-phone:hover,
.sticky-contact-phone:focus {
    background: #333333;
    color: #fff !important;
}


/* CONTACT / FORM BUTTON */

.sticky-contact-form {
    background: #333333;
    color: #fff !important;
}

.sticky-contact-form:hover,
.sticky-contact-form:focus {
    background: #333333;
    color: #fff !important;
}


/* MOBILE-SPECIFIC LABEL */

.sticky-phone-mobile {
    display: none;
}


/* ==========================================
   MOBILE
   ========================================== */

@media only screen and (max-width: 767px) {

    .sticky-contact-bar {
        border-top-width: 2px;
    }

    .sticky-contact-inner {
        padding: 7px 8px;
        gap: 6px;
    }

    /* Hide supporting copy on mobile to keep bar compact */
    .sticky-contact-text {
        display: none;
    }

    .sticky-contact-actions {
        width: 100%;
        gap: 6px;
    }

    .sticky-contact-btn {
        flex: 1;
        min-height: 42px;
        padding: 9px 10px;
        font-size: 14px;
        border-radius: 3px;
    }

    .sticky-phone-desktop {
        display: none;
    }

    .sticky-phone-mobile {
        display: inline;
    }

}


/* ==========================================
   VERY SMALL MOBILE
   ========================================== */

@media only screen and (max-width: 380px) {

    .sticky-contact-inner {
        padding: 6px;
    }

    .sticky-contact-btn {
        min-height: 40px;
        padding: 8px;
        font-size: 13px;
    }

}

@media only screen and (min-width: 768px) {

/* Navbar styling */
#r8_navbar .navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #FFF;
  padding: 8px 0; /* Adjust padding as needed */
  min-height: 170px; /* Optional: Set a minimum height */
  height: auto; /* Allow it to grow with content */
  overflow: visible; /* Prevent cropping */
  position: relative;
}

/* Logo image styling */
#r8_logo img {
  max-height: 230px; /* Adjust to your preferred size */
  height: auto;
  width: auto;
  display: block;
}
}
