/* Asegúrate de apuntar a la lista de países dentro del menú móvil */

@media (max-width: 991px) {
  .uk-mobile-menu .mobile-country-list {
    display: none !important;
    max-height: 0 !important;
    overflow: hidden !important;
  }
}

/* Cuando el botón tenga .open, mostramos la caja blanca con scroll */

@media (max-width: 991px) {
  .uk-mobile-menu .mobile-country.open + .mobile-country-list {
    display: block !important;
    max-height: 260px !important;
    overflow-y: auto !important;
    background: #fff !important;
    border-radius: 22px !important;
    padding: 8px 0 !important;
  }
}

/* Opcional: estiliza un poco los botones */

@media (max-width: 991px) {
  .uk-mobile-menu .mobile-country-list button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    color: #222;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
  }
}

@media (max-width: 991px) {
  .uk-mobile-menu .mobile-country-list button:hover {
    background: #f5f5f5;
  }
}

.btn-plan-estudio {
  background: linear-gradient(135deg, #FFB74D 0%, #FFA726 100%);
  color: #323232;
  border: none;
  padding: 20px 40px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  font-family: 'Arial', sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  width: 100%;
  max-width: 500px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 183, 77, 0.3);
  margin: 10px auto;
  display: block;
}

.btn-plan-estudio:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(255, 183, 77, 0.4);
  background: linear-gradient(135deg, #FFA726 0%, #FF9800 100%);
}

.pdf-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  animation: fadeIn 0.3s ease;
}

.pdf-modal-content {
  background-color: #fff;
  margin: 2% auto;
  padding: 20px;
  border-radius: 15px;
  width: 90%;
  height: 90%;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  animation: slideIn 0.3s ease;
}

.pdf-close {
  color: #aaa;
  float: right;
  font-size: 35px;
  font-weight: bold;
  position: absolute;
  right: 15px;
  top: 10px;
  cursor: pointer;
  transition: color 0.3s;
}

.pdf-close:hover {
  color: #1A237E;
}

.pdf-iframe {
  width: 100%;
  height: calc(100% - 60px);
  border: none;
  border-radius: 10px;
  margin-top: 10px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive para móvil */

@media (max-width: 768px) {
  .pdf-modal-content {
    width: 95%;
    height: 95%;
    margin: 2.5% auto;
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .btn-plan-estudio {
    font-size: 14px;
    padding: 15px 30px;
  }
}

@media (max-width: 768px) {
  .pdf-iframe {
    height: calc(100% - 50px);
  }
}

@media (max-width: 480px) {
  .pdf-modal-content {
    width: 98%;
    height: 98%;
    margin: 1% auto;
    padding: 10px;
  }
}

