/* Stili per la pagina Chi Siamo */

/* Hero Banner */
.page-banner {
  position: relative;
  background: url('../../images/about/hero-banner.jpg') no-repeat center center;
  background-size: cover;
  height: 500px;
  display: flex;
  align-items: center;
  margin-bottom: 80px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-bottom: 5px solid #2196f3;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 1;
}

.page-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  z-index: 1;
}

.page-banner-overlay {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.page-banner-content {
  text-align: left;
  position: relative;
  z-index: 3;
  padding: 0 20px;
}

.page-banner h1, .section-title, h1, h2, h3 {
  font-family: 'SF Pro Display', 'Helvetica Neue', 'Helvetica', sans-serif !important;
}

.page-banner h1 {
  color: #fff;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease-out;
  position: relative;
}

.page-banner h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background-color: #2196f3;
  border-radius: 2px;
}

.page-banner p {
  color: #fff;
  font-size: 1.4rem;
  max-width: 650px;
  line-height: 1.6;
  margin-bottom: 30px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.page-banner-features {
  display: flex;
  margin-top: 30px;
  animation: fadeInUp 1.4s ease-out;
}

.banner-feature {
  display: flex;
  align-items: center;
  margin-right: 30px;
  color: #fff;
}

.banner-feature i {
  font-size: 1.2rem;
  margin-right: 10px;
  color: #2196f3;
  background-color: rgba(255, 255, 255, 0.9);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.banner-feature span {
  font-weight: 500;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* Sezione La Nostra Storia */
.about-story {
  padding: 80px 0;
  background-color: #fff;
}

.section-title {
  font-size: 2.5rem;
  color: #333;
  text-align: center;
  margin-bottom: 15px;
  font-weight: 600;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #2196f3;
  margin: 15px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #666;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: a.6;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.timeline {
  position: relative;
  padding-left: 30px;
  margin-bottom: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: #f0f0f0;
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding: 0 0 40px 30px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-year {
  position: absolute;
  left: -15px;
  top: 0;
  width: 30px;
  height: 30px;
  background-color: #2196f3;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.8rem;
  box-shadow: 0 3px 10px rgba(33, 150, 243, 0.3);
  z-index: 1;
}

.timeline-content {
  background-color: #f9f9f9;
  padding: 20px 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-left: 3px solid #2196f3;
}

.timeline-content h3 {
  color: #2196f3;
  margin: 0 0 10px;
  font-size: 1.3rem;
  font-weight: 600;
}

.timeline-content p {
  margin: 0;
  color: #666;
  line-height: 1.6;
}

.about-philosophy {
  background-color: #f9f9f9;
  padding: 25px 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-top: 40px;
  position: relative;
  border-left: 3px solid #2196f3;
}

.about-philosophy h3 {
  color: #333;
  margin: 0 0 15px;
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.about-philosophy h3 i {
  color: #2196f3;
  margin-right: 10px;
  font-size: 1.2rem;
}

.about-philosophy p {
  font-style: italic;
  color: #666;
  line-height: 1.7;
  font-size: 1.1rem;
}

.about-image {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

.stat-item {
  background-color: #fff;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  flex: 1;
  min-width: 120px;
  text-align: center;
  transition: all 0.3s ease;
  border-bottom: 3px solid #2196f3;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2196f3;
  display: block;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
}

/* Sezione I Nostri Valori */
.about-values {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f9ff 0%, #f9f9f9 100%);
  position: relative;
  overflow: hidden;
}

.about-values::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background-color: rgba(33, 150, 243, 0.05);
  border-radius: 50%;
  z-index: 1;
}

.about-values::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background-color: rgba(33, 150, 243, 0.05);
  border-radius: 50%;
  z-index: 1;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 2;
}

.value-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  border-bottom: 4px solid transparent;
}

.value-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-bottom: 4px solid #2196f3;
}

.value-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(33, 150, 243, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.value-item:hover .value-icon {
  background-color: #2196f3;
}

.value-icon i {
  font-size: 30px;
  color: #2196f3;
  transition: all 0.3s ease;
}

.value-item:hover .value-icon i {
  color: #fff;
}

.value-item h3 {
  font-size: 1.4rem;
  color: #333;
  margin: 0 0 15px;
  font-weight: 600;
}

.value-item p {
  color: #666;
  line-height: 1.7;
  margin: 0;
}

.value-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(33, 150, 243, 0.1);
  line-height: 1;
}

/* Sezione Qualità del Servizio */
.about-service-quality {
  padding: 80px 0;
  background-color: #fff;
}

.service-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.pillar-item {
  background-color: #fff;
  padding: 35px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border-bottom: 4px solid transparent;
}

.pillar-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-bottom: 4px solid #2196f3;
}

.pillar-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(33, 150, 243, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

.pillar-item:hover .pillar-icon {
  background-color: #2196f3;
}

.pillar-icon i {
  font-size: 30px;
  color: #2196f3;
  transition: all 0.3s ease;
}

.pillar-item:hover .pillar-icon i {
  color: #fff;
}

.pillar-item h3 {
  font-size: 1.4rem;
  color: #333;
  margin: 0 0 15px;
  font-weight: 600;
}

.pillar-item p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
}

.pillar-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pillar-features li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  color: #666;
}

