:root {
    --main-color-lighter: #3d91ff;
    --main-color: #026bf5;
}

body {
    background: #161616;
    color: #b1b1b1;
    font-family: "Barlow", sans-serif;
    font-weight: 400;
    font-size: 1.15rem;
}

p {
    line-height: 1.75em;
}

header {
    position: fixed;
    z-index: 300;
    top: 0;
    left: 0;
    width: 100%;
    transition: .3s ease-in-out;
}

header.scrolled {
    transition: .3s ease-in-out;
    background-color: rgba(0,0,0,.85);
    backdrop-filter: blur(4px);
}

header .navbar .nav-link {
    font-size: 1.05rem;
}

header .navbar-brand img {
    transition: .2s ease-in-out;
    width: 7rem;
}

header.scrolled .navbar-brand img {
    transition: .2s ease-in-out;
    width: 4rem;
}

.text-heading {
    font-family: 'Kanit', sans-serif;
    color: #fff;
}

.sub-title {
    display: flex;
    align-items: center;
    position: relative;
    color: var(--main-color);
    text-transform: uppercase;
    font-weight: 500;
    line-height: 24px;
    margin-top: -0.34em;
}

.sub-title::before {
    content: '';
    position: relative;
    height: 1px;
    width: 60px;
    margin-right: 15px;
    background: var(--main-color);
    display: inline-block;
}

.btn-text {
    font-size: .90rem;
}

#hero__content {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#hero__content .text-desc {
    font-size: 1.2rem;
}

#hero__content .hero__content--background {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -1;
}

#hero__content .hero__content--background img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

#hero__content .hero__content--background::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0, .55);
    z-index: 1;
}

#main__about .main__about--offer {
    position: absolute;
    bottom: -35px;
    left: 0;
    z-index: 5;
    color: #fff;
    width: 100%;
}

@media (max-width: 767.98px) {
    #main__about .main__about--offer {
        bottom: 0;
        position: relative;
    }
}

.btn-main {
    background-color: var(--main-color)!important;
    border-color: var(--main-color)!important;
    color: #fff!important;
    transition: .2s ease-in-out;
}

.btn-main:hover {
    transition: .2s ease-in-out;
    background-color: var(--main-color-lighter)!important;
    border-color: var(--main-color-lighter)!important;
    color: #fff!important; 
}

.main__about--offer .card {
    height: 185px;
    overflow: hidden;
    color: #fff;
    border-radius: 0;
    background-color: transparent!important;
    border: 1px solid rgb(86 86 86);
}

.main__about--offer .card:hover .card-img::before {
    transition: .2s ease-in-out;
    background: linear-gradient(to bottom, rgba(0,0,0,.2), rgba(0,0,0,1));
}

.main__about--offer .card-img {
    position: relative;
}
.main__about--offer .card-img::before {
    transition: .2s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    background: linear-gradient(to bottom, rgba(0,0,0,.4), rgba(0,0,0,1));
    width: 100%;
    height: 100%;
}

.main__about--offer .card-img-overlay {
    padding: 1.5rem;
    justify-content: end;
    align-items: start;
    display: flex;
    flex-direction: column;
    line-height: 1.75rem;
}
