html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  //margin-bottom: 60px;
}

.hero-img { 
    background-size: auto;
    background-position: center;    
    background-repeat: no-repeat;
}

.hero-img-main {
    background-image: url('/img/hero.png');
    min-height: 320px;
}

.hero-img-legacyreengineering {
    background-image: url('/img/legacyreengineering.png');
    min-height: 312px;
}

.hero-img-services {
    background-image: url('/img/services.png');
    min-height: 394px;
}

.hero-img-about {
    background-image: url('/img/about.png');
    min-height: 332px;
}

.hero-img-sectors {
    background-image: url('/img/sectors.png');
    min-height: 350px;
}

.hero-img-contact {
    background-image: url('/img/contact.png');
    min-height: 330px;
}

.hero-img-advisorysupport {
    background-image: url('/img/advisorysupport.png');
    min-height: 336px;
}

.hero-img-legacyanalysis {
    background-image: url('/img/legacyanalysis.png');
    min-height: 261px;
}

.hero-img-modernisation {
    background-image: url('/img/modernisation.png');
    min-height: 274px;
}

.hero-img-riskmitigation {
    background-image: url('/img/riskmitigation.png');
    min-height: 283px;
}
@media (max-width: 767px) {
    .hero-img {
        display: none;
    }
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;   
    padding: 2rem 1rem;
}

.services-container p {
    margin-top: 2rem;
}

.service-img img {
    width: 100%;        
    height: auto;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.service-tile {
    text-align: center;
    max-width: 350px;
    flex: 1 1 250px;
}

.service-tile h3 {
    font-size: 1.25rem;
    margin: 0;    
}

.navbar .logo {
    width: 50px;
    margin-right: 1rem;
}

.service-card img {
    max-width: 50px;
}

@media (min-width: 768px) and (max-width: 991px) {
    .service-img {
        min-height: 105px;
    }
    .service-card img {
        max-width: 80px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .service-img {
        min-height: 163px;
    }
    .service-card img {
        max-width: 100px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .service-img {
        min-height: 206px;
    }
    .service-card img {
        max-width: 120px;
    }
}

@media (min-width: 1400px) {
    .service-img {
        min-height: 249px;
    }
    .service-card img {
        max-width: 150px;
    }
}

.hover-scale:hover {
    transform: scale(1.02);
    transition: transform 0.1s ease-in-out;
}

.navbar .hover-scale:hover {
    transform: scale(1.01);
}