:root {
    --bs-font-family: "Mulish", sans-serif;
    --bg-brown-clr: #E6E2DD;
    --bs-nav-gap: 1.5rem;
    --bs-clr-red: red;
    --bs-clr-grey: #E6E9EB8A;
}

/* Resets */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
    margin: 0;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    font-size: 18px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
 
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

input, button, textarea, select {
    font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}
#root, #__next {
    isolation: isolate;
}


button {
    cursor: pointer;
    border: none;
    background: none;
}

/* utility classes */
.red {
    color: var(--bs-clr-red);
}

.green {
    color: green;
}

/* Main styles */
body {
    font-family: var(--bs-font-family);
}

.flex {
    display: flex;
}

/* Nav */
.logo {
    width: 180px;
    max-width: 100%;
}

.logo-main {
    max-height: 60px;
}

.nav-head {
    justify-content: space-between;
}

.nav .flex {
    justify-content: space-between;
    gap: var(--bs-nav-gap);
    margin-bottom: 0;
    align-items: center;
}

.nav-link {
    transition: font-weight 0.3s;
}
.nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--bs-clr-red);
    font-weight: 600;
}

.navbar-toggler {
    outline: none;
    border: 0;
}

.dropdown .active {
    background-color: var(--bs-clr-red);
}

/* Carousel */

.navbar-nav {
    margin-left: auto;
    margin-right: 10px;
}

.hero-text { 
    position: absolute;
    bottom: 20%;
    left: 5%;
}

.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero {
    background-color: gray;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    background: rgba(0, 0, 0, 0.5);
    color: white;
}

@media (max-width: 768px) {
    .hero { 
        min-height: 60vh;
    }

    .hero-text {
        bottom: 20%;
    }
}


.banner .carousel-inner img {
    object-fit: cover;
    max-height: 700px;
    height: 500px;
    width: 100%;
    filter: brightness(50%);
}

.carousel-inner {
    position: relative;
}

.tagline {
    width: 70%;
    bottom: 10%;
    font-weight: 600;
    font-size: 1.5rem;
    color: white;
    position: absolute;
    left: 10%;
}

/* Latest News */
section ul {
    padding: 0;
}

.share-links > div {
    display: inline-block;
    margin-right: 2rem;
}

.news-left {
    border-right: 1px solid #dee2e6;
}

@media (min-width: 992px) {
    .nav-item {
        margin-left: 1.2rem;
    }

    .navbar {
        padding-block: 1rem;
    }

    .content {
        text-align: center;
        width: 60%;
        margin-inline: auto;
    }

    .subpage .content {
        width: 60%;
    }
    
    /* General styles */
    h3 {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .heading-line {
        display: block;
    }

    .tagline {
        font-size: 2.5rem;
        width: 60%;
    }

    .banner .carousel-inner img {
        height: 650px;
    }
}

.portfolio {
    background-color: var(--bs-clr-grey);
}

/* Portfolio companies */
.comps > div > div {
    background-color: #707070;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 0% 15% 15% 10%;
    background-blend-mode: multiply;
    color: white;
    height: 100%;
}

.summary {
    line-height: 1.3;
    display: none;
    padding-top: 1rem;
}
.comps div:hover .summary {
    display: block;
}

.comps div:hover .comp-title {
    display: none;
}

.comps>* {
    padding-inline: 0;
}
.comp-title, .summary {
    padding-top: 2rem;
    margin-bottom: 0;
}

.comp-title {
    font-weight: 900;
}

.niger-foods {
    background-color: #707070;
    background-image: url("../img/niger-foods.jpg");
    color: white;

}

.oceans-blue {
    background-color: #707070;
    background-image: url("../img/health1.jpg");
    /* color: black; */
}

.barrys {
    background-image: url("../img/barrys.jpeg");
}
.mukab {
    background-image: url("../img/stevedoring.jpg");
    }
.northstar {
    background-image: url("../img/min.jpg");
}

.learn a:hover, .learn button:hover {
    padding-bottom: 10px;
    border-bottom: 1px solid red;
}

@media (min-width: 1400px) {
    .comps > div > div {
        aspect-ratio: 1/1.1;
        align-items: center;
    }
    .about {
        padding-block: 2rem;
    }
}

/* Latest News */
.news {
    background-color: var(--bs-clr-grey);
}

.date {
    font-family: "Noto Sans Mono", monospace;
    font-size: 14px;
    margin-bottom: 0;
}
.news-section a:hover .news {
    border-bottom: 2px solid var(--bs-clr-red);
}

/* footer */
footer {
    background-color: var(--bs-clr-grey);
    margin-top: auto;
}

footer a:hover {
    color: var(--bs-clr-red);
}


/* NorthStar */
.do {
    background-color: var(--bs-clr-grey);
}

.do-item {
    background-color: white;
    border-radius: 20px;
}

.do-item {
    height: 100%;
}

.do-item div {
    align-self: center;
}

.brown {
    color: var(--bg-brown-clr);
}

.comp-img .flex {
    justify-content: center;
}

.subpage .banner-img img {
    object-fit: cover;
    max-height: 600px;
    width: 100%;
}

.subpage .join {
    align-self: center;
    justify-self: center;
}

.subpage .about .row {
    justify-content: space-between;
}

.contact-pg .banner-img {
    height: 200px;
    background-color: red;
    color: white;
    /* position: relative; */
}

.banner-img.flex {
    align-items: center;
    justify-content: center;
}

.details {
    /* position: absolute; */
    margin-inline: auto;
    background-color: #a9a9a9;
    z-index: 99;
    color: white;
}

.where-text {
    align-self: center;
}


.form {
    width: 80%;
    margin-inline: auto;
}

form {
    background-color: var(--bs-clr-grey);
}

.learn button {
    color: var(--bs-clr-red);
    background-color: red;
    color: white;
    border-radius: 5px;
}

.tm-item {
   aspect-ratio: 1/1;
}

.tm-item > div {
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
}

.tm-item ~ div {
    align-self: center;
}


@media (min-width: 768px) {
    .tagline {
        font-size: 2rem;
        bottom: 20%;
    }

    .contact-pg .banner-img {
        height: 400px;
    }

    .details {
        transform: translateY(-50%);
        width: 70%;
    }
    
}

@media (max-width: 1199.98px) { 
    .share-links > div {
        margin-right: 1.8rem;
    }
}

@media (max-width: 991.98px) { 
    .news-left {
        border-bottom: 1px solid #dee2e6;
        border-right: 0px;
    }

    .share-links > div {
        margin-right: 3rem;
    }
}

/* @media (max-width: 991.98px) { 
    .share-links.row {
        width: 40%;
    }
}

@media (max-width: 767.98px) { 
    .share-links.row {
        width: 50%;
    }
}


@media (max-width: 575.98px) { 
    .share-links.row {
        width: 60%;
    }
} */