:root {
    --navbar-height: 130px;
    --header-height: 500px;
    --header-min-height: 200px;
    --overlay-width: 40%;
    --overlay-opacity: 0.5;
    --overlay-left-margin: 8rem;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.banner img {
    width: 100%;
    height: var(--header-height);
    object-fit: fill;
}

.contact-links a {
    color: #fff !important;
    text-decoration: none;
    display: flex;
    align-items: center;
}

section {
    scroll-margin-top: 20vh;
}

html {
    scroll-behavior: smooth;
}

.fs-4 {
    font-size: 3vh !important;
}
.fs-5 {
    font-size: 2.7vh !important;
}
.fs-6 {
    font-size: 2.5vh !important;
}
.fs-8 {
    font-size: 2.4vh !important;
}

.text-box {
    width: 400px;
    line-height: 1.5em;
    height: calc(1.5em * 12);
    /* overflow: hidden;  */
    /* border: 1px solid #aaa; */
    padding: 10px;
    text-align: justify;
    font-size: 17px;
    letter-spacing: 0px;
}

.fs-7 {
    font-size: 17px;
}

#footer > .row {
    margin-bottom: 0;
}

#footer {
    padding-bottom: 0;
}

.responsive-ratio {
    width: 100%;
    height: auto;
}

.blue {
    color: #00739f;
}

.orange {
    color: #e6580b;
}

.our-client {
    color: #e6580b;
    font-size: 36px;
    font-weight: bold;
}

.active-menu {
    color: white !important;
    background-color: #e6580b !important;
}

.active-menu:hover {
    color: white !important;
    background-color: #e6580b !important;
}

.normal-menu {
    color: #00739f;
}

.normal-menu:hover {
    color: #00739f;
    background-color: rgba(230, 88, 11, 0.25);
}

body {
    padding-top: var(--navbar-height);
}

.navbar {
    height: var(--navbar-height);
}

.navbar .navbar-brand,
.navbar .nav-link {
    display: flex;
    align-items: center;
    height: 100%;
}

.navbar-nav .nav-link {
    border-radius: 30%;
    font-size: 25px;
}

.header-wrapper {
    position: relative;
    width: 100%;
    height: var(--header-height);
    /* height: auto; */
    overflow: hidden;
}

.header-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.overlay-box {
    position: absolute;
    top: 0;
    left: var(--overlay-left-margin);
    width: var(--overlay-width);
    height: 100%;
    /* background-color: rgba(0, 123, 255, var(--overlay-opacity)); */
    background-color: rgba(0, 115, 159, var(--overlay-opacity));

    /* background-color: #00739f; */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
}

.overlay-box h1,
.overlay-box h2,
.overlay-box h3,
.overlay-box h4 {
    margin: 1rem 0;
    /* font-size: 20px; */
}

main {
    background-color: #f8f9fa;
    padding: 2rem;
}

.p-justify {
    text-align: justify;
    text-indent: 0;
    margin: 0;
    text-justify: inter-word;
}

.header-client {
    font-size: 56px;
    color: #e6580b;
}

.icon-read-more {
    background-color: transparent;
    /* padding: 8px 20px;
  border-radius: 6px; */
    /* transition: background-color 0.3s, color 0.3s; */

    border-radius: 30%;
    text-align: center;
    font-size: 22px;
    border: 2px solid #00739f;
    color: #00739f;
}

.icon-read-more span {
    color: #e6580b;
    /* transition: color 0.3s; */
}

.icon-read-more svg {
    color: #00739f;
    /* transition: color 0.3s; */
}

.icon-read-more:hover {
    background-color: #e6580b;
    border: 2px solid #e6580b;
}

.icon-read-more:hover span,
.icon-read-more:hover svg {
    color: white;
}

.post-image {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.client-say {
    height: 290px !important;
    /* height: auto; */
}

@media (max-width: 768px) {
    :root {
        --navbar-height: 88px;
        --header-height: 65vw;
        --header-min-height: 100px;
        --overlay-width: 90%;
        --overlay-opacity: 0.2;
        --overlay-left-margin: 0.5rem;
    }

    .banner img {
        width: 100%;
        height: var(--header-height);
        object-fit: fill;
    }

    section {
        scroll-margin-top: 11vh;
    }

    html {
        scroll-behavior: smooth;
    }

    .collapse.navbar-collapse {
        transition: max-height 3s ease-in-out, opacity 3s ease-in-out;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
    }

    .text-box {
        width: 100%;
        height: auto;
        font-size: 17px;
        letter-spacing: normal;
        /* border: none;  */
        text-align: justify;
        padding: 0;
    }

    .collapse.navbar-collapse.show {
        max-height: 500px;
        opacity: 1;
    }

    body {
        transition: padding-top 0.5s ease;
    }

    p {
        text-indent: 1em;
        font-size: 0.9rem;
    }

    .responsive-ratio {
        aspect-ratio: 16 / 9;
        object-fit: cover;
        width: 100%;
        height: auto;
    }

    .navbar-nav .nav-link {
        border-radius: 30%;
        font-size: 25px;
    }

    .active-menu {
        color: white;
        background-color: #e6580b;
    }

    .active-menu:hover {
        color: #00739f;
        background-color: rgba(230, 88, 11, 0.3);
    }

    .normal-menu {
        color: #00739f;
    }

    .normal-menu:hover {
        color: #00739f;
        background-color: rgba(230, 88, 11, 0.25);
    }

    .overlay-box h1,
    .overlay-box h2,
    .overlay-box h3,
    .overlay-box h4 {
        margin: 1rem 0;
        font-size: 20px;
    }

    .post-image {
        object-fit: cover;
        /* width: 50%; */
        width: 100vw;
        height: 100vw;
    }

    .client-say {
        height: auto !important;
    }

    .our-client {
        color: #e6580b;
        font-size: 19px;
        font-weight: bold;
    }

    .our-company {
        color: #e6580b;
        font-size: 19px;
        font-weight: bold;
    }

    .fs-4 {
        font-size: 2.5vh !important;
    }
    .fs-5 {
        font-size: 2.3vh !important;
    }
    .fs-8 {
        font-size: 2vh !important;
    }

    /* .active-menu .nav-link,
  .normal-menu .nav-link {
    border-radius: 30%;
  } */
}
