a {
    text-decoration: none !important;
}

html{
    scroll-padding-top: 56px;
    scroll-behavior: smooth;
}

body {
    font-family: "Nunito", sans-serif;
}

nav {
    color: #3b566e;
}

.waves {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.carousel-item {
    height: 32rem;
    background-color: black;
    background-position: center;
    background-size: cover;
    color: white;
    position: relative;
}

#myCarousel .container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#myCarousel .header-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 400;
}

#myCarousel .header-title h1 {
    font-size: 3rem;
    font-weight: 400;
}

#myCarousel .header-title span {
    font-weight: 800;
}

#myCarousel .sub-title {
    padding-top: 10px;
}

#myCarousel .container .sub-title {
    max-width: 768px;
}

@media (min-width: 1200px) {
    .carousel-item {
        height: 54rem;
    }

    #myCarousel .header-title {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        height: 24rem;
    }

    #myCarousel .container .sub-title {
        text-align: center;
    }

    #myCarousel .header-title {
        display: flex;
        flex-direction: column;
        font-size: 2.25rem;
        font-weight: 300;
    }

    #myCarousel .header-title h1 {
        text-align: center;
        font-size: 2.25rem;
        font-weight: 300;
    }
}

.overlay-image {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background-position: center;
    background-size: cover;
    opacity: 0.5;
    transition: opacity 0.2s ease-in-out;
}

/* 
---------------------------------------------
features
--------------------------------------------- 
*/

.features {
    margin-top: 10px;
}

.features-small-item {
    display: block;
    background: #ffffff;
    box-shadow: 0 2px 48px 0 rgba(0, 0, 0, 0.1);
    border-radius: 5;
    padding: 30px;
    text-align: center;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    position: relative;
    margin-bottom: 45px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.features-small-item:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background-image: linear-gradient(135deg, #ff1262 0%, #ec691f 100%);
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    opacity: 0;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.features-small-item.active:before,
.features-small-item:hover:before {
    opacity: 1;
}

.features-small-item.active .features-title,
.features-small-item:hover .features-title {
    color: #ffffff;
}

.features-small-item.active p,
.features-small-item:hover p {
    color: #fff7f5;
}

.features-small-item.active a span,
.features-small-item.active a i,
.features-small-item:hover a span,
.features-small-item:hover a i {
    color: #fff;
}

.features-small-item .icon {
    width: 67px;
    height: 67px;
    line-height: 70px;
    margin: auto;
    position: relative;
    margin-bottom: 20px;
    background: #ffe8ed;
    border-radius: 5px;
}

.features-small-item .icon i {
    font-size: 18px;
    color: #fa2850;
}

.features-small-item .features-title {
    font-weight: 400;
    font-size: 16px;
    color: #3b566e;
    letter-spacing: 0.7px;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.features-small-item p {
    font-weight: 400;
    font-size: 14px;
    color: #6f8ba4;
    letter-spacing: 0.88px;
    line-height: 26px;
    position: relative;
    z-index: 2;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    margin-bottom: 20px;
}

.features-small-item .next {
    width: 58px;
    height: 58px;
    background-image: linear-gradient(135deg, #ff1262 0%, #ec691f 100%);
    line-height: 58px;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
    font-size: 28px;
    color: #fff;
    position: absolute;
    left: 0px;
    right: 0px;
    margin: auto;
}

@media (max-width: 1200px) {
    .features-home {
        padding-top: 0px;
        margin-top: -10px;
    }
}

@media (max-width: 991px) {
    .features-home {
        padding-top: 100px;
        margin-top: 0px;
    }
}

.box {
    margin-top: 10px;
    background-color: white;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: box-shadow 0.3s ease;
}

.box-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-bottom: #ddd solid 2px;
    position: relative;
}

.box-title h3 {
    transition: color 0.3s ease-out;
}

.box-title hr {
    position: absolute;
    bottom: 0;
    border-radius: 2px;
    height: 4px;
    width: 0;
    opacity: 1;
    color: #ec691f;
    transition: width 0.3s ease;
}

.box:hover .box-title hr {
    width: 100px;
}

.box:hover .box-title h3 {
    color: #fa2850;
}

.box:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.list-group-item {
    display: flex;
}

.news-img {
    margin-right: 10px;
}

.news-img img {
    width: 150px;
    height: 100px;
}

.news-text h5 {
    color: #3b566e;
}

.news-info p {
    font-size: 14px;
    color: #999;
    line-height: 0;
    font-weight: 100;
}

.news-box .content {
    font-size: 14px;
    color: #6f8ba4;
}

@media (max-width: 500px) {
    .list-group-item {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .news-img img {
        width: 100%;
        height: auto;
        margin-bottom: 10px;
    }

    .news-text h5 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
}

#about-us .box-body {
    color: #6f8ba4;
}

#contact-us .content p {
    margin: 0;
}

#contact-us .content img {
    width: 100px;
}

footer a {
    color: #aaa;
}

footer a:hover {
    color: #eee;
}

.sub-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.box-sm .box-body {
    height: 300px;
    overflow-y: auto;
}

.box-sm-list-group {
    border-radius: 0.25rem;
    padding: 0 1rem 0 1rem;
}

.box-sm-item {
    padding: .5rem 0 .5rem 0;
    border: 1px solid rgba(0, 0, 0, 0.125);
    font-size: 12px;
    border-width: 0 0 1px;
    transition: .3s;
}

.box-sm-item:hover {
    background-color: whitesmoke;
}

.box-sm .title {
    color: #3b566e;
    transition: 0.3s;
}

.box-sm a:hover .title {
    color: blue;
}

.box-sm .author {
    color: #6f8ba4;
}

.box-sm .time {
    color: #6f8ba4;
    transition: 0.3s;
}