/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */


@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700;800&display=swap');

body {
  padding-top: 66px;
  color: #5a5a5a;
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 400;
  position: relative;
}




/* Featurettes
------------------------- */

.featurette-divider {
    height: 100px !important;
    margin:  0; /* Space out the Bootstrap <hr> more */
    background-color: transparent;
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  /* rtl:remove */
  letter-spacing: -.05rem;
}


/* CUSTOM CSS
-------------------------------------------------- */

/* Carousel base class */
.carousel {
    margin-bottom: 1rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    bottom: 3rem;
    z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
    height: 32rem;
}

.carousel-item .img:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(18, 51, 113, 0.5);
}

.carousel-item > .img {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    height: 32rem;
    background-position: center center;
    background-size: cover;
}
  

.navbar{
    background-color: white;
    box-shadow: 0 3px 60px rgba(0,0,0,.16);
}

.navbar-nav{
    width: 100%;
}

.navbar-expand-md .navbar-nav .nav-link {
    padding-left: 2rem;
    padding-right: 2rem;
    font-weight: bold;
    color: black;
}

.navbar-expand-md .navbar-nav .nav-link.active {
    color: #FD0D1B !important;
}

.navbar-expand-md .navbar-nav .nav-link:last-of-type{
    padding-right: 0;
}

.carousel-caption {
    bottom: auto;
    top: 8rem;
}

.carousel-caption h1{
    font-weight: 800;
    color: white;
    font-size: 40px;
    line-height: 54px;
    margin-bottom: 30px;
}

.btn{
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    padding: 15px 45px;
    border-radius: 8px;
    outline: none;
}

a.btn-primary{
    background-color: #FD0D1B !important;
    border: none;
}

.btn-primary:hover{
    background-color: #d60c16;
}

.carousel .carousel-indicators li.active{
    background-color: #FD0D1B;
}

.red-txt{
    /* color: #FD0D1B; */
}

.card{
    height: 210px;
    border-radius: .75rem;
    margin: 40px auto;
}

.card-body{
    padding: 3rem 2rem 0;
    position: relative;
}

.card-body .icon{
    width: 80px;
    height: 80px;
    background-color: white;
    background-size: 60px auto;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    padding: 10px;
    top: -40px;
}

h5.card-title{
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    color: black;
}

.red-line{
    position: relative;
    margin-bottom: 50px;
    text-align: left;
}

.red-line:after{
    content: "";
    width: 120px;
    height: 5px;
    background-color: #FD0D1B;
    bottom: -20px;
    right: auto;
    left: 0;
    position: absolute;
}

.red-line h2{
    font-size: 36px;
    font-weight: 800;
    color: black;
    display: inline-block;
}

.red-line.right{
    margin-bottom: 30px;
}

.red-line.right:after{
    bottom: 26px;
    right: 5rem;
    left: auto;
}

.ship-img{
    position: relative;
    height: 450px;
}

.ship-img img{
    position: absolute;
    z-index: -1;
    left: -15rem;
}


p b{
    color: black;
}

.featurette p{
    margin-bottom: 20px;
    line-height: 30px;
    font-size: 14px;
}

.bg-second{
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("../img/bg_second.jpg");
    background-size: cover;
    background-position: center;
    height: 400px;
    text-align: center;
}

.bg-second h1{
    font-weight: 600;
    color: white;
    font-size: 40px;
    line-height: 54px;
    margin-bottom: 30px;
}

.icon-row{
    display: flex;
    max-width: 75%;
}

.icon-row p{
    margin-bottom: 10px;
    line-height: 30px;
    font-size: 14px;
}

.icon-row .material-icons{
    padding-top: 5px;
    margin-right: 10px;
    color: #2fa852;
}

footer{
    background-color: #29B24E;
    color: white;
    padding: 15px 0;
}

footer p{
    margin-bottom: 0;
}

footer .material-icons{
    position: absolute;
    margin-left: 10px;
}

footer a{
    color: rgba(255,255,255,1);
    text-decoration: none;
    transition: color .5s;
}

footer a:hover{
    color: rgba(255,255,255,.5);
    text-decoration: none;
}

/* RESPONSIVE CSS
-------------------------------------------------- */

@media(min-width: 1200px){
    .container{
        max-width: 960px;
    }
}

@media(min-width: 1400px){
    .container{
        max-width: 1140px;
    }
}


@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}


@media(max-width: 767px){
    .carousel-caption h1{
        font-size: 24px;
        line-height: 36px;
    }
    .carousel-caption h1 br{
        display: none;
    }

    .red-line h2{
        font-size: 24px;
    }

    .featurette-divider{
        height: 50px !important;
    }

    .red-line.right{
        margin-bottom: 50px;
    }

    .red-line.right:after{
        left: 0;
        right: auto;
        bottom: -20px;
    }
    .ship-img{
        text-align: center;
        height: auto;
    }

    .ship-img img{
        left: 0;
        width: 100%;
        margin: 20px auto 0;
        position: relative;
    }
    .bg-second h1{
        font-size: 24px;
        line-height: 36px;
    }

    .contact-list{
        margin-bottom: 45px;
    }

    footer .container{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .float-end{
        margin-bottom: 10px;
    }

    .navbar-toggler:focus{
        box-shadow: none;
    }

    .navbar-light .navbar-toggler{
        border: none;
        padding: 0;
    }

    .navbar-light .navbar-toggler .material-icons{
        font-size: 40px;
        color: #199f42;
    }

    .navbar-expand-md .navbar-nav .nav-link{
        padding-right: 0;
        text-align: center;
        padding: 20px 0;
        border-bottom: 1px solid #eee;
        border-top: 1px solid #eee;
        padding-left: 0;
    }

    .navbar-nav{
        margin: 15px 0;
    }

}


