body,
html {
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    scroll-behavior: smooth;
}

.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);
}

.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;
}

.hero-image {
    background-image: url('./images/header.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;
}

.hero-text a {
    display: inline-block;
    padding: 15px 40px;
    color: white;
    font-weight: bold;
    background-color: #009245;
    text-align: center;
    text-decoration: none;
}

.hero-text a:hover {
    background-color: #555;
    color: white;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    text-decoration: green underline;
}

h3 {
    font-size: 1.5rem;
    ;
}

.caption {
    display: block;
    color: white;
    font-weight: bold;
    margin-top: 5px;
}

.text-center {
    text-align: center;
}

.text-container {
    width: 50%;
    margin: auto;

}

.row {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-top: 30px;
    margin-bottom: 80px;
}

.card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding: 20px;
    margin: 20px;
    text-align: center;
}

.card h3 {
    color: #009245;
    margin-top: 30px;
    margin-bottom: 0px;
}

.card img {
    width: 64px;
}

#references {
    background-image: url('./images/works_bg.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

#references h2 {
    color: white;
    padding-top: 50px;
}

#references img {
    max-width: 250px;
}

#references .row {
    padding-bottom: 60px;
    flex-wrap: wrap;
    gap: 30px;
}

#contactform {
    background-image: url('./images/works_bg.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.column p {
    width: 70%;
    text-align: justify;
}

.column .big_pic {
    width: 500px;
}

.left {
    align-items: flex-start;
    text-align: left;
}
#contact p{
    font-weight: bold;
    margin: 10px;
}
@media screen and (max-width:768px) {
    .row {
        flex-direction: column;
        align-items: center;
    }

    .text-container {
        width: 80%;
    }
    
}

@media screen and (max-width:1000px) {
    .column {
        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:60px;
        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;    
    }

}
/* 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;
    color: black;
  }
.cta-button{
    background-color: #009245;
    padding: 10px 40px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border-radius: 5px;
    margin-right: 10px;
    outline: 0;
    border: 0px;
    cursor: pointer;
}
.cta-button:hover{
    background-color: #03d866;
    transition: 0.3s;
  }