/**
* Template Name: Personal - v2.3.0
* Template URL: https://bootstrapmade.com/personal-free-resume-bootstrap-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  background-color: #040404;
  color: #011f51;
  position: relative;
  background: transparent;
}

body::before {
  content: "";
  position: fixed;
  background: #040404 url("../img/bg.jpg") top right no-repeat;
  background-size: cover;
  left: 0;
  right: 0;
  top: 0;
  height: 100vh;
  z-index: -1;
}

@media (min-width: 1024px) {
  body::before {
    background-attachment: fixed;
  }
}

a {
  color: #0099b8;
}

a:hover {
  color: #00b8d4;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway", sans-serif;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  transition: ease-in-out 0.3s;
  position: fixed; /* Mantiene l'header bloccato in alto anche durante lo scroll */
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  z-index: 997;
  overflow: hidden; /* Disabilita lo scroll del mouse all'interno dell'header */
}
#header * {
  transition: ease-in-out 0.3s;
}

#header h1 {
  font-size: 48px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
}

#header h1 a, #header h1 a:hover {
  color: #fff;
  line-height: 1;
  display: inline-block;
}

#header h2 {
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 30px;
  color: #011f51;
  text-align: center;
}

#header h2 span {
  color: #0099b8;
  border-bottom: 2px solid #0099b8;
  padding-bottom: 6px;
}

#header img {
  padding: 0;
  margin: 0;
}

#header .social-links {
  margin-top: 40px;
  display: flex;
}

#header .social-links a {
  font-size: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  color: #011f51;
  line-height: 1;
  margin-right: 15px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

#header .social-links a:hover {
  background: #0099b8;
}

@media (min-width: 992px) {
  #header h1 {
    font-size: 36px;
    text-align: center;
  }

  /* Centra il logo (immagine) e azzera il margine destro */
  #header .mr-auto {
    margin-right: 0 !important;
    display: block;
    text-align: center;
  }

  #header img {
    margin: 0 auto;
    display: block;
  }

  /* Centra lo slogan */
  #header h2 {
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  /* Centra tutti gli elementi del container */
  #header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 992px) {
  #header h1 {
    font-size: 36px;
    text-align: center;
  }

  /* Centra lo slogan */
  #header h2 {
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  /* Centra i link dei Social Network */
  #header .social-links {
    margin-top: 15px;
    justify-content: center;
    width: 100%;
  }

  /* Centra tutti gli elementi del container */
  #header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
.nav-menu {
  margin-top: 35px;
}

.nav-menu ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu li + li {
  margin-left: 30px;
}

.nav-menu a {
  display: block;
  position: relative;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  
  font-weight: 400;
  color: #0099b8;
}

.nav-menu a:before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #0099b8;
  visibility: hidden;
  transition: all 0.3s ease-in-out 0s;
}

.nav-menu a:hover:before, .nav-menu li:hover > a:before, .nav-menu .active > a:before {
  visibility: visible;
  width: 25px;
}

.nav-menu a:hover, .nav-menu .active > a, .nav-menu li:hover > a {
  color: #011f51 ;
  text-decoration: none;
}

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 9998;
  border: 0;
  background: none;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  line-height: 1;
  cursor: pointer;
  text-align: right;
}

.mobile-nav-toggle i {
  color: #011f51;
}

.mobile-nav-toggle i:hover {
  color: #0099b8;
}

/* Disattiva lo sfondo grigio scuro a schermo intero */
.mobile-nav-overly {
  display: none !important;
}

/* Contenitore Menu Mobile */
body .mobile-nav {
  position: fixed !important;
  top: 65px !important;
  left: 15px !important;
  right: 15px !important;
  bottom: auto !important;
  width: calc(100% - 30px) !important;
  height: auto !important;
  max-height: 80vh !important;
  z-index: 9999 !important;
  overflow-y: auto;
  
  /* Sfondo bianco 95% opaco (uguale all'header top) */
  background: rgba(255, 255, 255, 0.95) !important;
  
  transition: ease-in-out 0.2s;
  opacity: 0;
  visibility: hidden;
  border-radius: 8px;
  padding: 10px 0;
  border: 1px solid rgba(0, 153, 184, 0.3) !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1) !important;
}

.mobile-nav * {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Voci di menu */
body .mobile-nav a {
  display: block !important;
  position: relative;
  color: #011f51 !important;        /* Scritta #011f51 */
  padding: 10px 20px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important; /* TUTTO MAIUSCOLO */
  outline: none;
}

/* Hover e Voce attiva */
body .mobile-nav a:hover, 
body .mobile-nav .active > a, 
body .mobile-nav li:hover > a {
  color: #0099b8 !important;        /* Al passaggio diventa #0099b8 */
  text-decoration: none;
}

.mobile-nav-active {
  overflow: hidden;
}

/* Apertura menu */
.mobile-nav-active .mobile-nav {
  opacity: 1 !important;
  visibility: visible !important;
}

.mobile-nav-active .mobile-nav-toggle i {
  color: #0099b8;
}
/* Header Top */
#header.header-top {
  height: 80px;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95); /* Fondo bianco con 85% di opacità */
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1); /* Leggera ombra per staccare dallo sfondo */
}

