/* 
            ##+-                                                             
     +     -###+-   #                                                        
     ++    #####+++##+             ###    ##      +## ##   ###-##+     ##    
    -+++  +#####++####            -###-   ####    -## ##.-##+. ##+     ##    
    ++++--#######+++##            ##+##   ##-##+  -## ##+#+.   ##+----.##    
    +++++#########+++++          +#+.+#+  ##..+##--## ##+##-   ##++++++##    
    +++++########+-+++-         -##+++##+ ##   .+###+ ##..+##  ##-     ##    
    -##+++######+ .+++         -#+     ##.##.     +#+ ##.  -##.##-     ##    
    .###++######.  -++         ..       ....       .- ..     .. .      ..    
     +#-.-+####-   .+-                                                       
     -.   .+##+.    .                                                        
           .-+-                                                              
             .                                                               
*/


/* 
=================================================================
 Global Styles
=================================================================
*/


body {
    background-color: #164D7F;
    margin: 0px !important;
    padding: 0px;
    overflow: auto;
    font-family: 'Poppins', sans-serif; 
    caret-color: transparent;
}

.hero1 {
    padding: 100px 20px 40px;
    text-align: center;
  }

.bellefair {
    font-family: Bellefair,;
}

.separation-line-up {
border-top: 1px solid #ccc;
}

/* Miglioramento generale degli allineamenti */
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Migliore gestione della spaziatura */
.section {
    padding: 20px;
    margin-bottom: 20px;
}

/* Hover Underscore */

.hover-underscore:hover {
    text-decoration:underline !important;
}

.color-blu {
    color: #164D7F;
}

/*
=============================================================================
Rimozione Barra Di Scorrimento Laterale 
=============================================================================
*/


/* Per i browser WebKit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    display: none;
}

/* Per Firefox */
html {
    scrollbar-width: none;
}

/*
================================================================================= 
General Button 
=================================================================================
*/

button {
    transition: all 0.3s ease-in-out;
    transform: scale(1);
    border: none;
    outline: none;
    background-color: inherit;
}

button:hover {
    transform: scale(1.05);
}

/*
=================================================================================
Whatsapp 
=================================================================================
*/

.chat {
    background-color: #164D7F;
    color: white;
    padding: 20px;
    text-align: center;
}

/* whatsapp */
.whatsapp-button {
    position: fixed;
    bottom: 20px; /* Distanza dal basso */
    right: 20px; /* Distanza da destra */
    width: 60px; /* Dimensione del pulsante */
    height: 60px;
    background-color: #82b3e0; /* Colore di WhatsApp */
    border-radius: 50%; /* Per renderlo circolare */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    z-index: 9999
}

.whatsapp-button img {
    width: 35px; /* Dimensione icona */
    height: 35px;
}

.whatsapp-button:hover {
    transform: scale(1.1); /* Effetto di ingrandimento al passaggio del mouse */
}

