

nav.sticky{
  background: #ff9000;
  padding: 40px 0;
}
nav .navbar{
  width: 80%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
 
}
nav.sticky .navbar .logo a{
  color: #fff;
  
}

nav .navbar .logo a{
  font-weight: 500;
  font-size: 30px;
  color: #ff9000;
  
}

nav .navbar .nav-links{
  line-height: 70px;
  height: 100%;
}
nav .navbar .links{
  display: flex;
}
nav .navbar .links li{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  padding: 0 25px;

}
nav .navbar .links li a{
  height: 100%;
  text-decoration: none;
  white-space: nowrap;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
}

.links li:hover .htmlcss-arrow,
.links li:hover .js-arrow,
.links li:hover .ris-arrow{
  transform: rotate(180deg);
  }
nav .navbar .links li .arrow{

  height: 100%;
  width: 30px;
  line-height: 50px;
  text-align: center;
  display: inline-block;
  color: #ffffff;
  transition: all 0.3s ease;
   font-weight: 500;
}

nav .navbar .links li .sub-menu{
  position: absolute;
  top: 50px;
  left: 0;
  line-height: 90px;
  background:#ff9000;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  border-radius: 0 0 4px 4px;
  display: none;
  z-index: 2;
  
}
nav .navbar .links li:hover .htmlCss-sub-menu,
nav .navbar .links li:hover .js-sub-menu,
nav .navbar .links li:hover .ris-sub-menu{
  display: block;
}

.navbar .links li .sub-menu li{
  padding: 0 22px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  
}
.navbar .links li .sub-menu a{
  color: #ffffff;
  font-size: 15px;
  font-weight:400;
}
.navbar .links li .sub-menu a:hover{
  color: #0E2431;
}


.navbar .nav-links .sidebar-logo{
  display: none;
}
.navbar .bx-menu{
  display: none;
}
.active {
	 background-color: #ff9000;
}

.active1 {
	 background-color: #EB7900;
	 padding: 0 20px;
}


/* FINE MENU*/

/* whatsapp*/
.wa-btn{
	width:50px;
	height:50px;
	display:block;
	background-color:transparent;
	position: fixed;
	bottom:30px;
	right:30px;
	z-index:999;
	transition:300ms all ease-in-out;
}
.wa-btn:hover{
	transform:scale(1.2,1.2);
}
svg path:nth-child(1){
	fill:green;
}

a.wa-btn svg path{
	transition:300ms all ease-in-out;
}
a.wa-btn:hover svg path:nth-child(1){
	fill:darkgreen;
}





/* home section styling */

.home .home-content{
  width: 80%;
  height: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;

}
.home .text-one{
  font-size: 25px;
  color:  #0E2431;
  font-weight: 600;
  line-height: 1.6;
}
.home .text-two{
  color:  #0E2431;
  font-size: 80px;
  font-weight: 600;
  margin-left: -3px;
   line-height: 1.6;

}
.home .text-three{
  font-size: 40px;
  margin: 25px 0;
   font-weight: 600;
  color: #ffffff;
   line-height: 1.6;
}
.home .text-four{
  font-size: 18px;
  margin: 5px 0;
  color: #ffffff;
  text-decoration: none;
   line-height: 1.6;
   text-decoration: underline;
}
.home .button button{
  outline: none;
  padding: 8px 50px;
  border-radius: 20px;
  font-size: 25px;
  font-weight: 400;
 background: #ffffff;
  color: #ffffff;
  cursor: pointer;
   border: 2px solid #ff9000;
  transition: all 0.4s ease;
}
.home .button button:hover{
  border-color: #ffffff;
  background: #ff9000;
  color:#ffffff;
}

