@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700&display=swap');

/* reset styles */
* {
    color: inherit;
    margin: 0;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgb(115, 115, 115);
    background: white;
    overflow-x: hidden;
}

ul {
    padding: 0;
    list-style-type: none;
}

a {
    text-decoration: none;
}

hr {
    border: 0;
    border-top: 1px dotted #efefef;
}

img {
    max-width: 100%;
}


/* */

.logo-color {
    color: gray;
}

.logo-text {
    color: black;
    font-size: 2.5rem;
}

.logo-text-small {
    color: black;
}

.title-sm {
    font-size: 1.5rem;
}

a {
    font-weight: 500;
    transition: all 0.4s ease;
}


section {  
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    min-height: 400px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.bg-softwhite {
    background-color: #f9f9f9;
}


.navbar .nav-item .nav-link { 
    /* text-transform: uppercase; */
    /* letter-spacing: 1px; */
}

.navbar-nav .nav-link.active {
    color: #0d6efd;
}

.brand-text {
    font-size: 1.5rem;
}


.footer-text,
.footer-text a  {
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.05rem;
    color: white;
}

.carousel-caption {

   position: relative;
   margin: auto;
   left: 0;
   right: 0;
    
}

.carousel-bg {
    background: #6f6f6f
}




.homepic {
    
    
}


#expertise {
    flex-direction: column;
    background-color:  #f9f9f9;
}


#features {
    flex-direction: column;
    background-color:  #e9e9e9;
}

#contact {
    background-color:  #e9e9e9;
    padding-top: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-bottom: 0px;
    min-height: 100%;
}

@media (min-width: 768px) {

    .container {
        padding: 0 20px;
    }

    #home {
        background: url('../img/scm-new-size.jpg') no-repeat center;
        background-size: contain;
        background-position: center;
        justify-content: center;

        scroll-margin-top: 80px;
        min-height: 80vh;

        p {
            margin-left: auto;
        }
    }

    #expertise {
        scroll-margin-top: 60px;
        padding-top: 40px;
        padding-bottom: 120px;
    }

    #features {
        scroll-margin-top: 60px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    #contact {
        scroll-margin-top: 80px;
        padding-top: 0px;
        margin-top: 0px;
    }

    .carousel-caption-text {
        margin: 0 50px;
        font-size: 1.3rem;
    }

    .carousel-caption-title {
        font-size: 3rem;
    }

    .carousel.caption {
        padding: 0 50px;
    }

    .title {
        font-size: 2.5rem;
    }
    .content {
        font-size: 1.5rem; 
    }
    
    .contact-prompt {
        font-size: 1.5rem;
    }

    .logo-text-small {
        font-size: 1.5rem;
    }

    .wave {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        overflow: hidden;
        line-height: 0;
    }

    .wave svg {
        position: relative;
        display: block;
        width: calc(150% + 1.3px);
        height: 150px;
    }

    .wave .shape-fill {
        fill: #e9e9e9;
    }

}


@media (max-width: 768px) {

    #expertise, #features {
        scroll-margin-top: 200px;
    }

    #contact {
        scroll-margin-top: 200px;
    }

    #home {
        background-size: contain;
        background-position: center;
        justify-content: center;

        p {
            margin: auto;
        }
    }

    .carousel-caption-text {
        margin: 0 20px;
        font-size: 0.8rem;
    }

    .container {
        padding: 0;
    }

    .title {
        font-size: 2rem;
    }
    .content {
        font-size: 1rem; 
    }

    .contact-prompt {
        font-size: 1.2rem;
    }

    .logo-text-small {
        font-size: 1.2rem;
    }
}


@media (max-width: 576px) {
    .container {
        padding: 0;
    }

    #home {
        background-size: contain;
        background-position: center;
        justify-content: center;

        p {
            margin: auto;
        }
    }
    
    .title {
        font-size: 1.5rem;
    }
    .content {
        font-size: 1rem; 
    }

    .carousel-caption-text {
        margin: 0 20px;
        font-size: 0.8rem;
    }
}

.op {
    background: rgba(108, 112, 130, 0.6);
    margin-left: 0px;
    margin-right: 0px;
}


#ftr {
    scroll-margin-top: 60px;
}


.btn-brand {
    background-color: #0d6efd;
    color: white;
}

.btn-brand:hover {
    background-color: #3080f8;
    color: white;
}

.section-intro {
    text-align: center;
}

.section-intro .hline {
    width: 200px;
    height: 2px;
    margin: 0 auto 0 auto;
}

.box-icon {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex: none;
    
}

.portfolio-item {
    overflow: hidden;
    position: relative;

}

.portfolio-item img,
.portfolio-item .portfolio-overlay {
    transition: all 0.4s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
}

.portfolio-overlay h3,
.portfolio-overlay h6 {
    color: white;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.feature .box-icon {
    width: 34px;
    height: 34px;
    border-radius: 100px;
    font-size: 2rem;
}

.social-icons .bx {
    font-size: 1.2rem;
    padding: 6px;
    border: 1px solid rgba(8, 8, 8, 0.5);
    border-radius: 50%;
}

.social-icons a {
    color: gray;
}

.social-icons a:hover {
    color: darkgray;
}



.footer-bg {
    background: url('../img/contact.jpg') no-repeat center; 
    background-size: contain;
    background-position: center;
    margin: auto;
    justify-content: center;
    min-height: 75vh;
}

.footer-top {
    padding-top: 100px;
}

.footer-bottom {
    padding-top: 30px;
    padding-bottom: 30px;
}

footer .footer-links a {
    display: block;
    font-weight: 400;
    color: darkgray;
}

footer .footer-links a:hover {
    color: #0d6efd;
}

footer .footer-text,
footer .footer-text a {
    font-weight: 300;
    color: darkgray;
}

footer .footer-text a:hover {
    color:  #0d6efd;
}

.contact {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.contact-prompt { 
    margin:0 auto;
    padding: 0 10px;
}

footer footer-top-link a:hover {
    cursor: pointer;
}
