/********** Template CSS **********/
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v51-latin_latin-ext-regular.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v51-latin_latin-ext-700.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-condensed-v31-latin_latin-ext-regular.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-condensed-v31-latin_latin-ext-700.woff2') format('woff2');
    font-display: swap;
}

:root {
    --primary: #13477f;
    --secondary: #354F8E;
    --light: #EFF5F9;
    --dark: #091E3E;
    
    /* Bootstrap 5 Variable Overrides */
    --bs-primary: #13477f;
    --bs-secondary: #354F8E;
    --bs-light: #EFF5F9;
    --bs-dark: #091E3E;
    --bs-font-sans-serif: "Roboto", sans-serif;
}

body {
    font-family: var(--bs-font-sans-serif);
    color: #848E9F;
}

i {
    color: var(--primary);
}

.bg-dark i {
    color: var(--light);
}

.btn i {
    color: inherit;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4 {
    margin-top: 0;
    margin-bottom: .5rem;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

h1,
.h1 {
    font-size: calc(1.375rem + 1.5vw);
}

@media (min-width: 1200px) {
    h1,
    .h1 {
        font-size: 2.5rem;
    }
}

h2,
.h2 {
    font-size: calc(1.325rem + .9vw);
}

@media (min-width: 1200px) {
    h2,
    .h2 {
        font-size: 2rem;
    }
}

h3,
.h3 {
    font-size: calc(1.3rem + .6vw);
}

@media (min-width: 1200px) {
    h3,
    .h3 {
        font-size: 1.75rem;
    }
}

h4,
.h4 {
    font-size: calc(1.275rem + .3vw);
}

@media (min-width: 1200px) {
    h4,
    .h4 {
        font-size: 1.5rem;
    }
}

h5,
.h5 {
    margin-top: 0;
    margin-bottom: .5rem;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 700;
    line-height: 1.2;
    font-size: 1.875rem;
    color: var(--primary);
}

h6,
.h6 {
    margin-top: 0;
    margin-bottom: .5rem;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
    font-size: 1rem;
}

.btn {
    font-weight: 700;
    transition: .5s;
}

.btn:hover {
    -webkit-box-shadow: 0 8px 6px -6px #555555;
    -moz-box-shadow: 0 8px 6px -6px #555555;
    box-shadow: 0 8px 6px -6px #555555;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.flag-icon {
    width: 25px;
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    position: relative;
    margin-left: 30px;
    padding: 30px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        bottom: 0;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

.hero-header {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../img/pv-hydrauli-hero.webp) top right no-repeat;
    background-size: cover;
    padding-top: 10rem !important;
    padding-bottom: 10rem !important;
}

.hero-header .display-1 {
    font-size: calc(2.1125rem + 5.85vw);
    font-weight: 700;
}

@media (min-width: 1200px) {
    .hero-header .display-1 {
        font-size: 6.5rem;
    }
}

.service-item {
    position: relative;
    min-height: 350px;
    height: 100%;
    padding: 30px;
    transition: .5s;
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}

@media (min-width: 576px) {
    .team-item .row {
        height: 350px;
    }
}

.about-img {
    min-height: 250px;
}

@media (min-width: 992px) {
    .about-img {
        min-height: 500px;
    }
}

.navbar-toggler {
    border: none;
    outline: none;
    box-shadow: none !important;
}

.animated-icon {
    width: 30px;
    height: 20px;
    position: relative;
    margin: 0;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
}

.animated-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
    background: var(--primary);
}

.animated-icon span:nth-child(1) {
    top: 0px;
}

.animated-icon span:nth-child(2) {
    top: 10px;
}

.animated-icon span:nth-child(3) {
    top: 20px;
}

.navbar-toggler[aria-expanded="true"] .animated-icon span:nth-child(1) {
    top: 11px;
    transform: rotate(135deg);
}

.navbar-toggler[aria-expanded="true"] .animated-icon span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.navbar-toggler[aria-expanded="true"] .animated-icon span:nth-child(3) {
    top: 11px;
    transform: rotate(-135deg);
}

.nav-logo {
    max-height: 50px;
}

.hero-title {
    border-color: rgba(255, 255, 255, .3) !important;
}

.section-header-mw {
    max-width: 500px;
}

.map-frame {
    height: 500px;
    border: 0;
}

.navbar-toggler[aria-expanded="true"] .animated-icon span:nth-child(3) {
    top: 11px;
    transform: rotate(-135deg);
}

@media (max-width: 575.98px) {
    .team-item .col-sm-5 {
        height: 300px;
    }
    .team-item .col-sm-5 img {
        object-position: top;
    }
}