.pillar-features li:last-child {
  margin-bottom: 0;
}

.pillar-features li i {
  color: #2196f3;
  margin-right: 10px;
  font-size: 0.9rem;
}

.service-certification {
  background: linear-gradient(135deg, #f5f9ff 0%, #f9f9f9 100%);
  border-radius: 15px;
  padding: 50px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.certification-content {
  flex: 1;
  min-width: 300px;
}

.certification-content h3 {
  font-size: 1.8rem;
  color: #333;
  margin: 0 0 20px;
  font-weight: 600;
}

.certification-content p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 30px;
}

.btn-primary {
  display: inline-block;
  background-color: #2196f3;
  color: white;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(33, 150, 243, 0.4);
}

.btn-primary:hover {
  background-color: #1976d2;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(33, 150, 243, 0.5);
}

.certification-badges {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
  min-width: 300px;
}

.badge-item {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  color: #2196f3;
}

.badge-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.badge-item i {
  font-size: 48px;
}

/* Sezione Certificazioni e Partnership */
.certifications {
  padding: 80px 0;
  background: linear-gradient(135deg, #f9f9f9 0%, #f5f9ff 100%);
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.certification-item {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border-bottom: 4px solid transparent;
}

.certification-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-bottom: 4px solid #2196f3;
}

.certification-image {
  height: 150px;
  background-color: #f5f9ff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.certification-image img {
  max-width: 70%;
  max-height: 70%;
  transition: all 0.3s ease;
}

.certification-item:hover .certification-image img {
  transform: scale(1.1);
}

.certification-content {
  padding: 25px;
}

.certification-content h3 {
  font-size: 1.3rem;
  color: #333;
  margin: 0 0 10px;
  font-weight: 600;
}

.certification-content p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
}

.certification-stats {
  display: flex;
  gap: 15px;
}

.stat-box {
  flex: 1;
  background-color: #f9f9f9;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  border-bottom: 2px solid #2196f3;
}

.stat-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2196f3;
  display: block;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.8rem;
  color: #666;
}

/* Testimonianze */
.testimonials {
  padding: 80px 0;
  background-color: #fff;
}

/* Stili per dispositivi mobili */
@media (max-width: 992px) {
  .page-banner {
    height: 450px;
  }
  
  .page-banner h1 {
    font-size: 3rem;
  }
  
  .page-banner p {
    font-size: 1.2rem;
  }
  
  .page-banner-features {
    flex-wrap: wrap;
  }
  
  .banner-feature {
    margin-bottom: 15px;
  }
  
  .service-certification {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .page-banner {
    height: 400px;
  }
  
  .page-banner h1 {
    font-size: 2.5rem;
  }
  
  .page-banner p {
    font-size: 1.1rem;
  }
  
  .about-content,
  .service-certification {
    flex-direction: column;
  }
  
  .certification-badges {
    margin-top: 30px;
  }
  
  .values-grid,
  .service-pillars,
  .certifications-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .page-banner {
    height: 350px;
  }
  
  .page-banner h1 {
    font-size: 2rem;
  }
  
  .page-banner p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}