/* about section styling */
section{
  padding-top: 40px;
}
section .content{
  width: 80%;
  margin: 40px auto;
  
}
.about .about-details{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
section .title{
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
section .title h1,span{
  color: #0E2431;
  font-size: 30px;
  font-weight: 600;
  position: relative;
  padding-bottom: 8px;
}
section .title h1::before,
section .title h1::after{
  content: '';
  position: absolute;
  height: 3px;
  width: 100%;
  background: #ff9000;
  left: 0;
  bottom: 0;
}
section .title h1::after{
  bottom: -7px;
  width: 70%;
  left: 50%;
  transform: translateX(-50%);
}
section .title h3,span{
  color: #0E2431;
  font-size: 30px;
  font-weight: 600;
  position: relative;
  padding-bottom: 8px;
}
section .title h3::before,
section .title h3::after{
  content: '';
  position: absolute;
  height: 3px;
  width: 100%;
  background: #ff9000;
  left: 0;
  bottom: 0;
}
section .title h3::after{
  bottom: -7px;
  width: 70%;
  left: 50%;
  transform: translateX(-50%);
}

h2, h4, h5, h6, h7, h8, h9, h10{
  color: #0E2431;
  font-size: 25px;
  font-weight: 600;
  position: relative;
  padding-bottom: 8px;
}

.about-details .center {
  width: 80%;
}
.about .about-details .left{
  width: 45%;
}
.about .left img{
  height: 400px;
  width: 400px;
  object-fit: cover;
  border-radius: 12px;
}
.about .left iframe{
   height:500px;
  width: 500px
  
}
.about .light img{ 
 height: 250px;
  width: auto;
float:left
object-fit: contain;

}
.about-details .right{
  width: 55%;
}
section  .topic h3,{
  color: #0E2431;
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 10px;
}
.about-details .right p{
  text-align: justify;
  color: #0E2431;
}
section .button{
  margin: 16px 0;
}
section .button button{
  outline: none;
  padding: 8px 50px;
  border-radius: 20px;
  font-size: 25px;
  font-weight: 400;
 background: #ffffff;
  color: #ffffff;
  cursor: pointer;
   border: 2px solid #ff9000;
  transition: all 0.4s ease;
}
section .button button:hover{
    border-color: #0E2431;
  background: #ff9000;
  color:#ffffff;
}

.p4{
  color:#ffffff;
   font-size: 1px;
   
  }
  
  .p1{
  color:#0E2431;
   text-align: justify;
   }
/* Contact Me CSS */


.contact .content{
  margin: 0 auto;
  padding: 30px 0;
}
.contact .text{
  width: 80%;
  text-align: center;
  margin: auto;
   font-size: 20px;
    font-weight: 600;
   color: #ffffff;
}

.contact .button button{
    outline: none;
  padding: 8px 50px;
  border-radius: 20px;
  font-size: 25px;
  font-weight: 400;
 background: #ffffff;
  color: #ffffff;
  cursor: pointer;
   border: 2px solid #ff9000;
  transition: all 0.4s ease;
}
.contact .button button:hover{
   border-color: #0E2431;
  background: #ff9000;
  color:#ffffff;
}
/* My Services CSS */
.services{
  background: #F0F8FF;
}
.services .boxes{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.services .boxes .box{
  margin: 20px 0;
  width: calc(100% / 3 - 20px);
  text-align: center;
  border-radius: 12px;
  padding: 30px 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.12);
  cursor: default;
  transition: all 0.4s ease;
  font-weight: 600;
  
}
.services .boxes .box:hover{
  background: #ff9000;
  color: #fff;
}
.services .boxes .box .icon{
  height: 50px;
  width: 50px;
  background: #ff9000;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  font-size: 18px;
  color: #fff;
  margin: 0 auto 10px auto;
  transition: all 0.4s ease;
}
.boxes .box:hover .icon{
  background-color: #fff;
  color: #0E2431;
}
.services .boxes .box:hover .topic,
.services .boxes .box:hover p{
  color: #0E2431;
  transition: all 0.4s ease;
   
}

 
/* Footer CSS */
footer{
  background: #ff9000;
  padding: 15px 0;
  text-align: center;
 
}
footer .text span{
  font-size: 17px;
  font-weight: 400;
  color: #0E2431;
}
footer .text span a{
  font-weight: 500;
  color: #0E2431;
}
footer .text span a:hover{
  text-decoration: none;
}

footer .media-icons a{
  color: #0E2431;
  font-size: 18px;
  margin: 0 6px;
}


  /* ==========================================================================
       1. GRIGLIA RESPONSIVE (Gestisce la disposizione degli slider)
       ========================================================================== */
    .sliders-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr); /* Crea 2 colonne su Desktop */
      gap: 80px 70px;                              /* Spazio orizzontale e verticale tra gli slider */
      max-width: 1200px;                     /* Larghezza massima della sezione */
      margin: 40px auto;                     /* Centra la griglia nella pagina e dà spazio sopra/sotto */
      padding: 0 20px;
    }

    /* Media Query per Smartphone e Tablet piccoli */
    @media (max-width: 768px) {
      .sliders-grid {
        grid-template-columns: repeat(1, 1fr); /* Passa a 1 sola colonna su Mobile */
        gap: 80px;                              /* Riduce leggermente lo spazio */
      }
    }

    /* ==========================================================================
       2. STRUTTURA DEGLI SLIDER INTERATTIVI (Ottimizzata e fluida)
       ========================================================================== */
    .slider-container {
      --position: 50%;
  position: relative;
  width: 100%;
  max-width: 550px;
  margin: 0 auto;
  user-select: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  height: 380px; 
}

    /* Questa classe definisce la dimensione e le proporzioni delle foto */
    .slider-img {
      display: block;
      width: 100%;                           /* Adatta la foto alla larghezza dello slider */
      height: 380px;                         /* Altezza fissa uguale per tutti gli slider */
      object-fit: cover;                     /* Taglia la foto senza deformarla */
    }

    /* La scatola "Maschera" (Immagine PRIMA) che si stringe e si allarga */
    .img-resize {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--position);
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

    /* Sincronizza la foto del "Prima" per non farla muovere o rimpicciolire */
    .img-resize .slider-img { 
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;                     /* Riferimento fluido basato sullo schermo */
  max-width: 550px;                 /* Deve essere IDENTICO al max-width di .slider-container */
  height: 380px;                    /* Deve essere IDENTICA all'altezza di .slider-img principale */
  object-fit: cover;                /* Impedisce deformazioni */
  
  border-radius: 12px;
}

    /* Input invisibile ma interattivo per lo scorrimento */
    .slider-input {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      cursor: ew-resize;
      z-index: 10;
    }

    /* Linea bianca divisoria */
    .slider-line {
      position: absolute;
      top: 0;
      bottom: 0;
      left: var(--position);
      width: 4px;
      background-color: #ffffff;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
      transform: translateX(-50%);
      pointer-events: none;
      z-index: 2;
    }

    /* Pulsante centrale tondo */
    .slider-button {
      position: absolute;
      top: 50%;
      left: var(--position);
      width: 40px;
      height: 40px;
      background-color: #ffffff;
      border-radius: 50%;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
      transform: translate(-50%, -50%);
      pointer-events: none;
      z-index: 3;
    }

    /* Frecce interne al pulsante */
    .slider-button::before, 
    .slider-button::after {
      content: '';
      position: absolute;
      top: 50%;
      border: solid #333333;
      border-width: 0 3px 3px 0;
      display: inline-block;
      padding: 3px;
    }
    .slider-button::before { left: 25%; transform: translateY(-50%) rotate(135deg); }
    .slider-button::after { right: 25%; transform: translateY(-50%) rotate(-45deg); }

    /* Didascalia SEO sotto lo slider */
    .slider-caption {
       text-align: center;
  position: relative;
  margin-top: 12px;
  font-size: 0.9rem;
  font-family: sans-serif;
  color: #555555;
  padding: 0 10px;
  z-index: 11; 
}

    /* Etichette di testo "Prima" e "Dopo" */
    .slider-label {
      position: absolute;
      top: 15px;
      padding: 6px 12px;
      background-color: rgba(0, 0, 0, 0.65);
      color: #ffffff;
      font-family: sans-serif;
      font-size: 0.8rem;
      font-weight: bold;
      text-transform: uppercase;
      letter-spacing: 1px;
      border-radius: 4px;
      pointer-events: none;
      user-select: none;
    }

    .label-before {
      left: 15px;
      z-index: 2;
    }

    .label-after {
      right: 15px;
      z-index: 1;
    }



