:root{
    --dark-font : #102948;
    --secondary-font: #102948;
    --primary-bg: #E5E9ED;
}
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html{
    scroll-behavior: smooth;
    height: 100%;
}
body{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #102948;
    height: 100%;
}
.hero-image {
  background-image: url('./images/hero_felhokarcolo.png');
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.hero-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-transform: uppercase;
  font-size: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 30px;
}
/* NAVBAR */
.icon {
  display: none;
}
/* Hamburger icon css */
.bar {
  width: 20px;
  height: 3px;
  background-color: black;
  margin: 4px 0;
}
.navbar {
  background-color: rgb(255, 255, 255);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.navbar a {
  text-decoration: none;
  font-weight: bold;
  color: black;
}
.navbar .logo {
  font-weight: bold;
  font-size: x-large;
}
.logo img {
  max-width: 100px;
  height: 70px;
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 70px;
}
.navbar .nav {
  display: flex;
  list-style-type: none;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  z-index: 2;
}
.navbar ul li a:hover {
  transition: 0.5s;
}

.button-container{
  padding-top: 20px;
  display: flex;
  justify-content: center;
}
.cta-button{
  background-color: #102948;
  padding: 10px 40px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 5px;
  margin-right: 10px;
  outline: 0;
}
.cta-button:hover{
  background-color: #164c8e;
  transition: 0.3s;
}
.outline-button{
  background-color: transparent;
  border: 1px solid #102948;
  color: #102948;
}
.outline-button:hover{
  background-color: #164c8e;
  transition: 0.3s;
  color: white;
}
.row{
  display: flex;
  justify-content: space-around;
  align-items: center;
 

}
.blue-row{
  background-color: #102948;
  color: white;
  margin-bottom: 20px;
}
.counter-card{
  padding: 30px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
}
.counter{
  font-size: 28px;
}
.section .container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.section .container .row{
  margin-top: 50px;
}
.section .container h1{
  padding: 30px;
}
.row-content{
  padding: 30px;
}
.section .container .row-content h1{
  padding-left: 0px;
}
.boxes {
  display: flex;
  justify-content: center;
}
.box{  
  display: flex;
  flex-direction: column;
  color: #102948;
  background: white;
  border-radius: 10px;
  margin:20px 10px;
  padding: 15px 20px;
  text-align: center;
  max-width: 300px;
  flex-grow: 1;
  justify-content: space-between;
}
.box p{
  text-align: left;
}
.box h3{
  padding: 10px;
  padding-left: 0;
  text-align: left;
}
.box:hover{
  transition: 0.5s;
  transform: scale(103%);
}
iframe{
  margin: 40px;
}
.text-center{
  text-align: center;
  padding: 30px;
  margin-top: 10px;
}
a{
  color: white;
}
/* FORM */

form{
  background-color: rgb(246, 246, 246);
  padding: 30px;
  margin: 20px;
}
form h2{
  text-align: center;
}
form label{
  font-size: 16px;
}
input[type=text], input[type=email],input[type=tel], select, textarea {
  width: 100%; 
  padding: 12px; 
  border: 1px solid #ccc; 
  border-radius: 4px; 
  box-sizing: border-box; 
  margin-top: 6px;
  margin-bottom: 16px; 
  resize: vertical; 
  background-color: white;
}

@media screen and (max-width:1000px) {

    .header .container{
      flex-direction: column-reverse;
      padding-top: 20px;
      text-align: center;
      justify-content: center;

    }
    .container h1{
      font-size: 26px;
    }
    .header .container h1{
      font-size: 28px;
    }
    .header .container h3{
      font-size:14px;
    }
    .header{
      height: 90vh;
    }
    .row{
      flex-direction: column-reverse;
      justify-content: center;
      align-items: center;
    }
    #services {
        flex-direction: column;
    }

    #services img {
        max-width: 300px;
    }
    iframe{
        width: 300px;
        margin-bottom: 20px;
    }
    .navbar .nav{
        position: absolute;
        left: -120%;
        top:80px;
        gap:0;
        flex-direction: column;
        text-align: center;
        transition: 0.3s;
        width: 100%;
    }
    .nav.active{
        left:0;
        padding:0;
    }
    .nav li{
        padding:16px 0;
        background-color:rgba(255, 255, 255, 0.9);
        width: 100%;
        
    }
    .nav li:hover{
        transition: 0.4s;
        background-color: #babfc4;
    }
    .icon{
        display: block;
        font-size: 22px;
    }
    #contact p{ 
        width: 100%;
        text-align: center;
        padding: 0;    
    }
    #contact{
      text-align: center;
      padding-bottom: 30px;
    }
    .flex-outer{
        width: 250px;
    }
    .button-container{
      justify-content: center;
      flex-direction: column;

    }
    .cta-button{
      margin-bottom: 10px;
      font-size: 16px;
    }
    .boxes{
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }
    img{
      width: 300px;
    }
    .hero-text h1{
      font-size: 2.4rem;
      margin-bottom: 15px;
    }
    .hero-text h3{
      font-size: 1.2rem;
    }
}