body {
    background: #B3cccB;
    color: #fff;
    font-family: 'work sans';
    font-size: 18px;
}
h1, h2, h3, h4, h5 {
    font-family: 'work sans';
    font-weight: 900;
    text-transform: uppercase;
}
h1 {
    color:#fff;
}
h2, .card-title {
    margin-bottom: 1.5rem;
}
.navbar {
    margin-left: 10%;
    margin-right: 10%;
}
.navbar-brand img{
    float: none!important;
    height: auto!important;
    width: 125px!important;
}
.navbar-brand img:hover {
    opacity: 0.5;
}
li a, .btn, img {
    transition: 0.3s;
}
.navbar-nav li {
    margin: 10px;
}
.navbar-nav .dropdown li {
    margin: 0;
}
.navbar-nav li a {
    color: #133843;/*B3CCCB*/
    font-weight: 600;
}
.navbar-nav li .active,.navbar-nav li a:hover,.navbar-nav li a:focus{
    color: #ff8a00;
}
.dropdown-item.active, .dropdown-item:active {
    background-color: #e9ecef;
}
.navbar-toggler {
    color: rgba(0, 0, 0, 0.55);
    border-color: rgba(0, 0, 0, 0.1);
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.container-fluid {
    padding: 0;
}
.welcome {
    background-color: #B3CCCB;/*#133843;*/
}
.welcome-img,.welcome-img2,.welcome-img3,.welcome-img4 {
    position: relative !important;
}
.welcome-img::before,.welcome-img2::before,.welcome-img3::before,.welcome-img4::before {
    opacity: 0.4;
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background-repeat: no-repeat;
    z-index: 1;
    pointer-events: none;
    background-size: cover;
    background-position: center;
}
.welcome-img::before {
    background-image: url("https://theofferhub.co.uk/files/images/welcome.jpg");
}
.welcome-img2::before {
    background-image: url("https://theofferhub.co.uk/files/images/welcome2.jpg"); 
}
.welcome-img3::before {
    background-image: url("https://theofferhub.co.uk/files/images/welcome3.jpg"); 
}
.welcome-img4::before {
    background-image: url("https://theofferhub.co.uk/files/images/welcome4.jpg");    
}
.welcome-inner {
    /*height: 30rem;*/
    min-height: 5rem;
    text-align: center;
    padding: 15%;
}
.welcome-inner-title {
    margin-bottom: 2rem;
}
.welcome-img img,.welcome-img2 img,.welcome-img3 img,.welcome-img4 img {
    height: 30rem;
    width: auto;
    float: right;
}
/* Custom positioning for mobile screens */
@media (max-width: 576px) {
    .welcome-img,.welcome-img2,.welcome-img3,.welcome-img4 {
    position: absolute;
    top: 0;
    right: 0;
    }

    .col-lg-6 {
    position: relative; /* This allows the image to be positioned within the text block */
    }

    .welcome-img img,.welcome-img2 img,.welcome-img3 img,.welcome-img4 img {
    height: 6rem;
    width: auto;
    }
}
/* Keep the grid layout intact for larger screens */
@media (min-width: 577px) {
    .welcome-img,.welcome-img2,.welcome-img3,.welcome-img4 {
    position: static; /* Reset positioning for larger screens */
    }
}
.banner {
    background-color: #037e80;
    padding: 2% 4%;
}
.banner2 {
    background-color: #B3cccB;
    padding: 2% 4%;
}
.banner-inner {
    text-align: center;
   /* padding: 4rem 0 4rem 0;*/
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns */
    grid-auto-rows: 50px;                 /* base row height */
    gap: 15px;  
}
.service {
    place-items: center;
    border-radius: 1rem;
}
.service1 {
    background: #ff8a00;
    grid-column: 1;
    grid-row: span 2;
}
.service2 {
    background: #fff;
    grid-column: 2;
    grid-row: span 3;
}
.service3 {
    background: #f24405;
    grid-column: 3;
    grid-row: span 3;
}
.service4 {
    background: #fff;
    grid-column: 4;
    grid-row: span 4;
}
.service5 {
    background: #fff;
    grid-column: 1;
    grid-row: span 4;
}
.service6 {
    background: #f24405;
    grid-column: 2;
    grid-row: span 3;
}
.service7 {
    background: #fff;
    grid-column: 3;
    grid-row: span 3;
}
.service8 {
    background: #ff8a00;
    grid-column: 4;
    grid-row: span 2;
}
@media (max-width: 992px){ /* Bootstrap sm breakpoint */
    .grid-container {
        grid-template-columns: repeat(2, 1fr); /* 4 columns */
    }
    .service1,.service3,.service5,.service7 {
        grid-column: 1;
    }
    .service2,.service4,.service6,.service8 {
        grid-column: 2;
    }
}
.service-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    height: 100%;
}
.service-header {
    font-size: 1rem;
    color: #154854;
}
.service-img {
    height: 75px;
    width: auto;
}
.contact-us {
    background-image: url("../images/contact-us.jpg");
    background-color: #fff;
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: center;
}
.grid>div {
    display: grid;
}
.main {
    color: #133843;
    text-align:center;
    padding: 3rem;
    border-top: solid 5px #658381;
}
.main-2 h2{
    color: #ff8a00;
}
.main-2 {
    background-color: #133843;
    color:#fff;
    text-align: center;
    padding: 1.5rem;
    border-top: solid 5px #658381;
}
.main-3 {
    background-color: #ff8a00;
    color: #133843;
    text-align: center;
    padding: 1.5rem;
    border-top: solid 5px #658381;
}

