.vivere-container {
    width: 100%;
    /*max-width: 1200px;*/
    /*margin: 0 auto;*/
}
.vivere-container-team{
    padding: 1rem 120px;
}

 .vivere-section-about{
     padding:4rem 120px;
 }
.vivere-header h2 {
    font-family: "Faustina", serif;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.vivere-header .tagline {
    font-size: 1.2rem;
    font-weight: 500;
    color: #333;
}

.vivere-header .highlight {
    color: var(--primary-red);
    font-weight: 600;
}

.vivere-intro {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
}

.vivere-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.vivere-card {
    position: relative;
    /*background: #fff;*/
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; 
}

.about-grid .vivere-card:nth-child(1) {
    grid-column: span 2;
    background-size: cover;
    background-position: center;
}

.about-grid .vivere-card, .bio-about-grid .vivere-card {
    /*border: 1px solid #e2e2e2;*/
}
.about-grid .vivere-card img {
    position: absolute;
    top: 50px;
    right: 00px;
    width: 300px;
    opacity: 0.2;
    z-index: 0;
}

.about-grid .vivere-card:nth-child(1) img {
    top: 0;
    right: 0;
}

.about-grid .vivere-card:nth-child(2) img {
    top: 40px;
    right: -30px;
    width: 200px;
}

.about-grid .vivere-card:nth-child(3) img {
    top: 100px;
    right: -30px;
}

.about-grid .vivere-card:nth-child(4) img {
    top: 200px;
    right: -30px;
}

.about-grid .vivere-card * :not(img) {
    position: relative;
    z-index: 1;
}

.about-grid .vivere-card:nth-child(4){
    grid-column-start: 3;
    grid-row-start: 1;
    grid-row-end: 3;
}

.vivere-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.vivere-card h3 {
    font-size: 1.25rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.vivere-card p {
    font-size: 1rem;
    color: #000000;
    line-height: 1.6;
}

.biophore-section {
    padding: 1rem 120px;
    background: #ffffff; 
}

.biophore-section .vivere-header h2 {
    color: var(--primary-red);
}

 .bio-about-grid .vivere-card img {
    position: absolute;
    top: 50px;
    right: 00px;
    width: 300px;
    opacity: 0.2;
    z-index: 0;
}
.bio-about-grid .vivere-card:nth-child(1) img {
    top: 50px;
    right: -60px;
}

.bio-about-grid .vivere-card:nth-child(2) img {
    top: 80px;
    width: 150px;
    right: -25px;
}

.bio-about-grid .vivere-card:nth-child(3) img {
    top: 40px;
    width: 200px;
    right: -50px;
}
.bio-about-grid .vivere-card:nth-child(4) img {
    top: 115px;
    right: -15px;
    width: 150px;
}
.bio-about-grid .vivere-card:nth-child(5) img {
    top: 110px;
    right: -50px;
    width: 200px;
}

.vivere-swiper {
  padding: 2rem 0;
}

.swiper-button-next,
.swiper-button-prev {
  color: #0F5896; 
}

.vision-mission, .team {
  padding: 1rem 120px;
  background: #f9fafb;
}

.vision-mission h2, .team h2 {
  text-align: left;
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-tricolor);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 3rem;
}

.vision, .mission {
  /*background: #fff;*/
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vision:hover, .mission:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.vision h3, .mission h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.vision h3 {
  color: var(--primary-red);
}

.mission h3 {
  color: var(--primary-blue);
}

.mission ul {
  list-style: none;
  padding-left: 0;
}

.mission li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.mission li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--primary-green);
}


.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 30px 0px;
  /*background: #f8f8f8;*/
}

.team-member {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  /*background: #fff;*/
  /*border: 1px solid #ccc;*/
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.team-member img {
  width: 200px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.team-info {
  flex: 1;
}

.team-info h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 5px;
}

.team-info p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.linkedin-link img {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
}

.linkedin-link:hover img {
  transform: scale(1.1);
}

@media (max-width: 1024px) {
  .vivere-header h2 {
    font-size: 2rem;
    text-align: left;
  }

  .vivere-header .tagline {
    font-size: 1rem;
    text-align: left;
  }

  .vivere-intro {
    font-size: 1rem;
    text-align: left;
  }

  .vivere-grid {
    grid-template-columns: 1fr 1fr; 
    gap: 1.5rem;
  }

  .about-grid .vivere-card:nth-child(1) {
    grid-column: span 2; 
  }

  .about-grid .vivere-card:nth-child(4) {
    grid-column: span 2; 
    grid-row: auto;
  }
  .vivere-section-about{
      padding: 4rem 32px 2rem 32px;
  }
   .biophore-section,.vision-mission, .team,.vivere-container-team{
      padding: 2rem 32px;
  }

  .about-grid .vivere-card img {
    width: 200px; 
    top: auto;
    bottom: 20px;
    opacity: 0.15;
  }

  /*.vision-mission, .team {*/
  /*  padding: 3rem 1rem;*/
  /*}*/
}

@media  (min-width:766px){
    .team-member-image{
    width: 200px !important;
      height: 100% !important;
}
}
@media (max-width: 766px) {

  .biophore-section,.vision-mission, .team,.vivere-container-team {
    padding: 0px 32px 40px 32px;
  }
  .vivere-header h2 {
    font-size: 1.8rem;
   
  }
  .biophore-section .vivere-header h2 {
  margin-top: 0; 
}
 
  .vivere-header .tagline {
    font-size: 0.95rem;
  }

  .vivere-intro {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .vivere-grid {
    grid-template-columns: 1fr; 
    gap: 1rem;
  }

  .about-grid .vivere-card:nth-child(1),
  .about-grid .vivere-card:nth-child(4) {
    grid-column: span 1;
    grid-row: auto;
  }

  .about-grid .vivere-card img {
    display: none; 
  }

  .vivere-card {
    padding: 1.5rem;
  }

  .vivere-card h3 {
    font-size: 1.1rem;
  }

  .vivere-card p {
    font-size: 0.9rem;
  }
.team-member-image{
    width: 100% !important;
    height: 100% !important;
}

  .team-member {
    flex-direction: column;
    align-items: center;
  }



  
}
