@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wdth,wght@75..100,300..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
/* =====================================
   Progetto realizzato da Pisani web design
   © 2025 - Tutti i diritti riservati
   ===================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: "Roboto", sans-serif;
}
.container-banner {
    background: rgba(33, 97, 157, 1);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}
.banner {
    padding: 15px;
    width: 1150px;
    height: 50px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.banner i {
    color: #fff;
    font-size: 16px;
}
.banner p {
    display: flex;
    gap: 10px;
    color: #fff;
}
.banner p a {
    text-decoration: none;
    color: #fff;
}
header {
    width: 100%;
    background: #fff;
    position: fixed;
    top: 50px;
    left: 0;
    z-index: 999;
}
header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 1150px;
    margin: 0 auto;
    padding: 15px;
}
header nav .logo {
max-width: 50px;
}
header nav ul {
    display: flex;
    gap: 20px;
}
header nav ul li {
    list-style: none;
}
header nav ul li a {
    padding: 0 5px 0 5px;
    text-transform: uppercase;
    font-size: 15px;
    text-decoration: none;
    color: rgba(67, 67, 67, 1);
}
header nav ul li a:hover {
   color: #21619d;
}
.hero {
    background: 
      linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
      url('https://res.cloudinary.com/dgl9wd293/image/upload/v1744893705/IMG_5492_yguatz.jpg') no-repeat center center;
    background-size: cover;
    min-height: 90vh;
    margin-top: 100px;
    position: relative;
}
.container-hero {
    width: 1150px;
    margin: 0 auto;
    text-align: center;
}
 h1 {
   position: absolute;
   width: 50vw;
   top: 0;
   left: 0;
   height: 100%;
   background-color: #ffffffc9;
   mix-blend-mode: screen;
}
h1 span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translateY(-50%);
    display: grid;
    place-content: center;
    color: #fff;
    font-size: 100px;
    mix-blend-mode: difference;
    font-family: 'League Spartan', sans-serif;
    font-weight: 900;
    line-height: 1;
}
.container {
    width: 1150px;
    margin: 0 auto;
    padding: 20px 0px 20px 0px;
}
.container .flex {
    display: flex;
    margin-top: 100px;
    position: relative;
}
.mt-100 {
    margin-top: 100px;
    overflow: hidden;
}
.pb-150 {
    margin-top: 20px !important;
    padding-bottom: 150px;
}
.container .flex .col {
    position: relative;
}
.container .flex .col:nth-child(1) {
    width: 100%;
}
.container .flex .col:nth-child(2) {
    width: 75%;
}
.col-text {
    width: 100%;
    height: 100%;
    padding-right: 50px;
}
.user {
    width: 100%;
}
.container h2 {
    font-size: 65px;
    line-height: 1.2em;
    color: #3d6280;
    font-weight: 700;
}
.container .flex h3 {
    font-weight: bold;
    font-size: 24px;
    color: rgba(33, 97, 157, 1);
}
.container .flex p {
    margin-top: 10px;
    line-height: 1.5;
    font-size: 18px;
    font-weight: 300;
}
.container .flex .card p {
    text-align: center;
}
.cards {
    width: 100%;
}
.card {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: rgba(72, 146, 215, 1);
    transition: all .3s ease-in-out;
    margin-top: 10px;
    cursor: pointer;
}
.cards .card.active {
    transform: translateX(-15px);
    background: rgba(39, 115, 188, 1);
}
.card h3 {
    text-align: center;
    font-size: 18px !important;
    color: #fff !important;
}
.card p {
    margin-top: 0px !important;
    font-weight: 900;
    font-size: 16px !important;
    color: #fff;
}
.servizi {
    width: 35%;
}

.servizi-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 20px;
}
.servizi-list li {
    width: 100%;
    background: rgba(39, 115, 188, 1);
    padding: 15px 20px;
    border-radius: 0px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 18px;
    font-weight: 500;
    transition: transform 0.3s ease-in-out;
    color: #fff;
}
.servizi-list li:hover {
    transform: scale(1.05);
}

.gap-20 {
    gap: 20px;
}
ul.servizi {
    list-style: none;
    padding: 0;
    width: 100%;
    margin: 10px auto;
}
ul.servizi li {
    background: #ffffff;
    border-radius: 16px;
    margin-bottom: 16px;
    padding: 10px 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

ul.servizi li:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.check-icon {
    width: 40px;
    height: 40px;
    background: #10b981; 
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

  .servizio-nome {
    font-size: 16px;
    color: #000;
}
.banner-citazione {
    padding-top: 70px;
    padding-bottom: 70px;
    background:linear-gradient(rgba(33, 97, 157, 0.8), rgba(33, 97, 157, 0.7)), url('https://res.cloudinary.com/dgl9wd293/image/upload/v1744895325/WIEMSPRO_t09kyg.jpg') no-repeat center;
    background-size: cover;
    background-attachment: fixed;
}
.banner-citazione .container p {
    line-height: 1.8em;
    text-shadow: 0em 0.1em 0.1em rgba(0, 0, 0, 0.4);
    font-size: 56px;
    color: #fff;
    text-align: center;
    margin: 20px auto;
    width: 80%;
    max-width: 800px;
}
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 100px 0rem;
    max-width: 1150px;
    margin: 0 auto;
  }

  .contact-info {
    background-color: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

  .contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #3d6280;
}

  .contact-item {
    display: flex;
    align-items: center;
    margin: 0.75rem 0;
    font-size: 1rem;
}

  .contact-item i {
    margin-right: 0.75rem;
    color: #0077cc;
    font-size: 1.2rem;
    min-width: 25px;
    text-align: center;
}

  .map-container {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
}

  .map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
.openNav {
    display: none !important;
}
  .swiper {
    width: 75%;
    max-width: 1000px;
    height: 400px;
  }

  .swiper-slide {
    background: rgba(33, 97, 157, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    overflow: hidden;
  }

  .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .swiper-pagination {
    bottom: 10px !important;
  }
  .scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    padding: 10px 15px;
    background-color: rgba(72, 146, 215, 1);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: none;
}
.scroll-top.scroll {
    display: block;
}
footer {
  text-align: center;
  padding: 2rem;
  background-color: rgba(33, 97, 157, 1);
  color: #fff;
  font-size: 0.9rem;
  margin-top: 3rem;
  border-top: 1px solid #ddd;
}
  @media (max-width: 768px) {
    .contact-section {
      grid-template-columns: 1fr;
      padding: 2rem 1rem;
    }

    .map-container {
      height: 300px;
    }
    .flex {
        flex-direction: column;
    }
    .container {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
    .hero {
        min-height: 50vh;
    }
    .servizi, .slider {
        width: 100%;
    }
    .container h2 {
        font-size: 35px;
    }
    .container .flex {
        margin-top: 50px;
    }
    .mt-100 {
        margin-top: 50px;
    }
    .banner-citazione .container p {
        font-size: 24px;
    }
    header nav ul {
        position: absolute;
        top: 80px; 
        left: 0;
        flex-direction: column;
        background: #fff;
        padding: 20px;
        width: 100%;
        transform: translateY(-100%);
        transition: .3s ease-in-out;
        z-index: -1;
    }
    
    header nav ul.active {
        transform: translateY(0%);
    }
    
    header {
        position: relative;
        min-height: 80px;
        z-index: 1;
    }
    header nav {
        width: 100%;
        background: #fff;
    }
    .banner,.contact-section {
        width: 100%;
    }
    .hero {
        margin-top: 0px;
    }
    .openNav {
        display: block !important;
        cursor: pointer;
    }
    .slider {
        justify-content: center;
    }
    .slider img.active {
        width: 240px;
    }
    .cards {
        margin-top: 20px;
    }
    .pb-150 ,.container .gap-20:nth-child(3), .container .gap-20:nth-child(5), .container .gap-20:nth-child(7) {
        flex-direction: column-reverse;
    }
    .swiper {
        width: 90%;
    }
    .col-text {
        padding-right: 0px;
    }
    .pb-150 {
        padding-bottom: 0px;
    }
    .result {
        padding-top: 20px;
    }
    .card {
        padding: 10px;
    }
    .cards .card.active {
        transform: translateX(0);
    }
    h1 span {
        font-size: 50px;
    }
  }

@media(min-width: 1920px) {
    h1 span {
        font-size: 200px;
    }
}