.main-4 {
    background-color: #037e80;
    color: #fff;
    text-align: center;
    padding: 1.5rem;
    border-top: solid 5px #658381;
}

.main-inner {
    margin: auto;
}
.form-label {
    font-size: 16px;
}
.btn {
    color: #fff;
    border-radius: 0.5em;
    border-width: 2px;
    border-color: transparent;
    padding: 0.2rem 0.75rem;
}
.btn:hover {
    color: #fff;
    border-color: transparent;
}

.btn-primary {
    background-color: #f24405;
    text-transform: uppercase;
    color:#fff;
    font-weight: 600;
    border-radius: 2rem;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active:focus {
    background-color: #037e80;
    color:#fff;
    box-shadow: none;
}
.btn-secondary {
    background-color: #ff8a00;
    text-transform: uppercase;
    color:#fff;
    font-weight: 600;
    border-radius: 2rem;
}
.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active:focus {
    background-color: #037e80;
    color:#fff;
    box-shadow: none;
}
.btn-tertiary {
    background-color: #133843;
}
.btn-tertiary:hover, .btn-tertiary:focus, .btn-tertiary:active:focus {
    background-color: #037e80;
    box-shadow: none;
}
.btn-quaternary {
    background-color: #037e80;
}
.btn-quaternary:hover, .btn-quaternary:focus, .btn-quaternary:active:focus {
    background-color: #133843;
    box-shadow: none;
}
.buttons a {
    margin: 0.5em;
}
.home-card-text {
    color: #133843;
}
.card {
    padding: 1rem;
    margin-top: 30px;
    margin-bottom: 30px;
    border-radius: 0.5em;
}
.card-primary {
    background-color: #ff8a00;
}
.card-secondary {
    background-color: #133843;
}
.card-tertiary {
    background-color: #037e80;
}
.card-transparent {
    background-color: transparent;
    border: none;
    padding: 0;
}
.card-case-studies {
    background-color: #ff8a00;
    background-image: url("../images/logo-divider-3.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position-x: right;
}
.modal p, .modal h5, .modal-body {
    color: #303030;
}
.group {
    padding: 1rem;
}
.group img {
    margin-bottom: 2rem;
}
.group-list {
    text-align: left;
    font-size: 14px;
    border-bottom: 2px solid;
    margin-bottom: 1rem;
}
.group-list-title {
    font-size: 18px;
}
.small-print {
    font-size: 12px;
    color:#133843;
    font-style: italic;
}
.form-group {
    margin-bottom: 1rem;
}
.optional-cover {
    padding: 1rem;
    text-align: center;
    border: solid 3px #658381;
    border-radius: 5px;
    margin-top: 1rem;
}
.optional-cover-2 {
    padding: 1rem;
    text-align: center;
    border: solid 3px #658381;
    background: #658381;
    border-radius: 5px;
    margin-top: 1rem;
}
.optional-cover-body {
    padding: 1em;
    text-align: center;
    background-color: #658381;
    border-radius: 5px;
}
.optional-cover-body-2 {
    padding: 1em;
    text-align: center;
    background-color: #fff;
    border-radius: 5px;
}
.optional-cover-body-3 {
    margin-top: 1rem;
    background: #133843;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    color: #fff;
}
.optional-cover i,.optional-cover-2 i{
    font-size: 40px;
}
.optional-cover-body-3 i {
    font-size: 30px;
}
.divider {
    border-top: 1px solid #dee2e6!important;
}
footer {
    background-color:#133843;/*B3CCCB*/
}
.footer {
    padding: 2% 4%;
    font-size: 16px;
    border-top: 5px solid #658381;
    border-bottom: 5px solid #658381;
}
.footer h4 {
    margin-bottom: 1em;
}
.footer ul {
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    padding-left: 0;
}
.footer h1, .footer h2, .footer h3, .footer h4, .footer p {
    color: #fff; /*#133843;*/
}
.footer li, .get-in-touch a {
    margin-bottom: 0.25em;
    display: inline;
}
.get-in-touch p{
    margin-bottom: 0.5em;
}
.get-in-touch i {
    margin-right: 0.5em;
}
.footer li a, .footer a {
    text-decoration: none;
    color: #fff; /*#133843;*/
}
.footer li a:hover, .footer a:hover{
    text-decoration: underline;
}
.certs {
    align-items: center;
}
.certs img {
    height:65px;
    background: #fff;
    border-radius: 5px;
    margin: 5px;
}
.socials ul {
    display: inline-flex;
}
.socials li i {
    margin-right: 1em;
    font-size: 24px;
}
.socials li a:hover {
    color: #ff8a00;
    transform: scale(1.2);
}
.footer-bottom {
    background: #B3CCCB;
    color: #133843;
    padding: 0.5em;
    font-size: 14px;
}
.copyr {
    margin-bottom: 0;
}