header.masthead {
    margin-bottom: 0;
}

/* @media only screen and (max-width: 700px) {
    #img_side {
        display: none;
    }
}

@media only screen and (min-width: 701px) {
    #img_mobile {
        display: none;
    }
} */

#bio_text p {
    /* font-size: 16px; */
}

#photo_gallery {
    height: 700px;
    background-color: #1b1b1b;
}

.carousel-item img {
    height: 700px;
    width: 100%;
    object-fit: cover;
    /* Ensures the image scales properly */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;

    flex-direction: column;

    font-size: 15px;
}

.overlay p,
.overlay h4 {
    margin: 0;
}

.overlay p:nth-of-type(1) {
    margin-bottom: 20px;
}

.photo-container:hover .overlay {
    opacity: 1;
}

.photo-container:nth-child(1),
.photo-container:nth-child(4) {
    width: 55%;
}

.photo-container:nth-child(2),
.photo-container:nth-child(3) {
    width: 45%;
}

/* .navbar-dark {
                background-color: #1b1b1b !important;
            } */

@media (max-width: 900px) {
    .services {
        flex-direction: column;
        /* Change direction to column */
    }

    .service_box {
        width: 100% !important;
    }

    .hireflex {
        flex-direction: column !important;
    }

    .hireflex_item {
        width: 100% !important;
    }

    /* .site-heading h1 {
        font-size: clamp(10px, 13vw, 70px) !important;
    } */

    .site-heading {
        padding: 40px 3rem 40px 3rem !important;
    }

    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

@media (max-width: 450px) {
    #iFrame1 {
        zoom: 0.5;
        padding: 0px;
    }

    /* a.nav-link {
        font-size: clamp(5px, 1vw, 16px) !important;
        color: red !important;
    } */

    #phone {
        display: none !important;
    }

    #phone_icon {
        display: block !important;
    }

    .list-inline > .nav-socials {
        justify-content: center;
    }
}

.service_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* height: 300px; */
    justify-content: center;
    padding: 30px;
    text-align: center;
    width: 33.33%;
}

.service_box i {
    font-size: 50px;
}

.sb_light {
    color: #fff;
    background-color: #083554;
}

.sb_dark {
    color: #083554;
}

.sb_blue {
    background-color: #6FB5DD;
}

/* #mainNav:not(.is-fixed) {
            border-bottom: 1px solid #1b1b1b;
            background-color: #1b1b1b;
        }

        #mainNav.is-fixed .navbar-brand {
            color: #fff;
        }

        #mainNav.is-fixed.navbar-dark .navbar-brand:focus,
        #mainNav.is-fixed.navbar-dark .navbar-brand:hover {
            color: #0085A1;
        }

        #mainNav.is-fixed .navbar-nav>li.nav-item>a {
            color: #fff;
        }

        #mainNav.is-fixed.navbar-dark .navbar-nav>li.nav-item>a:focus,
        #mainNav.is-fixed.navbar-dark .navbar-nav>li.nav-item>a:hover {
            color: #0085A1;
        } */

.carousel-caption {
    display: none !important;
}

img.d-block {
    /* height: 200px; */
    object-fit: contain;
}

.contact_area {
    /* background-image: url('./assets/img/mrc-talent2.png');
            background-size: cover; */

    background-color: #fff;
    width: 100%;

    align-items: flex-start;
}

.contact_area h2 {
    color: #083554;
}

.contact_area .list-inline {
    padding: 2rem;
    margin: 0;
}

.calltoaction {
    /* background-image: url('./assets/img/mrc-talent2.png');
            background-size: cover; */

    background: linear-gradient(35deg, #0085A1 17%, #083554 100%) fixed;

    margin: 0;
    width: 100%;

    /* height: 300px; */

    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.calltoaction h1 {
    font-size: 60px;
    font-weight: bold;

    padding-bottom: 30px;

    /* margin-top: 50px; */
    text-align: center;

    color: white;
}

footer {
    background-color: #1b1b1b;
    color: white;

    margin: 0px;
    padding: 10px;
}

footer p {
    margin: 0px;
    padding: 0px;
}

.icon_bold {
    width: 4rem !important;
    height: 4rem !important;
}

.button {
    background-color: #1b1b1b;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 8px;
}

.button:hover {
    background-color: #3a3a3a;
    /* box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19); */
    transition-duration: 0.4s;
    color: #0085A1 !important;
}

.button h4 {
    margin: 0;
    padding: 0;
}

.nav-link.active {
    /* color: #0085A1 !important; */

    text-decoration: underline solid white;
    text-underline-offset: 8px;
    text-decoration-thickness: 3px;
}

#main_container {
    padding-top: 1rem;
}

#main_container p, li {
    font-size: 18px;
}

#main_container p:last-of-type {
    /* margin-bottom: 3rem; */
}

#who_we_are p {
    font-size: 1.1rem;
}

/* .dropdown:hover > .dropdown-menu {
    display: block;
} */

.dropdown-menu {
    a {
        font-size: 12px;
        text-transform: uppercase !important;
        font-weight: 800;
    }
}

.dropdown-toggle {
    color: white !important;
}

.nav-icon {
    color: #2691ce !important;
    font-size: 1rem;
    height: 66px;
    align-content: center;
    padding: 0 !important;
}

.nav-icon:hover {
    opacity: 0.8;
}

.nav-socials {
    display: flex;
}

#phonenumber {
    padding: 8px;
    background-color: #2691ce;
    border-radius: 4px;
    overflow: hidden;
    width: fit-content;
}

#phonenumberbig {
    padding: 8px;
    background-color: #2691ce;
    border-radius: 4px;
    overflow: hidden;
    color: white;
    
}

#phone {
    display: flex;
    align-items: center;
    padding-left: 8px;
}

#phone h4 {
    margin: 0px;
    
    font-size: 16px !important;
}

#phone h4 svg {
padding-right: 8px !important;
}

.dark_container {
    background-color: #3a3a3a;
    color: white;

    /* background-image: url('./assets/img/mrc-talent2.png');
            background-size: cover; */

    /* background: linear-gradient(35deg, #0085A1 17%, #083554 100%) fixed; */

    padding-top: 3rem;
    padding-bottom: 3rem;
}

.container {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 4rem;
    padding-right: 4rem;
    max-width: 100% !important;
}

.hireflex {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    column-gap: 100px;
}

.hireflex_item {
    width: 50%;
}

.site-heading h1, .calltoaction h1 {
    font-size: clamp(10px, 13vw, 70px) !important;
    text-align: left;
}

.site-heading img {
    width: 45%;
    min-width: 250px;
}

#who_we_are {
    margin-top: 32px;
}