/* Per schermi piccoli (es. smartphone) */
@media screen and (max-width: 480px) {
    .whatsapp-button {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-button img {
        width: 30px;
        height: 30px;
    }
}



/* 
=================================================================
Hero index
=================================================================
*/

.hero { 
  background-image: 
    url("Media/notaia\ emanula\ lo\ buono.png"),
    url("Media/Cover BG Padova.png");
  background-size: 22%, cover;
  background-position: calc(100% - 10%) bottom, center center;
  background-repeat: no-repeat, no-repeat;
  background-attachment: scroll;
  width: 100%;
  height: 700px;
  padding: 0 0 240px 0;
  margin: 0;
  box-shadow: 0 0 0 #222, 0 0 200px #222;
  display: flex;
  align-items: center;
  justify-content: start; /* allinea il contenuto a sinistra */
}

.texthero {
  padding: 300px 0 0 250px;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.h1-hero {
  color: #164D7F;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
  font-size: 26px;
  font-family: 'Bellefair', serif;
}

.hero-btn {
  font-size: 20px;
  background-color: #164D7F;
  color: white;
  padding: 10px;
  box-shadow: 0 0 5px #164D7F, 0 0 10px #222;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.hero-btn:hover {
  background-color: #444;
}


/* ✅ RESPONSIVE */


@media (max-width: 789px) {
  .hero {
    background-size: 25%, cover;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* background-position: calc(100% - 40px) bottom, center center; */
    height: 300px;
  }
}

@media (max-width: 420px) {
  .hero {
    background-size: 55%, cover;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* background-position: calc(100% - 40px) bottom, center center; */
    height: 300px;
  }

  .texthero {
    padding: 0 25px;
    margin:0;
    align-items: center;
  
  }

  .h1-hero {
    font-size: 14px;
  }

  .hero-btn {
    font-size: 14px;

  }
}



/*
=================================================================
 Section notaia
=================================================================
 */

.description-section {
  background-color: #164D7F;
  color: #ffffff;
  padding-top: 25px;
  padding-bottom: 25px;
  margin:0px;

}

.description-section-studio{
  background-color: #ffffff;
  color: #164D7F;
  padding-top: 25px;
  padding-bottom: 25px;
  margin:0px;
}


.notaia {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 50px;
  margin: 5% 10% 0 10%;
  color: #ffffff;
  font-family: 'Arial Narrow Bold', sans-serif;
}

.notaia-text-box {
  max-width: 600px;
  border-left: 2px solid #ffffff;
  padding-left: 40px;
  flex: 1;
  padding-bottom: 30px;
  column-gap: 20px;
}

.notaia-img {
  flex: 0 0 500px;       /* larghezza fissa, non cresce */
  max-width: 100%;
  
}

.notaia-img img {
  width: 100%;
  height: auto;
  display: block;
}


/* Section Lo studio */
.lo-studio{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 50px;
  margin: 5% 10% 0 10%;
color: #164D7F;
  font-family: 'Arial Narrow Bold', sans-serif;
  background-color: #ffffff;

}

.lo-studio-text-box {
  max-width: 600px;
  border-right: 2px solid #164D7F;
  padding-right: 40px;
  flex: 1;
  padding-bottom: 30px;
  column-gap: 20px;
}

.lo-studio-img {
  flex: 0 0 500px;       /* larghezza fissa, non cresce */
  max-width: 100%;
  
}

.lo-studio-img img {
  width: 100%;
  height: auto;
  display: block;
}

.scopri-btn {
  display: inline-block;
  padding: 10px 20px;
  color: #d2d2d2;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.scopri-btn:hover {
  transform: scale(1.05);
} 

.scopri-arrow {
  display: inline-block;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

/* ------------------------------------------------------- */

/* 
==================================================================
Atti Hub
==================================================================
*/

.atti-section {
  padding: 60px 20px;
  background: linear-gradient(to bottom, #ffffff, #eaf2f8); /* Sfondo leggero e professionale */
  text-align: center;
}

.atti-title {
  font-size: 2rem;
  color: #164D7F;
  margin-bottom: 40px;
}

/* GRIGLIA DI CONTENITORI */
.atti-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

/* BOX INDIVIDUALE */
.atto-box {
  flex: 1 1 calc(33.333% - 30px); /* 3 per riga su desktop */
  max-width: calc(33.333% - 30px);
  border: 2px solid #164D7F;
  padding: 30px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.atto-box {
  /* Se vuoi transizioni più fluide */
  transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

/* Stato hover sul contenitore */
.atto-box:hover {
  transform: scale(1.03);
  background-color: #164D7F; /* Colore di sfondo al passaggio del mouse */
  box-shadow: 0px 4px 12px rgba(22, 77, 127, 0.2);
  border-color: #123a5f;     /* Colore del bordo al passaggio del mouse */
  cursor: pointer;           /* Cambia il cursore al passaggio del mouse */
  text-decoration: none;     /* Rimuove la sottolineatura al passaggio del mouse */

  /* Testi bianchi al passaggio del mouse */
}
.atto-box:hover h2,
.atto-box:hover h3,
.atto-box:hover p {
  color: #ffffff;
}

.atto-box img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.atto-box h3 {
  color: #164D7F;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.atto-box p {
  color: #333;
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.4;
}


.btn-scopri:hover {
  transform: scale(1.05);
}

/* RESPONSIVE - Tablet: 2 per riga */
@media (max-width: 992px) {
  .atto-box {
    flex: 1 1 calc(50% - 30px);
    max-width: calc(50% - 30px);
  }
}

/* RESPONSIVE - Mobile: 1 per riga */
@media (max-width: 576px) {
  .atto-box {
    flex: 1 1 100%;
    max-width: 100%;
  }
}



/* 
==================================================================
Guide 
==================================================================
*/

.guide-section {
  background: linear-gradient(to bottom, #ffffff, #eaf2f8);
  padding: 5rem 2rem;
  text-align: center;
}

.guide-content {
  max-width: 800px;
  margin: 0 auto;
  color: #164D7F;
  text-align: center;
}

.guide-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #164D7F;
}

.guide-content p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 2rem;
}

.guide-btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: #164D7F;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  /* border-radius: 0; // opzionale se vuoi coerenza col resto */
}

.guide-btn:hover {
  background-color: #123a5f;
}

.checkbox-privacy-consulenza {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9em;
  color: #333;
  margin-top: 10px;
  max-width: 100%;
  line-height: 1.4;
  flex-wrap: nowrap;
}

.checkbox-privacy-consulenza input[type="checkbox"] {
  accent-color: #164D7F;
  margin-top: 4px;
  flex-shrink: 0;
}

.checkbox-privacy-consulenza label {
  flex: 1;
  margin: 0;
}

.richiedi-consulenza-section {
  background-color: #164D7F;
  color: #ffffff;
  padding: 40px 20px;
  text-align: center;
}

.container-richiedi-consulenza{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.richiedi-consulenza-section a {

  color: #164D7F;
  text-decoration: none;
  background-color: #ffffff;
  padding: 12px 24px;
  font-weight: bold;
  border-radius: 5px;
  margin-bottom: 30px;

}

.richiedi-consulenza-section a:hover {
  background-color: #5e9dd8;
  color: #ffffff;
  transition: background-color 0.3s, color 0.3s;
  scale: 1.05 ease-in-out; 
}