/* Base layout */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    color: #111;
    font-family: sans-serif;
    overflow-x: hidden;
}

:root {
    --form-button-color: #055C9D;
}

/* NAVBAR */

nav {
    display: flex;
    background-color: #fff;
    justify-content: space-between;
    align-items: center;
    min-height: 8vh;
    letter-spacing: 1px;
    font-size: 1.2rem;
    padding: 10px;
    font-family: Verdana, Tahoma, sans-serif;
}
.nav-links {
    display: flex;
    justify-content: space-around;
    width: 35%;
}
.nav-links li {
    list-style: none;
}
.nav-links a{
    color:#111;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
}
.burger{
    display: none;
}
.burger div{
    width: 25px;
    height: 3px;
    margin: 5px;
    background-color: #111;
    transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden; 
    }
    nav {
        justify-content: space-around;

    }
    .nav-links {
        position: absolute;
        right: 0;
        height: 92vh;
        top: 8vh;
        background-color: #055C9D;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 40%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }

    .nav-links li {
        opacity: 0;
    }

    .nav-links a{
        color:#ffffff;
        text-decoration: none;
        font-weight: bold;
        font-size: 1rem;
    }
    .burger {
        display: block;
        cursor: pointer;
    }
}

.nav-active {
    transform: translateX(0%);
}


@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

.toggle .line1 {
    transform: rotate(-45deg)  translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* LANDING PAGE */

.home {
    height: 92vh;
    width: 100vw;
    background-color: #055C9D;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
};

h1 {
    font-size: 30px;
    font-weight: 500;
}
  
p {
    margin: 20px 0 10px;
    font-size: 1.1rem;
}


.home-content {
    display: flex;
    flex-direction: column;
    max-width: 50vw;
}


.btn {
    margin-top: 25px;
    width: 200px;
    align-items: center;
    background-color: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: .25rem;
    box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
    color: rgba(0, 0, 0, 0.85);
    cursor: pointer;
    font-family: system-ui,-apple-system,system-ui,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 16px;
    font-weight: 600;
    justify-content: center;
    min-height: 3rem;
  }
  
  .btn:hover {
      cursor: pointer;
  }
  

  /* ABOUT layout */

  .about {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px;
    margin-top: 0px;  
}

.services {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
  }
  
  .services .service {
    padding: 30px;
  }
  
  .services .service:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .services .service h2 {
    font-size: 24px;
    font-weight: 500;
    margin-top: 20px;
    color: var(--secondary-color);
  }
  
  .services .service .icon img {
    max-width: 50px;
  }


  @media (max-width: 768px) {
    .services {
      grid-template-columns: 1fr;
    }
  
    .services .service {
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
  }

  .gallery {
    display: flex;
    flex-direction: column;
    padding: 50px;
 
}

/* CONTACTS layout */

  .contacts {
    display: flex;
    flex-direction: column;
    padding: 50px;
    margin-top: 0px;  
}


/* CONTACT */
.contact {
    position: relative;
    width: 100%;
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
 
  .contact-form {
    position: relative;
    background: #f9f9f9;
    width: calc(100% - 400px);
    padding: 60px 40px 20px;
  }
    
  .contact-form form {
    width: 100%;
  }
  
  .contact-form .row {
    width: 100%;
    display: flex;
  }
  
  .contact-form .input50 {
    width: 50%;
    margin: 0 10px;
  }
  
  .contact-form .input100 {
    width: 100%;
    margin: 0 10px;
  }
  
  .contact-form .row input,
  .contact-form .row textarea {
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #111;
    background: transparent;
    width: 100%;
    padding: 10px;
    outline: none;
    font-size: 16px;
    font-weight: 300;
    margin: 10px 0;
    resize: none;
  }
  
  .contact-form .row textarea {
    height: 150px;
  }
  
  .contact-form .row input[type='submit'] {
    background-color: var(--form-button-color);
    color: #FFFFFF;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 300;
    cursor: pointer;
  }
  
  .contact-info {
    width: 350px;
    background: #f9f9f9;
    padding: 60px 40px 20px;
  }
  
  .contact-info .info-box {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
  }
  
  .contact-info .info-box .contact-icon {
    width: 20px;
    margin-right: 40px;
  }
  
  .contact-info .info-box .details h4 {
    color: var(--secondary-color);
  }
  
  .contact-info .info-box .details p,
  .contact-info .info-box .details a {
    color: #111;
  } 


  @media (max-width: 1068px) {
  
    section {
      padding: 100px 40px;
    }
  
  
    .services {
      grid-template-columns: repeat(1, 1fr);
    }
  
    .contact {
      flex-direction: column;
    }
  
    .contact-form {
      width: 100%;
      padding: 30px 30px 20px;
    }
  
    .contact-form .row {
      flex-direction: column;
    }
  
    .contact-form .input50,
    .contact-form .input100 {
      width: 100%;
      margin: 0;
    }
  
    .contact-info {
      width: 100%;
      margin-top: 20px;
      padding: 30px 30px 20px;
    } 
  }
  

  /* Gallery */

  .gallery-container { 
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 30px;
    align-items: stretch;
    }
  .gallery-img {
    border: 1px solid #ccc;
    max-width: 100%;
  }
  .gallery-img img {
    width: 100%;
    height: 250px;
  }

  .footer {
    display: flex;
    justify-content: center;
    background-color: rgb(0, 0, 0);
    color: white;
    padding: 25px;
  }