html {
  scroll-behavior: smooth;
}

body {
    font-family: "Roboto", serif;
    font-style: normal;
    font-variation-settings: "wdth" 87.5;
    font-optical-sizing: auto;
}

h2, .h2 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 110%;
    letter-spacing: -.01em;
}

h3, .h3 {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 140%;
}

p.subheading {
    font-size: .9rem;
    line-height: 130%;
    color: #000;
    opacity: 0.4;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.normal-pad {
    padding: 5.5rem 0;
}

.extra-bottom {
    padding-bottom: 8.5rem;
}

.btn {
    font-family: "Roboto", serif;
    cursor: pointer;
    border-radius: 100px;
    padding: 0.75rem 2.25rem;
    font-weight: 300;
    font-size: 1rem;
}

.btn-outline-dark {
    color: #0D1F22;
    border-color: #0D1F22;
}

.btn-outline-dark:hover {
    color: #fff;
    background-color: #0D1F22;
    border-color: #0D1F22;
}

.btn-outline-light.closenav {
    padding: 0.75rem 1rem;
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-weight: 300;
    font-size: 0.85rem;
}

.nav-item .btn-secondary {
    padding: 0.75rem 1.25rem;
}


section [id] {
    scroll-margin-top: 100px;
}

nav.navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background: #0D1F22;
}

.navbar-brand {
    width: 300px;
    transition: width 0.3s;
}

.navbar-nav .nav-item {
    font-family: "Roboto", serif;
    font-size: 1rem;
    font-weight: 300;
}

.navbar-nav .nav-item .nav-link {
    color: #fefefe;
}

.navbar-nav .nav-item:not(:last-child) {
    margin-right: 2%;
}

a {
    color: #124673;
}

#hero {
    position: relative;
    color: white;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.65));
}

#hero video {
    min-height: 500px;
    height: 50vh;
    width: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    bottom: 1rem;
    left: 7vw;
    right: 7vw;
    font-weight: bold;
}

/*#hero #learn-more {
    position: absolute;
    bottom: 3rem;
    left: 7vw;
    right: 7vw;
    font-weight: bold;
    letter-spacing: 1px;
}*/

.x-margin {
    margin-left: 7vw;
    margin-right: 7vw;
}

.header-line {
    position: relative;
}
.header-line:after {
    content: '';
    position: absolute;
    left: calc(100% + 1rem);
    top: 50%;
    width: 12rem;
    height: 3px;
    background-color: var(--primary);
}

.slick-slide {
    width: 30rem;
    margin-right: 1rem;
}
.carousel {
    margin-left: -7vw;
    margin-right: -7vw;
}
.carousel .card-img-top, .card-img-top {
    width: 100%;
    height: 20rem;
    object-fit: cover;
}
.carousel .card {
    /*margin-top: 1rem;*/
    margin-bottom: 1.5rem;
}
.carousel .card-title {
    font-weight: bold;
}
/*.carousel .card-body {
    min-height: 11rem;
}*/

/* show a little bit on the right without center mode */
.slick-list {
    padding-top: 0 !important;
    padding-right: 20% !important;
    padding-left: 7vw !important;
    padding-bottom: 0 !important;
}

.slider-progress-bar {
    position: relative;
    height: 3px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.1);
}
.slider-progress-meter {
    position: absolute;
    height: 100%;
    width: 0;
    top: 0;
    left: 0;
    background-color: #db8a2b;
    transition: width 0.5s;
}

p {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 165%;
    font-weight: 300;
}

.lead {
    font-size: 1.1rem;
    line-height: 2;
    font-weight: 300;
}

h4, .h4 {
    font-size: 1.25rem;
}

.faded {
    opacity: 0.75;
}

.gray-portion-top {
    position: absolute;
    top: 0;
    right: -7vw;
    left: -7vw;
    height: 12vh;
    background-color: #E9EDE9;
}

.gray-portion-bottom {
    position: absolute;
    bottom: 0;
    right: -7vw;
    left: -7vw;
    height: 12vh;
    background-color: #E9EDE9;
}

.extra-top-pad-for-deco {
    padding-top: 5rem;
    margin-top: 5rem;
}

.midway-design-1 {
    position: absolute;
    right: -7vw;
    top: 0;
    transform: translateY(-50%);
    pointer-events: none;
    width: 25vw;
    height: auto;
}

.midway-design-2 {
    position: absolute;
    left: 0;
    top: 0;
    transform: translateY(-50%);
    pointer-events: none;
    height: 10rem;
    width: auto;
}

.midway-design-3 {
    position: absolute;
    top: 100%;
    right: calc(9vw + 7vw);
    transform: translateY(-50%);
    pointer-events: none;
    max-width: 25vw;
    height: auto;
}

#contact-details {
    font-size: 1.1rem;
}

#contact-details i {
    width: 2rem;
}