/* Ridimensionamento logo */
#header.header-top img {
  max-height: 110px;
  width: auto;
}

#header.header-top .social-links, 
#header.header-top h2 {
  display: none;
}

#header.header-top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row !important;
  background: transparent; /* Mantiene trasparente il container dentro l'header */
}

#header.header-top .nav-menu {
  margin: 0;
}

@media (max-width: 768px) {
  #header.header-top {
    height: 60px;
  }
  
  #header.header-top img {
    max-height: 90px;
  }
}
/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  overflow: hidden;
  position: absolute;
  width: 100%;
  top: 140px;
  bottom: 100%;
  opacity: 0;
  transition: ease-in-out 0.4s;
  z-index: 2;
}

section.section-show {
  top: 100px;
  bottom: auto;
  opacity: 1;
  padding-bottom: 45px;
}

section .container {
  /* Sfondo bianco al 30% di opacità (puoi regolare 0.3 a tuo piacimento, ad es. 0.2 o 0.5) */
  background: rgba(255, 255, 255, 0.5); 
  padding: 30px;
  border-radius: 10px; /* Opzionale: arrotonda leggermente i bordi del box */
 
}

@media (max-width: 768px) {
  section {
    top: 120px;
  }
  section.section-show {
    top: 80px;
  }
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0 0 20px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0099b8;
  font-family: "Poppins", sans-serif;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: #0099b8;
  margin: 4px 10px;
}

.section-title p {
  margin: -15px 0 15px 0;
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: #011f51;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about-me .content h3 {
  font-weight: 700;
  font-size: 26px;
  color: #0099b8;
}

.about-me .content ul {
  list-style: none;
  padding: 0;
}

.about-me .content ul li {
  padding-bottom: 10px;
}

.about-me .content ul i {
  font-size: 20px;
  padding-right: 2px;
  color: #0099b8;
}

.about-me .content p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts {
  padding: 70px 0 60px;
}

.counts .count-box {
  padding: 30px 30px 25px 30px;
  width: 100%;
  position: relative;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
}

.counts .count-box i {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px;
  color: #0099b8;
  border-radius: 50px;
}

.counts .count-box span {
  font-size: 36px;
  display: block;
  font-weight: 600;
  color: #011f51;
}

.counts .count-box p {
  padding: 0;
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Skills
--------------------------------------------------------------*/
.skills .progress {
  height: 50px;
  display: block;
  background: none;
}

.skills .progress .skill {
  padding: 10px 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  color: #011f51
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: rgba(255, 255, 255, 0.15);
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: .9s;
  background-color: #0099b8;
}

/*--------------------------------------------------------------
# Interests
--------------------------------------------------------------*/
.interests .icon-box {
  display: flex;
  align-items: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  transition: ease-in-out 0.3s;
}

.interests .icon-box i {
  font-size: 32px;
  padding-right: 10px;
  line-height: 1;
}

.interests .icon-box h3 {
  font-weight: 700;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-size: 16px;
  color: #011f51;
}

.interests .icon-box:hover {
  background: rgba(255, 255, 255, 0.12);
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials .testimonial-item {
  box-sizing: content-box;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 180px;
  border-radius: 100%;
  margin: -40px 0 0 40px;
  position: relative;
  z-index: 2;
  border: 6px solid rgba(255, 255, 255, 0.12);
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 45px;
  color: #011f51;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0 0 0 45px;
}

.testimonials .testimonial-item .quote-icon-left, .testimonials .testimonial-item .quote-icon-right {
  color: rgba(255, 255, 255, 0.25);
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px;
  padding: 20px 20px 60px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  position: relative;
  z-index: 1;
}

.testimonials .owl-nav, .testimonials .owl-dots {
  margin-top: 5px;
  text-align: center;
}

.testimonials .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #011f51 !important; /* Oppure rgba(1, 31, 81, 0.4) se li preferisci semi-trasparenti */
}

/* Pallino attivo (colore principale azzurro) */
.testimonials .owl-dot.active {
  background-color: #0099b8 !important;
}

@media (max-width: 767px) {
  .testimonials {
    margin: 30px 10px;
  }
}

/*--------------------------------------------------------------
# Resume
--------------------------------------------------------------*/
.resume .resume-title {
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #011f51;
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.resume .resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: #0099b8;
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 16px;
  background: rgba(255, 255, 255, 0.15);
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
}

.resume .resume-item ul {
  padding-left: 20px;
}

.resume .resume-item ul li {
  padding-bottom: 10px;
}

.resume .resume-item:last-child {
  padding-bottom: 0;
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: #0099b8;
  border: 2px solid #0099b8;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  text-align: center;
  background: rgba(204, 204, 204, 0.1);
  padding: 80px 20px;
  transition: all ease-in-out 0.3s;
}

.services .icon-box .icon {
  margin: 0 auto 20px auto;
  width: 64px;
  height: 64px;
  background: #0099b8;
  border-radius: 5px;
  transition: all .3s ease-out 0s;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.services .icon-box .icon i {
  color: #fff;
  font-size: 28px;
}

.services .icon-box .icon::before {
  position: absolute;
  content: '';
  left: -8px;
  top: -8px;
  height: 100%;
  width: 100%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  transition: all .3s ease-out 0s;
  transform: translateZ(-1px);
}

.services .icon-box h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 24px;
}

.services .icon-box h4 a {
  color: #011f51;
}

.services .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .icon-box:hover {
  background: #0099b8;
  border-color: #0099b8;
}

.services .icon-box:hover .icon {
  background: #fff;
}

.services .icon-box:hover .icon i {
  color: #0099b8;
}

.services .icon-box:hover .icon::before {
  background: #00b8d4;
}

.services .icon-box:hover h4 a, .services .icon-box:hover p {
  color: #fff;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .portfolio-item {
  margin-bottom: 30px;
}

/* Filtri (All, App, Card, Web) */
.portfolio #portfolio-flters {
  margin: 0 auto 15px auto;
  list-style: none;
  text-align: center;
  border-radius: 50px;
  padding: 2px 15px;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 16px 10px 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #011f51; /* Testo dei bottoni filtro */
  background: rgba(255, 255, 255, 0.6);
  margin: 0 3px 10px 3px;
  transition: all 0.3s ease-in-out;
  border-radius: 4px;
}

