.img-responsive {
  width: 100%;
  /* Se adapta al contenedor */
  max-width: 800px;
  /* Tamaño máximo en desktop */
  height: auto;
  /* Mantiene proporción */
}

/* ==================== FRASE INSPIRADORA ==================== */
.inspirational-quote {
  padding: 6rem 10%;
  background: linear-gradient(135deg, #1b4332, #0b3524) !important;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.inspirational-quote::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" opacity="0.05"><path fill="white" d="M0,50 Q250,0 500,50 T1000,50 V100 H0 Z"/></svg>')
    center/cover;
}

.quote-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.quote-icon {
  font-size: 4rem;
  color: var(--accent);
  margin-bottom: 2rem;
  opacity: 0.8;
}

.quote-text {
  font-size: 1.8rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-weight: 300;
  color: #fff;
}

.quote-author {
  font-size: 1.1rem;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .img-responsive {
    max-width: 500px;
    /* Tablet */
  }
}

@media (max-width: 480px) {
  .img-responsive {
    max-width: 300px;
    /* Móvil */
  }
}

/* ==================== CERTIFICACIONES SECTION ==================== */
.certificaciones-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #0c0c0f 0%, #1a1a1f 100%);
  position: relative;
  overflow: hidden;
}

.certificaciones-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(241, 105, 34, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(9, 109, 23, 0.1) 0%,
      transparent 50%
    );
}

.certificaciones-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.certificaciones-header h2 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff9ee;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #fff9ee, #ffb600);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.certificaciones-header .btn-certificaciones {
  background: linear-gradient(135deg, #f16922, #ff8a42);
  border: none;
  color: #fff9ee;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}

.certificaciones-header .btn-certificaciones::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.7s ease;
}

.certificaciones-header .btn-certificaciones:hover::before {
  left: 100%;
}

.certificaciones-header .btn-certificaciones:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 20px 40px rgba(241, 105, 34, 0.3);
}

.certificaciones-header .btn-certificaciones-verde {
  background: linear-gradient(135deg, #096d17, #2a4e2f);
  border: none;
  color: #fff9ee;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}

.certificaciones-header .btn-certificaciones-verde::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.7s ease;
}

.certificaciones-header .btn-certificaciones-verde:hover::before {
  left: 100%;
}

.certificaciones-header .btn-certificaciones-verde:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 20px 40px rgba(93, 241, 34, 0.3);
}

/* ==================== CERTIFICACIONES GRID ==================== */
.certificaciones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.certificacion-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 40px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.certificacion-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.certificacion-card:hover {
  transform: translateY(-10px) scale(1.02);
  background: rgba(255, 255, 255, 0.08);
  border-color: #f16922;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(241, 105, 34, 0.1);
}

.certificacion-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f16922, #ffb600);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.certificacion-card:hover::before {
  opacity: 1;
}

/* ==================== CARD CONTENT ==================== */
.certificacion-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.certificacion-logo {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.certificacion-card:hover .certificacion-logo {
  background: rgba(241, 105, 34, 0.1);
  border-color: rgba(241, 105, 34, 0.3);
  transform: scale(1.1) rotate(5deg);
}

.certificacion-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.certificacion-info h3 {
  color: #fff9ee;
  font-size: 1.5rem;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.certificacion-info h3::before {
  content: "✓";
  color: #096d17;
  font-weight: bold;
}

.certificacion-info em {
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  font-size: 0.9rem;
  display: block;
}

/* ==================== CARD BODY ==================== */
.certificacion-body {
  margin-top: 20px;
}

.certificacion-body p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 0;
  font-size: 1rem;
}

.certificacion-body p::before {
  content: "🏅";
  margin-right: 8px;
}

/* ==================== CARD BADGE ==================== */
.certificacion-badge {
  position: absolute;
  top: 25px;
  right: 25px;
  background: linear-gradient(135deg, #096d17, #0c8f1e);
  color: #fff9ee;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(9, 109, 23, 0.3);
  animation: badgePulse 3s infinite;
}

@keyframes badgePulse {
  0% {
    box-shadow: 0 4px 15px rgba(9, 109, 23, 0.3);
  }

  50% {
    box-shadow: 0 4px 25px rgba(9, 109, 23, 0.5);
  }

  100% {
    box-shadow: 0 4px 15px rgba(9, 109, 23, 0.3);
  }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .certificaciones-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .certificaciones-header h2 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .certificaciones-section {
    padding: 80px 0;
  }

  .certificaciones-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .certificaciones-header h2 {
    font-size: 2.2rem;
  }

  .certificacion-card {
    padding: 30px;
  }

  .certificacion-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .certificacion-info h3 {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .certificaciones-header h2 {
    font-size: 1.8rem;
  }

  .certificacion-card {
    padding: 25px;
  }

  .certificacion-logo {
    width: 70px;
    height: 70px;
  }
}

/************* BOTÓN DE BOONA*************/
.boona {
  position: fixed;
  top: auto;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background: linear-gradient(90deg, #fff9ee, #fffefc);
  color: black;
  text-decoration: none;
  font-weight: 700;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  letter-spacing: 1px;
  transition: 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 0.5rem; /* Espacio entre flecha y texto */
  padding: 0.8rem 2rem 0.8rem 1.5rem; /* Ajusta padding izquierdo */
}

.boona2 {
  position: fixed;
  top: auto;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
  background: linear-gradient(90deg, #25d366, #128c7e); /* Verde de WhatsApp */
  color: white; /* Texto blanco para contraste */
  text-decoration: none;
  font-weight: 700;
  padding: 0.8rem 1.8rem 0.8rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

/* Efecto hover */
.boona2:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
  background: linear-gradient(90deg, #22c55e, #0e7c6a);
}

/* Efecto activo */
.boona2:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.2);
}