#contact-details div {
    margin-bottom: 0.5rem;
}

#mobile_menu {
    height: 100vh;
    background: var(--primary);
    display: flex;
    align-items: center;
    color: white;
    width: 0;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
    transition: all 0.5s ease-in;
}
#mobile_menu.active {
    width: 100%;
    position: fixed;
    transition: all 0.25s ease-in;
}
@media only screen and (max-width: 500px) {
    #mobile_menu.active {
        width: 100%;
        position: fixed;
        transition: all 0.25s ease-in;
    }
}
#mobile_menu.active a i {
    opacity: 0;
    transition: opacity 0.25s ease-in;
}
#mobile_menu .closenav {
    position: fixed;
    top: 2rem;
    right: 1rem;
    opacity: 0;
    display: none;
}
#mobile_menu.active h3, #mobile_menu.active .closenav  {
    opacity: 1;
    display: block;
    transition: opacity 1s ease-in;
}
#mobile_menu .nav-link {
    color: #fefefe;
    text-align: center;
    font-family: "Roboto", serif;
    font-size: 1.25rem;
    font-weight: 300;
}

#mobile_menu nav {
    width: auto;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

#mobile_menu ul {
    list-style: none;
    padding-left: 0;
}

#hero h1, h1 {
    font-family: "Roboto", serif;
    font-size: 3rem;
    font-weight: 600;
    line-height: 105%;
}

#hero #learn-more {
    font-family: "Roboto", serif;
    font-size: 1.2rem;
}

.header-line:after {
    max-width: 2rem;
}

#hero #learn-more a:hover {
    text-decoration: none !important;
}

.team-photo {
    height: auto;
    width: 100%;
}

.team-photo img {
    object-fit: cover;
    aspect-ratio: 4/3;
}

@media (max-width: 500px) {
    .navbar-brand {
        width: 275px;
    }
}

@media (max-width: 1250px) {
    .team-photo img {
        object-fit: cover;
        aspect-ratio: 1/1;
    }
}

@media (max-width: 1110px) {
    .team-photo img {
        object-fit: cover;
        aspect-ratio: 3/4;
    }
}

@media (max-width: 941px) {
    .team-photo img {
        object-fit: cover;
        aspect-ratio: 3/5;
    }
}

@media (max-width: 767px) {
    .team-photo img {
        aspect-ratio: 1/1;
    }
}

@media (min-width: 768px) {

    #hero video {
        height: 50vh;
    }

    #hero h1 {
        font-size: 4rem;
    }

    #hero #learn-more {
        font-size: 1rem;
    }

    .header-line:after {
        max-width: 30vw;
    }

    .col-12.col-md-4.card {
        padding-bottom: 0;
    }

    .about-block {
        margin-top: calc(3rem + 12vh);
    }

}

@media (min-width: 992px) {
    #hero video {
        height: 85vh;
    }

    #hero h1 {
        font-size: 4.15rem;
    }

    #hero #learn-more {
        font-size: 1rem;
        font-weight: 500;
        text-decoration: none !important;
    }

}

@media (max-width: 991px) {

    .sm-x-margin {
        margin-left: 7vw;
        margin-right: 7vw;
    }

    .no-margin-sm {
        margin-left: 0;
        margin-right: 0;
    }

}

.icon {
    margin-bottom: 18px;
    color: #124673;
}

.blog-img {
    height: auto;
    width: 100%;
    margin-bottom: 18px;
}

.blog-img img {
    object-fit: cover;
    aspect-ratio: 16/9;
}

.bg-light {
    background-color: #E9EDE9 !important;
}

.foot-cta {
    position: relative;
    background-image: url(../img/footer.jpg);
    background-position: center center;
    background-size: cover;
    padding: 12rem 3rem 3rem 3rem;
}

.foot-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.65));
}

.foot-cta h1, .foot-cta p, .foot-cta .btn {
    position: relative;
    z-index: 10;
}

.footer h3 {
    margin-bottom: 18px;
}

.footer p {
    font-size: 0.85rem;
    margin-bottom: 12px;
    font-weight: 300;
}

.slick-arrow {
    border-radius: 100px;
}

.team-img {
    height: auto;
    width: 100%;
    margin-bottom: 12px;
}

.team-img img {
    object-fit: cover;
    aspect-ratio: 4/5;
}

.card {
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding-bottom: 3rem;
}

.card-img, .card-img-top {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.carousel .card {
    padding-bottom: 0;
}

.about-block {
    margin-top: 3rem;
}

.filters li.nav-item {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.filters li.nav-item:last-child {
    margin-right: 0;
}

a.blog-read-more {
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #124673;
    font-size: 0.9rem;
    text-decoration: none !important;
}

.form-control {
    border: 1px solid #0e20225c;
    border-radius: 10px;
    height: calc(2em + 0.75rem + 2px);
}

.orange-text {
    color: #DB8A2B;
}