*{
    margin: 0;
    padding: 0;
    font-family:  'Montserrat', sans-serif;
    box-sizing: border-box;
}


/*header*/
.header{
    min-height: 100vh;
    width: 100%;
    background-image: url(../images/hero_image/hero_image3.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

/*Navigation*/

nav img{
    width: 200px;
}

.active:hover{
    border-bottom: 2px solid #b8ae9b;
}

.topnav{
    flex: 1;
    text-align: right;
}

.topnav div li{
    list-style: none;
    display: inline-block;
    position: relative;
}

.topnav div li a{
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-family:  'Barlow', sans-serif;
}

.topnav div li::after
{
    content: '';
    width: 0%;
    height: 2px;
    background: #b8ae9b;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.topnav ul li:hover::after{
    width: 100%;

}


.logo-overlay{
    width: 80%;
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%,-50%) ;
    text-align: center;
    max-width: 100%;
}

nav .fa{
    display: none;
}

h1{
    font-family:  'Barlow', sans-serif;
    color: #b8ae9b;
    font-size: 36px;
}

p{
    font-family: 'Montserrat', sans-serif;
    color: #b8ae9b;
    font-size: 14px;
}


/*Buttons*/
.primary-btn{
    display: inline-block;
    text-decoration: none;
    color: #b8ae9b;
    border: 1px solid #b8ae9b;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
    width: max-content;
    background-color:white;
}

.primary-btn:hover{
    border: 1px solid #b8ae9b;
    background: #ededed;
    transition: 0.3s;
    color: white;
}

/* Style the submit button */
input[type=submit] {
    background-color: #b8ae9b;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    float: right;
  }

  /* Style inputs, select elements and textareas */
input[type=text], select, textarea{
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    resize: vertical;
  }

.img-container{
    width:300px;
}


#time{
    margin: 2px auto;
    padding-left: 150px;
    text-align: justify;
}

.text-projects{
    margin-top: 20px ;
    font-family: 'Montserrat', sans-serif;
    background: #d6c6ad;
    padding-bottom: 12%;
}

.text-projects p{
    color: #b8ae9b;
}

.text-projects h1{
    color: #b8ae9b;
    padding-top: 10%;
}

/*footer*/
footer{
    width: 100%;
    overflow:hidden;
    position:relative;
    bottom: 2%;
    background: #b8ae9b;
    color: #fff;
    padding: 40px 0 10px 0;
    border-top-left-radius: 125px;
    font-size: 12px;
    line-height: 20px;
}


.social_img{
    align-items: center;
    display: flex;
    justify-content: center;
    padding-bottom: 2%;
}

.contact{
    padding:50px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly
}



.nav-footer h3{
    width: fit-content;
    margin-bottom: 10px;
    position: relative;
}

.quote-footer h3{
    width: max-content;
    margin-bottom: 10px;
    position: relative;
}


#logo{
    position:relative;
    top: 20%;
    text-align: left;
}

ul li{
    list-style: none;
    margin-bottom: 9px;
}

ul li a{
    text-decoration: none;
    color: #fff;
}

form{
    padding-bottom: 15px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
}


form input{
    width: fit-content;
    background: transparent;
    color: #ccc;
    border: 0;
    outline: none;
    font-size: 12px;
}

form button{
    background: transparent;
    border: 0;
    outline: none;
    cursor: pointer;
}

nav{
    display: flex;
    flex-direction: row;
    padding: 30px;
}

.col p{
    color: #fff;
}

.offer-container{
    display:flex;
    flex-direction: column;
    padding:50px;
    text-align:center;
    align-items:center;
}

.offer-heading{
    padding-bottom: 20px;
}

* {box-sizing: border-box}
.img-slide1, .img-slide2 {display: none}
img {vertical-align: middle;}

.images-column{
    display: flex;
    padding: 50px;
}

.images-container{
    max-width: 500px;
    position: relative;
    margin: auto;
}

.img-slide1, .img-slide2 {
  display: none;
}


/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: #ededed;
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 300px);
    grid-auto-rows: 300px;
    justify-content: center; /* Centers the grid horizontally */
    gap: 10px;
    padding: 20px;
  }

  .grid-item {
    background-color: #ededed;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

/* Media Queries */
@media screen and (max-width:480px){
    .text h1{
        font-size: 15px;
    }
    .text p{
        font-size: 12px;
    }
    .text2 h1{
        font-size: 10px;
    }
    .text2 p{
        font-size: 7px;
    }
    .text2{
        padding-bottom: 2%;
     }

    .logo-overlay{
        width:350px;
    }

    .columns{
        width:100%;
    }
    .social_img{
        max-width:90%;
        padding: 0 10% 0 50%;
    }

    .images-column{
        padding:30px;
    }

    .offer-container{
        padding:30px;
        text-align: left;
    }
}

@media screen and (max-width:768px){
    nav .fa{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }

    .nav-list{
        display:none;
        flex-direction: column;
        text-align: left;
        position: fixed;
        inset: 0 0 0 50%;
        background: #b8ae9b;
        height: 50vh;
        transition: 0.3s;
        padding: 20px;
        z-index:2;
    }

    .burger-icon{
        left:0;
    }

    .topnav div li{
        padding: 8px 50px;
    }

    .nav-footer{
        padding-top:20px;
    }

    .quote-footer{
        width:50%;
    }

}



@media only screen and (min-width:768px) {
    nav {
        display: flex;
        padding-left:50px;
        padding-right:50px;
        justify-content: space-between;
        align-items: center;
    }

    .topnav{
        display:flex;
        justify-content: flex-end
    }

    .contact {
        flex-direction: row;
        align-items: center;
    }

    .col{
        display: flex;
        flex-direction: column;
    }

    #logo{
        padding-bottom: 30px;
    }

    .portfolio-cointainer {
        display:flex;
        max-width: 100%;
    }

    .img1{
        width:50%;
    }

    .nav-list{
        display:flex;
    }

    .topnav div li{
        padding: 8px 30px;
    }
}