/* Responsive Media Query */
@media (max-width: 1190px) {
  section .content{
    width: 85%;
  }


}
@media (max-width: 1000px) {
  .about .about-details{
    justify-content: center;
    flex-direction: column;
  }
  .about .about-details .left{
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .about-details .right{
    width: 90%;
    margin: 40px 0;
  }
   .services .boxes .box{
    margin: 20px 0;
    width: calc(100% / 2 - 20px);
  }
  section .title h1,span{
  color: #0E2431;
  font-size: 30px;
  font-weight: 600;
  position: relative;
  padding-bottom: 8px;
 line-height: 1.6;
  }
  section .title h3,span{
  color: #0E2431;
  font-size: 30px;
  font-weight: 600;
  position: relative;
  padding-bottom: 8px;
 line-height: 1.6;
  }
  }
  @media (max-width:920px) {
  nav .navbar{
    max-width: 100%;
    padding: 0 25px;
  }
  nav .navbar .logo a{
    font-size: 27px;
  }
  nav .navbar .links li{
    padding: 0 10px;
    white-space: nowrap;
  }
  nav .navbar .links li a{
    font-size: 15px;
  }
}
@media (max-width:800px){
  nav{
    /* position: relative; */
  }
  .navbar .bx-menu{
    display: block;
  }
  nav .navbar .nav-links{
    position: fixed;
    top: 0;
    left: -100%;
    display: block;
    max-width: 270px;
    width: 100%;
    background:  #ff9000;
    line-height: 40px;
    padding: 40px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    z-index: 1000;
  }
  .navbar .nav-links .sidebar-logo{
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .sidebar-logo .logo-name{
    font-size: 30px;
    color: #fff;
  }
    .sidebar-logo  i,
    .navbar .bx-menu{
      font-size: 35px;
      color: #ffffff;
    }
  nav .navbar .links{
    display: block;
    margin-top: 20px;
	
  }
  nav .navbar .links li .arrow{
    line-height: 40px;
  }
nav .navbar .links li{
    display: block;
  }
nav .navbar .links li .sub-menu{
  position: relative;
  top: 0;
  box-shadow: none;
  display: none;
}
nav .navbar .links li .sub-menu li{
  border-bottom: none;
}

.links li:hover .htmlcss-arrow,
.links li:hover .js-arrow,
.links li:hover .ris-arrow{
  transform: rotate(0deg);
  
  
    /* justify-content: space-between; */
 
  }
  nav .navbar .links li:hover .htmlCss-sub-menu,
  nav .navbar .links li:hover .js-sub-menu,
  nav .navbar .links li:hover .ris-sub-menu{
    display: none;
  }
.navbar .nav-links.show1 .links .htmlCss-sub-menu,
  .navbar .nav-links.show2 .links .js-sub-menu,
  .navbar .nav-links.show3 .links .ris-sub-menu{
      display: block;
    }
    .navbar .nav-links.show1 .links .htmlcss-arrow,
    .navbar .nav-links.show2 .links .js-arrow,
	.navbar .nav-links.show3 .links .ris-arrow{
        transform: rotate(180deg);
}

    .active {
	 background-color: #EB7900;
}

.active1 {
	 background-color:#EB7900;
}
section{
  padding-top: 0px;
}
}

  @media (max-width: 750px) {
  nav .navbar{
    width: 90%;
	
  }

nav.sticky{
  padding: 20px 0;
}
  
  
  nav .navbar .menu{
    position: fixed;
    left: -100%;
    top: 0;
    background: #0E2431;
    height: 100vh;
    max-width: 400px;
    width: 100%;
    padding-top: 30px;
    flex-direction: column;
    align-items: center;
    transition: all 0.5s ease;
  }
  
  .navbar.active .menu{
    left: 0;
  }
  nav .navbar .menu a{
    font-size: 23px;
    display: block;
    color: #fff;
    margin: 10px 0;
  }
 

  nav .menu-btn,
  .navbar .menu .cancel-btn{
    display: block;
  }


  .home .text-two{
    font-size: 50px;
  }
  .home .text-three{
    font-size: 30px;
  }
   .contact .text{
    width: 100%;
}
  .services .boxes .box{
    margin: 20px 0;
    width: 100%;
  }
 
footer .media-icons a{
  color: #0E2431;
  font-size: 25px;
  margin: 30px 16px;
}

  }
  
 
  
  @media (max-width: 500px){
	  

  .home .text-two{
    font-size: 38px;
  }
  .home .text-three{
    font-size: 30px;
	
  }

  nav .navbar .logo a{
    font-size: 20px;
}
.about .left img{
  height: 300px;
  width: 300px;
  object-fit: cover;
  border-radius: 12px;
}

.about .left iframe{
   height:400px;
  width: 400px

  
} 

section .button button{
  outline: none;
  padding: 8px 30px;
  }
.contact .button button{  
  padding: 8px 30px;  
}  
.home{
  height: 100vh;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: brightness(90%);
} 


@media (max-width:370px){
  nav .navbar .nav-links{
  max-width: 70%;
} 
}
  
 