.portfolio #portfolio-flters li:hover, 
.portfolio #portfolio-flters li.filter-active {
  background: #0099b8;
  color: #ffffff;
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

/* Contenitore elemento del Portfolio */
.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: rgba(1, 31, 81, 0.6);
}

/* Sfondo dell'overlay (Sfondo scuro con opacità al passaggio) */
.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(1, 31, 81, 0.85); /* Sfondo #011f51 in semitrasparenza */
  position: absolute;
  left: 30px;
  right: 30px;
  top: 30px;
  bottom: 30px;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio .portfolio-wrap .portfolio-info {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Cornici angolari dell'overlay (Colore #0099b8) */
.portfolio .portfolio-wrap .portfolio-info::before {
  display: block;
  content: "";
  width: 48px;
  height: 48px;
  position: absolute;
  top: 35px;
  left: 35px;
  border-top: 3px solid #0099b8;
  border-left: 3px solid #0099b8;
  transition: all 0.5s ease 0s;
  z-index: 9994;
}

.portfolio .portfolio-wrap .portfolio-info::after {
  display: block;
  content: "";
  width: 48px;
  height: 48px;
  position: absolute;
  bottom: 35px;
  right: 35px;
  border-bottom: 3px solid #0099b8;
  border-right: 3px solid #0099b8;
  transition: all 0.5s ease 0s;
  z-index: 9994;
}

/* Testi dell'overlay (Titoli e sottotitoli) */
.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: #0099b8; /* Azzurro #0099b8 per il titolo */
  font-weight: 700;
}

.portfolio .portfolio-wrap .portfolio-info p {
  color: #ffffff; /* Bianco per la categoria/sottotitolo */
  font-size: 14px;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
}

/* Link ed Icone (+ e Link) */
.portfolio .portfolio-wrap .portfolio-links {
  text-align: center;
  z-index: 4;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: #0099b8; /* Icone di colore #0099b8 alla visione */
  margin: 0 2px;
  font-size: 28px;
  display: inline-block;
  transition: 0.3s;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  color: #ffffff; /* Icone diventano bianche al passaggio (hover) */
}

/* Effetto Hover (al passaggio del mouse sulla card) */
.portfolio .portfolio-wrap:hover::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info::before {
  top: 15px;
  left: 15px;
}

.portfolio .portfolio-wrap:hover .portfolio-info::after {
  bottom: 15px;
  right: 15px;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  color: #444444;
  padding: 20px;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
}

.contact .info-box i.bx {
  font-size: 24px;
  color: #0099b8;
  border-radius: 50%;
  padding: 14px;
  float: left;
  background: rgba(255, 255, 255, 0.1);
}

.contact .info-box h3 {
  font-size: 20px;
    color: #0099b8;
  font-weight: 700;
  margin: 10px 0 8px 68px;
}

