.profile-card {
  max-width: 95% !important;   
  margin: 2rem auto;
  border-radius: 15px;
  overflow: hidden;
}

/* Ajuste del video de fondo */
.profile-card .video-bg {
  opacity: 0.3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.profile-card .card-body {
  position: relative;
  z-index: 1;
  padding: 3rem 3rem;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
}

/* Estirar texto para que aproveche más ancho */
.profile-card .col-lg-8 {
  flex: 0 0 100%;      
  max-width: 100%;     
  text-align: justify; 
}

/* Imágenes centradas con margen */
.profile-card .col-lg-4 {
  margin-bottom: 2rem;
  text-align: center;
}

.profile-card h2,
.profile-card h3,
.profile-card h4 {
  color: #f1c40f;
}

.profile-img {
  display: block;
  margin: 0 auto; 
  width: 180px;
  height: 180px;
  object-fit: cover;
  border: 4px solid var(--secondary-color);
  max-width: 100%; /* ✅ ajuste responsivo */
  height: auto;    /* ✅ ajuste responsivo */
}

.card-body.text-center h2,
.card-body.text-center p {
  text-align: center;
}

/* ======== RESPONSIVE ======== */
@media (max-width: 992px) {
  .profile-card .card-body {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .profile-card {
    max-width: 100% !important;
    margin: 1rem;
  }

  .profile-card .card-body {
    padding: 2rem 1rem;
  }

  .profile-img {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 480px) {
  .profile-card .card-body {
    padding: 1.5rem 1rem;
  }

  .profile-img {
    width: 120px;
    height: 120px;
  }

  .profile-card h2,
  .profile-card h3,
  .profile-card h4 {
    font-size: 1.2rem;
  }

  .profile-card p,
  .profile-card .lead {
    font-size: 0.9rem;
  }
}
