 @import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700;900&display=swap');


 * {
     font-family: 'Lato', sans-serif;
     margin: 0;
     padding: 0;
     outline: none;
     box-sizing: border-box;
     list-style: none;
     text-decoration: none;
     scroll-behavior: smooth;
 }

 .logo {
     text-align: center;
     background-color: #f8f9fa;
 }

 .logo img {
     margin: auto;
     width: 100px;
     padding-top: 1rem;
 }

 .logo h1 {
     margin-bottom: .5rem;
 }

 .logo p {
     margin-bottom: 1rem;
 }

 .cards {
     background-image: url(../img/servizi.jpg);
     background-position: center;
     background-size: cover;
     background-repeat: no-repeat;
     display: flex;
     justify-content: center;
     align-items: center;
     padding: 2rem;
 }

 .container {
     padding: 5rem 0;
     display: flex;
     justify-content: center;
     gap: 2rem;
     flex-wrap: wrap;
 }

 .card {
     background-color: #f8f9fa;
     border-radius: 15px;
     padding: 2rem;
     width: 350px;
     transition: all 0.3s ease;
     cursor: pointer;
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
     display: flex;
     flex-direction: column;
 }

 .card:hover {
     transform: translateY(-10px);
     box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
 }

 .card-title {
     font-size: 1.5rem;
     color: black;
     margin-bottom: 1rem;
     text-align: center;
 }

 .card-content {
     color: #242424;
     line-height: 1.6;
     text-align: center;
     margin-bottom: 1rem;
 }

 .read-more {
     display: inline-block;
     padding: 0.8rem 1.5rem;
     background-color: white;
     color: black;
     border-radius: 25px;
     border: 1px solid #ff9f68;
     margin-top: auto;
     text-decoration: none;
     transition: background-color 0.3s ease;
     text-align: center;
 }

 .read-more i {
     margin-right: 1rem;
 }

 .read-more:hover {
     background-color: #ff9f68;
 }

 @media (max-width: 1000px) {
     .logo p {
         margin-bottom: 1rem;
         padding: 0 1rem;
         font-size: 16px;
     }

     .card:hover {
         transform: translateY(0px);
         box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
     }

     .logo img {
         width: 80px;
         padding: .5rem;
     }

     .logo h1 {
         font-size: 25px;
     }

 }

 .about-container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 2rem;
 }

 .about-grid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 2rem;
     margin-top: 2rem;
 }

 .about-image img {
     height: 100%;
     object-fit: cover;
     border-radius: 10px;
 }

 .about-content h2 {
     margin-bottom: 1rem;
     color: #333;
 }

 .about-content p {
     line-height: 1.5;
     color: #383838;
 }

 .about-image:hover {
     transform: scale(1.05);
     transition: transform 0.3s ease;
 }

 @media (max-width: 768px) {
     .about-grid {
         grid-template-columns: 1fr;

     }

     .about-image img {
         width: 100%;
         object-fit: cover;
         border-radius: 10px;
     }

     .about-image:hover {
         transform: scale(1);
     }

     .about-content {
         text-align: center;
     }
 }

 /* form */

 #form {
     display: flex;
     justify-content: center;
     align-items: center;
     margin: 3.5rem 0;
 }

 .form-container {
     padding: 30px;
     border-radius: 10px;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
 }

 .form-container h2 {
     margin-bottom: 20px;
     text-align: center;
 }

 .form-group {
     margin-bottom: 15px;
 }

 label {
     display: block;
     margin-bottom: 5px;
     font-weight: bold;
 }

 input[type="text"],
 input[type="email"],
 input[type="tel"],
 textarea {
     width: 100%;
     padding: 10px;
     border: 1px solid #ccc;
     border-radius: 6px;
     box-sizing: border-box;
 }

 textarea {
     resize: vertical;
     min-height: 100px;
 }

 .form-group.checkbox {
     display: flex;
     align-items: center;
 }

 .form-group.checkbox input {
     width: auto;
     margin-right: 10px;
 }

 button[type="submit"] {
     background-color: #f8f9fa;
     border: 1px solid #ff9f68;
     color: #ff9f68;
     padding: 12px;
     border-radius: 6px;
     width: 100%;
     font-size: 16px;
     cursor: pointer;
     transition: background-color 0.3s ease;
 }

 button[type="submit"]:hover {
     background-color: #ff9f68;
     color: white;
 }


 @media(max-width:767px) {

     #form {
         padding: 1rem;
     }

     .form-container h2 {
         font-size: 15px;
         margin-bottom: 2rem;
     }

     label {
         font-size: 80%;
     }
 }

 /* end form */

 /* footer */
 #footer {
     background-color: #242424;
     color: white;

 }

 .social img {
     max-width: 200px;
 }

 .container-footer {
     display: flex;
     flex-direction: column;
 }

 .social {
     text-align: center;
     justify-items: center;
 }

 .social ul li {
     margin: 2rem 0;
     text-align: left;
 }

 .social p,
 .social a {
     color: white;
 }

 .social a:hover {
     color: #ff9f68;
 }

 .social i {
     margin-right: 10px;
     margin-bottom: 1.5rem;
 }

 .copyright {
     text-align: center;
     font-size: 12px;
     background-color: white;
     color: #242424;
 }

 @media(max-width:767px) {

     .container-footer {
         flex-direction: column;

     }

     .social ul li {
         margin-bottom: 2rem;
         text-align: left;
     }
 }

 /* end footer */