.contact .info-box p {
  padding: 0;
  color: #011f51;
  line-height: 24px;
  font-size: 14px;
  margin: 0 0 0 68px;
}

.contact .info-box .social-links {
  margin: 5px 0 0 68px;
  display: flex;
}

.contact .info-box .social-links a {
  font-size: 18px;
  display: inline-block;
  color: #011f51;
  line-height: 1;
  margin-right: 12px;
  transition: 0.3s;
}

.contact .info-box .social-links a:hover {
  color: #0099b8;
}

.contact .php-email-form {
  padding: 30px;
  background: rgba(255, 255, 255, 0.08);
}

.contact .php-email-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.contact .php-email-form .error-message {
  display: none;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br + br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  background: #0099b8;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  
}

.contact .php-email-form .loading {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #0099b8;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

/* Campi del form di contatto con bordo #0099b8 e sfondo leggibile */
.contact .php-email-form input, 
.contact .php-email-form textarea {
  border-radius: 4px; /* opzionale: arrotonda leggermente i bordi */
  box-shadow: none;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.9); /* Sfondo chiaro per far risaltare il testo */
  border: 1px solid #0099b8;            /* Bordo sottile colore #0099b8 */
  transition: 0.3s;
  color: #011f51;                       /* Colore del testo digitato */
}

/* Stato al focus (quando si clicca sul campo per scrivere) */
.contact .php-email-form input:focus, 
.contact .php-email-form textarea:focus {
  background-color: #ffffff;
  border-color: #0099b8;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 153, 184, 0.5); /* Effetto bagliore al focus */
}

/* Colore dei segnaposto (placeholder) più scuro e visibile */
.contact .php-email-form input::placeholder, 
.contact .php-email-form textarea::placeholder {
  color: #666666;
  opacity: 1;
}

.contact .php-email-form input:focus, .contact .php-email-form textarea:focus {
  background-color: rgba(255, 255, 255, 0.11);
}

.contact .php-email-form input::-webkit-input-placeholder, .contact .php-email-form textarea::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.3);
  opacity: 1;
}

.contact .php-email-form input::-moz-placeholder, .contact .php-email-form textarea::-moz-placeholder {
  color: rgba(255, 255, 255, 0.3);
  opacity: 1;
}

.contact .php-email-form input:-ms-input-placeholder, .contact .php-email-form textarea:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.3);
  opacity: 1;
}

.contact .php-email-form input::placeholder, .contact .php-email-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
  opacity: 1;
}

.contact .php-email-form input {
  padding: 20px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type="submit"] {
  background: #011f51;
  border: 0;
  padding: 10px 30px;
  color: #FFFF;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type="submit"]:hover {
  background: #00829d;
}
.coloremail{
  color: #011f51;
}
@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
  background: rgba(0, 0, 0, 0.8);
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  overflow-y: auto;
}

.portfolio-details .container {
  padding-top: 20px;
  padding-bottom: 40px;
}

.portfolio-details .portfolio-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-details-carousel .owl-nav, .portfolio-details .portfolio-details-carousel .owl-dots {
  margin-top: 5px;
  text-align: center;
}

.portfolio-details .portfolio-details-carousel .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3) !important;
}

.portfolio-details .portfolio-details-carousel .owl-dot.active {
  background-color: #0099b8 !important;
}

.portfolio-details .portfolio-info {
  padding-top: 45px;
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li + li {
  margin-top: 10px;
}

.portfolio-details .portfolio-info p {
  font-size: 15px;
  padding: 15px 0 0 0;
}

@media (max-width: 992px) {
  .portfolio-details .portfolio-info {
    padding-top: 20px;
  }
}

/*--------------------------------------------------------------
# Credits
--------------------------------------------------------------*/
.credits {
  position: fixed;
  right: 0;
  left: 0;
  bottom: 0;
  padding: 15px;
  text-align: right;
  font-size: 13px;
  color: #fff;
  z-index: 1;
}

@media (max-width: 992px) {
  .credits {
    text-align: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.8);
  }
}

.credits a {
  color: #0099b8;
  transition: 0.3s;
}

.credits a:hover {
  color: #fff;
}
.giustificato {
  text-align: justify;
}

.nav-menu .fi {
  margin-right: 5px;
  font-size: 1.1rem;
  vertical-align: middle;
}

body .mobile-nav .drop-down {
  display: none !important;
}

/* Stile per le bandierine esterne trasversali nella modalità mobile */
.mobile-lang-switcher {
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.mobile-lang-switcher a {
  display: inline-flex;
  align-items: center;
  font-size: 18px;
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.3s ease, transform 0.2s ease;
}

.mobile-lang-switcher a.active,
.mobile-lang-switcher a:hover {
  opacity: 1;
  transform: scale(1.15);
}