* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  color: #ffffff;
  font-size: 1rem;

}

@keyframes floating {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.float-animation {
  animation: floating 4s ease-in-out infinite;
}
.float-animation2 {
  animation: floating 3s ease-in-out infinite;
}
.float-animation3 {
  animation: floating 5s ease-in-out infinite;
}
.float-animation4 {
  animation: floating 3.5s ease-in-out infinite;
}

.row .card {
  transition: transform 0.3s ease-in-out, border-radius 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
  overflow: hidden;
  border-radius: 10px;
  background: #3f3f3f;
}

.card:hover {
  transition: transform 0.3s ease-in-out, box-shadow 0.5s ease-in-out;
  transform: scale(1.10);
  align-content: center;
  background: linear-gradient(to top, #00acc1 , #80deea); /* Fondo gradiente en hover */
  border-radius: 15px;
  z-index: 999;
  box-shadow: 0 0 20px #e0f7fa; /* Color brillante para el efecto de luz neon */
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  padding: 15px;
}

.card-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.card a {
  color: #3498db;
  text-decoration: none;
}

.card a:hover {
  text-decoration: underline;
}


/*______________________*/


.overlay-container {
  position: relative;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Ajusta el valor alpha para cambiar la opacidad del fondo */
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay .caption {
  z-index: 1; /* Asegura que el texto esté sobre el fondo oscuro */
}

.overlay2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.689); /* Ajusta el valor alpha para cambiar la opacidad del fondo */
  display: flex;
  align-items: center;
  justify-content: center;
}
.overlay2 .caption {
  z-index: 1; /* Asegura que el texto esté sobre el fondo oscuro */
}


.imagen_programing{
  border-radius: 30px;
  opacity: 0.9;
  position: relative;
  width: 80%;
  height: 80%;
}



/*____________________________________________________________________________________*/

/*body
{
    background: #2f6d6eea;
}*/
/*body{
    background: linear-gradient(to top, #1c2d36, #73c4d4); 
}*/

/*body {
  background: linear-gradient(to top, #241046, #3b82f6);
}*/

/*body {
  background: linear-gradient(to top, #2c2095, #1e8afe85);
}*/

/*body {
  background: radial-gradient(circle at center, #FF4500, #8B0000 90%);
}*/
/*body {
  background: radial-gradient(circle at center, #1e293b, #020617 90%);
}*/
body {
  background: radial-gradient(circle at center, #004977, #0f0f0f 90%);
}
/*____________________________________________*/

.animateme {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.bg-bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.bg-bubbles li {
  position: absolute;
  list-style: none;
  display: block;
  width: 40px;
  height: 40px;
  background-color: #3535352a;
  bottom: 60px;
  -webkit-animation: square 25s infinite;
  animation: square 25s infinite;
  -webkit-transition-timing-function: linear;
  transition-timing-function: linear;
  opacity: 0;
}

.bg-bubbles li:nth-child(1) {
  left: 3%;
  border-radius: 50em;
  background: transparent;
  border: 4px solid #353535;
}
.bg-bubbles li:nth-child(2) {
  left: 6%;
  width: 75px;
  height: 75px;
  -webkit-animation-delay: 2s;
  animation-delay: 2s;
  -webkit-animation-duration: 17s;
  animation-duration: 17s;
}
.bg-bubbles li:nth-child(3) {
  left: 15%;
  width: 175px;
  height: 175px;
  background: transparent;
  -webkit-animation-delay: 4s;
  animation-delay: 4s;
}
.bg-bubbles li:nth-child(4) {
  left: 40%;
  width: 90px;
  height: 90px;
  -webkit-animation-duration: 22s;
  animation-duration: 22s;
  background: transparent;
}
.bg-bubbles li:nth-child(5) {
  left: 70%;
  background: transparent;
  border: 4px solid #353535;
}
.bg-bubbles li:nth-child(6) {
  left: 90%;
  width: 90px;
  height: 90px;
  -webkit-animation-delay: 3s;
  animation-delay: 3s;
  border-radius: 50em;
  background: transparent;
  border: 4px solid #353535;
}
.bg-bubbles li:nth-child(7) {
  left: 22%;
  width: 60px;
  height: 60px;
  -webkit-animation-delay: 7s;
  animation-delay: 7s;
  background: transparent;
  border: 4px solid #353535;
}
.bg-bubbles li:nth-child(8) {
  left: 55%;
  width: 50px;
  height: 50px;
  -webkit-animation-delay: 15s;
  animation-delay: 15s;
  -webkit-animation-duration: 40s;
  animation-duration: 40s;
}
.bg-bubbles li:nth-child(9) {
  left: 30%;
  width: 140px;
  height: 140px;
  -webkit-animation-delay: 2s;
  animation-delay: 2s;
  -webkit-animation-duration: 40s;
  animation-duration: 40s;
  background: transparent;
  border-radius: 50em;
  background: transparent;
  border: 4px solid #353535;
  }
.bg-bubbles li:nth-child(10) {
  left: 90%;
  width: 60px;
  height: 60px;
  -webkit-animation-delay: 11s;
  animation-delay: 11s;
  background: transparent;
}
.bg-bubbles li:nth-child(11) {
  left: 10%;
  width: 40px;
  height: 40px;
  -webkit-animation-delay: 13s;
  animation-delay: 13s;
  border-radius: 50em;
  background: transparent;
}
.bg-bubbles li:nth-child(12) {
  left: 55%;
  width: 175px;
  height: 175px;
  -webkit-animation-delay: 7s;
  animation-delay: 7s;
  background: transparent;
  border: 4px solid #353535;
}

.bg-bubbles li:nth-child(13) {
  left: 70%;
  width: 100px;
  height: 100px;
  -webkit-animation-delay: 8s;
  animation-delay: 8s;
  border-radius: 50em;
  background: transparent;
}

@-webkit-keyframes square {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    -webkit-transform: translateY(-700px) rotate(600deg);
    transform: translateY(-700px) rotate(600deg);
    opacity: 0.5;
  }
}
@keyframes square {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    -webkit-transform: translateY(-700px) rotate(600deg);
    transform: translateY(-700px) rotate(600deg);
    opacity: 0;
  }
}

/*____________________________________________*/

/* Estilos para el navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

/* Estilos para los títulos */
h1,
h4 {
  margin-bottom: 10px;
}

/* Estilos para los botones de descarga y contacto */
.cursor-pointer {
  cursor: pointer;
}

.border-round-lg {
  border-radius: 10px;
}



.Minombre {
  font-size: 0.5em;
}

.habilidad {
  font-size: 0.3em;
}

@media (max-width:1024px) {
  .Minombre {
   font-size: 2.2rem; /* Ajusta el tamaño del nombre para pantallas más pequeñas */
   margin-top: 40px;
  }
  .habilidad {
  font-size: 0.13em;
}
  
}

@media (max-width:350px) {
  .Minombre {
    font-size: 1rem; /* Ajusta el tamaño del nombre para pantallas más pequeñas */
  }

  .habilidad {
    font-size: 0.05em; /* Ajusta el tamaño de la habilidad para pantallas más pequeñas */
  }
}

@media (max-width:250px) {
  #logo-container{
    display: none;
   }
  .Minombre {
    font-size: 1rem; /* Ajusta el tamaño del nombre para pantallas más pequeñas */
  }

  .habilidad {
    font-size: 0.05em; /* Ajusta el tamaño de la habilidad para pantallas más pequeñas */
  }
}

/* Estilos para tabletas */
@media (max-width: 768px) or (max-width: 992px) {
 
  #logo-container{
   width: 65%;
   margin-left: 20%;
  }
  .perfil{
    margin-top: 5%;
  }
  .imgSisPres{
    width: 25%;
    height: 200px;
  }
  .imagen_programing{
    position: relative;
    width: 100%;
    height: 100%;
  }
  
  
  .animateme {
    /*background: linear-gradient(to top, #1c2d36, #73c4d4); */
    /*background: linear-gradient(to top, #2c2095, #1e8afe85);*/
    /*background: radial-gradient(circle at center, #FF4500, #8B0000 70%);*/
    background: radial-gradient(circle at center, #004977, #0f0f0f 90%);
  }

}

.carouselExampleInterval { 
  position: absolute;
}


/*_______________monstruo_marino____________________*/

/* Estilos para el cuerpo del pulpo */
.octopus {
  position: absolute;
  animation: moveRight 10s linear infinite; /* Movimiento hacia la derecha */
  top: 50%;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-50%);
  opacity: 0; /* Comienza transparente */
}

.octopus-body {
  width: 250px;
  height: 80px;
  background: #1d1d1d;
  border-radius: 50%;
  position: relative;
}

/* Ojos del pulpo */
.eye {
  position: absolute;
  width: 12px;
  height: 12px;
  background: rgb(194, 194, 194);
  border-radius: 50%;
  top: 35px;
  left: 50px;
  z-index: 9;
}

.eye::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: black;
  border-radius: 50%;
  top: 3px;
  left: 3px;
}


/* Tentáculos del pulpo */
.tentacle {
  position: absolute;
  width: 12px;
  height: 50px;
  background: #1d1d1d;
  border-radius: 50%;
  bottom: -40px;
  transform-origin: top center;
  animation: wave 2s ease-in-out infinite;
}

.tentacle2 {
  position: absolute;
  width: 12px;
  height: 50px;
  background: #1d1d1d;
  border-radius: 50%;
  bottom: 20px;
  transform-origin: top center;
  animation: wave 2s ease-in-out infinite;
}

/* Tentáculos del pulpo */
.tentacle3 {
  position: absolute;
  width: 12px;
  height: 50px;
  background: #1d1d1d;
  border-radius: 50%;
  bottom: -20px;
  transform-origin: top center;
  animation: wave 2s ease-in-out infinite;
}

.tentacle4 {
  position: absolute;
  width: 12px;
  height: 50px;
  background: #1d1d1d;
  border-radius: 50%;
  bottom: 1px;
  transform-origin: top center;
  animation: wave 2s ease-in-out infinite;
}



/* Pantallas medianas (tablets, pantallas de entre 768px y 1024px) */
@media (max-width: 1024px) {
  .octopus-body {
    width: 200px;
    height: 55px;
  }
  .eye {
    width: 10px;
    height: 10px;
    top: 30px;
    left: 40px;
  }
  .eye::before {
    width: 5px;
    height: 5px;
    top: 2px;
    left: 2px;
  }
  .tentacle, .tentacle2, .tentacle3, .tentacle4 {
    width: 10px;
    height: 40px;
  }
  .tentacle {
    bottom: -25px;
  }
  .tentacle2 {
    bottom: 0px;
  }
  .tentacle3 {
    bottom: -10px;
  }
  .tentacle4 {
    bottom: -20px;
  }
}

/* Pantallas pequeñas (teléfonos) */
@media (max-width: 768px) {
  .form-container {
    width:100% !important;
  }
  .habilidades{
   display: none;
  }
  .octopus-body {
    width: 150px;
    height: 50px;
  }
  .eye {
    width: 8px;
    height: 8px;
    top: 25px;
    left: 30px;
  }
  .eye::before {
    width: 4px;
    height: 4px;
    top: 1.5px;
    left: 1.5px;
  }
  .tentacle, .tentacle2, .tentacle3, .tentacle4 {
    width: 8px;
  }
}




/* Posición y retraso de animación para cada tentáculo */
.tentacle-1 { left: -130px; animation-delay: 0.2s; }
.tentacle-2 { left: -110px; animation-delay: 0.4s; }
.tentacle-3 { left: -90px; animation-delay: 0.6s; }
.tentacle-4 { left: -70px; animation-delay: 0.8s; }
.tentacle-5 { left: -50px; animation-delay: 1s; }
.tentacle-6 { left: -30px; animation-delay: 1.2s; }
.tentacle-7 { left: -10px; animation-delay: 1.4s; }
.tentacle-8 { left: 10px; animation-delay: 1.6s; }
.tentacle-9 { left: 30px; animation-delay: 1.8s; }
.tentacle-10 { left: 50px; animation-delay: 2s; }
.tentacle-11 { left: 70px; animation-delay: 2.2s; }

/* Posición y retraso de animación para cada tentáculo */
.tentacle2-1 { left: -130px; animation-delay: 1.2; }
.tentacle2-2 { left: -110px; animation-delay: 1.4s; }
.tentacle2-3 { left: -90px; animation-delay: 1.6s; }
.tentacle2-4 { left: -70px; animation-delay: 1.8s; }
.tentacle2-5 { left: -50px; animation-delay: 2s; }
.tentacle2-6 { left: -30px; animation-delay: 2.2s; }
.tentacle2-7 { left: -10px; animation-delay: 2.4s; }
.tentacle2-8 { left: 10px; animation-delay: 2.6s; }
.tentacle2-9 { left: 30px; animation-delay: 2.8s; }
.tentacle2-10 { left: 50px; animation-delay: 3s; }
.tentacle2-11 { left: 70px; animation-delay: 3.2s; }

/* Posición y retraso de animación para cada tentáculo */
.tentacle3-1 { left: -90px; animation-delay: 0.2s; }
.tentacle3-2 { left: -70px; animation-delay: 0.4s; }
.tentacle3-3 { left: -50px; animation-delay: 0.6s; }
.tentacle3-4 { left: -30px; animation-delay: 0.8s; }
.tentacle3-5 { left: -10px; animation-delay: 1s; }
.tentacle3-6 { left: 10px; animation-delay: 1.2s; }
.tentacle3-7 { left: 30px; animation-delay: 1.4s; }
.tentacle3-8 { left: 50px; animation-delay: 1.6s; }

/* Posición y retraso de animación para cada tentáculo */
.tentacle4-1 { left: -70px; animation-delay: 1.2; }
.tentacle4-2 { left: -50px; animation-delay: 1.4s; }
.tentacle4-3 { left: -30px; animation-delay: 1.6s; }
.tentacle4-4 { left: -10px; animation-delay: 1.8s; }
.tentacle4-5 { left: 10px; animation-delay: 2s; }
.tentacle4-6 { left: 30px; animation-delay: 2.2s; }
.tentacle4-7 { left: 50px; animation-delay: 2.4s; }
.tentacle4-8 { left: 70px; animation-delay: 2.6s; }

/* Animación de ondulación */
@keyframes wave {
    0%, 100% {
        transform: rotate(80deg);
    }
    50% {
        transform: rotate(100deg);
    }
}

@keyframes moveRight {
  5% {
    transform: translateX(0);
    opacity: 0; /* Empieza transparente */
  }
  25% {
    opacity: 0.05; /* Empieza a aclararse */
  }
  50% {
    transform: translateX(40vw); /* Moverse hacia la derecha hasta la mitad de la pantalla */
    opacity: 0.2; /* Más visible */
  }
  100% {
    transform: translateX(100vw); /* Moverse hacia la derecha hasta el final de la pantalla */
    opacity: 0; /* Desaparece nuevamente */
  }
}

.octopus {
  animation: moveRight 30s cubic-bezier(0.53, 1, 1, 1) infinite;
}


/*_____monster____*/

.monster{
  position: absolute;
  top: 30%;
}

.monster img {
  opacity: 0; /* Ajusta la transparencia, 0 es completamente transparente y 1 es completamente opaco */
  position: relative; /* Para permitir el movimiento */
  animation: moveMonster 30s linear infinite; /* La animación se ejecuta de forma continua */
  animation-delay: 30s;
  width: 3500px;
  height: 1000px;
}

@keyframes moveMonster {
  0% {
    transform: translateX(100%); /* Comienza fuera de la pantalla por la derecha */
    opacity: 0.4;
  }
  3% {
      transform: translateX(-100%); /* Termina fuera de la pantalla por la izquierda */
      opacity: 0.6;
  }
  100% {
    transform: translateX(-100%); /* Termina fuera de la pantalla por la izquierda */
    opacity: 0;
}
}



/* Navbar Uiverse.io style */
.uiverse-navbar {
  /*background: rgba(30, 30, 30, 0.85);*/
  background: rgba(30, 30, 30, 0.614);

  backdrop-filter: blur(8px);
  border-bottom: 1px solid #222;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.12);
}

.uiverse-navbar .navbar-brand {
  letter-spacing: 2px;
  font-size: 1.3em;
  transition: color 0.2s;
}

.uiverse-navbar .navbar-brand:hover {
  color: #ffc107;
}

.uiverse-link {
  position: relative;
  color: #fff !important;
  font-weight: 500;
  margin: 0 0.5em;
  transition: color 0.2s;
  font-family: 'Acme', sans-serif;
}

.uiverse-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  /*background: linear-gradient(90deg, #008cff 0%, #67edff 100%);*/
  background: linear-gradient(90deg, #FF4500 0%, #8B0000 100%);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.uiverse-link:hover {
  color: #fdc92f !important;
}

.uiverse-link:hover::after {
  transform: scaleX(1);
}



/* From Uiverse.io by gharsh11032000 */ 
.form-container {
  width: 1400px;
  background: linear-gradient(#0f172a, #0f172a) padding-box,
  /*linear-gradient(145deg, transparent 35%,#1cffec, #40c9ff) border-box;*/
  linear-gradient(145deg, transparent 35%,#FF4500, #8B0000) border-box;
  border: 2px solid transparent;
  padding: 32px 24px;
  font-size: 14px;
  font-family: inherit;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
  border-radius: 16px;
}

.form-container button:active {
  scale: 0.95;
}

.form-container .form {
  padding: 50px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-container .form-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.form-container .form-group label {
  display: block;
  margin-bottom: 5px;
  color: #e2e2e2;
  font-weight: 600;
  font-size: 12px;
}

.form-container .form-group input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  color: #fff !important;
  font-family: inherit;
  background-color: transparent;
  border: 1px solid #414141;
}

.form-container .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  resize: none;
  color: #fff;
  height: 96px;
  border: 1px solid #414141;
  background-color: transparent;
  font-family: inherit;
}

.form-container .form-group input::placeholder {
  opacity: 0.5;
}

.form-container .form-group input:focus {
  outline: none;
  border-color: #ffa41c;
}

.form-container .form-group textarea:focus {
  outline: none;
  border-color: #ffa41c;
}

.form-container .form-submit-btn {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  align-self: flex-start;
  font-family: inherit;
  color: #717171;
  font-weight: 600;
  width: 40%;
  background: #313131;
  border: 1px solid #414141;
  padding: 12px 16px;
  font-size: inherit;
  gap: 8px;
  margin-top: 8px;
  cursor: pointer;
  border-radius: 6px;
}

.form-container .form-submit-btn:hover {
  background-color: #ff6309;
  border-color: #ffa41c;
  color: #000000;
}
/*================= Card Uiverse.io style =================*/

/* Botón 'Ver demo' mejorado */
.btn-demo {
  background: linear-gradient(90deg, #00ff40, #00c177);
  color: #001;
  padding: 6px 10px;
  border-radius: 999px;
  border: none;
  box-shadow: 0 6px 18px rgba(0,172,193,0.18);
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}
.btn-demo i { color: rgba(0,0,0,0.6); }
.btn-demo:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(1, 225, 255, 0.24); opacity: 0.98; }


/* Tarjeta con efecto flip */
.flip-card {
  perspective: 1200px;
  height: 400px;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-inner {
    transition: transform 1.2s ease;
    transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 16px;
}

.flip-front {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: end;
  padding: 20px;
}

.flip-back {
  background: #0f172a;
  color: #e5e7eb;
  transform: rotateY(180deg);
  padding: 20px;
}

.flip-front::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75),
    rgba(0,0,0,0.2)
  );
  border-radius: inherit;
}

.project-title {
  position: relative;
  z-index: 2;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 10px 16px;
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.3px;
}

.flip-card:hover .project-title {
  transform: translateY(-4px);
  transition: transform 0.3s ease;
}



.project-title i {
  color: #00e5ff;
}

@media (max-width: 768px) {
  .flip-card:hover .flip-inner {
    transform: none;
  }

  .flip-front {
    display: none;
  }

  .flip-back {
    position: relative;
    transform: none;
  }
}





/* Modal tweaks */
.modal-content.bg-dark { background: linear-gradient(180deg, #141414, #1b1b1b); }
.modal .modal-header .btn-close-white { filter: invert(1) brightness(2); }

/* ================= Portfolio carousel improvements ================= */
.portfolio-carousel { max-width: 100%; margin: 0 auto; }
.portfolio-carousel .carousel-inner {overflow: hidden; }
.portfolio-carousel .carousel-item { transition: transform .6s ease, opacity .6s ease; }
.portfolio-carousel .carousel-item img { width: 100%; height: 700px; object-fit: cover; display: block; transition: transform .8s ease; }
.portfolio-carousel .carousel-item.active img { transform: scale(1.03); }

.custom-caption {
  height: 700px;
  position: absolute;
  bottom: 0px;
  left: 0px;
  background: rgba(0,0,0,0.5);
  padding: 18px 45px;
  color: #fff;
  max-width: 35%;
  backdrop-filter: blur(6px);
  align-items: center;
}
.custom-caption h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.custom-caption p { margin-bottom: 8px; color: rgba(255,255,255,0.9); }

/* Controls style */
.carousel-control-prev, .carousel-control-next { width: 48px; height: 48px; background: rgba(0,0,0,0.45); border-radius: 50%; top: 50%; transform: translateY(-50%); box-shadow: 0 8px 20px rgba(0,0,0,0.35); }
.carousel-control-prev-icon, .carousel-control-next-icon { filter: invert(1) drop-shadow(0 2px 6px rgba(0,0,0,0.6)); }

/* Indicators */
.custom-indicators { bottom: -12px; display: flex; gap: 8px; justify-content: center; }
.custom-indicators button { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.28); border: none; transition: transform .18s ease, background .18s ease; }
.custom-indicators button.active { background: #fff; transform: scale(1.15); box-shadow: 0 6px 18px rgba(0,0,0,0.3); }

@media (max-width: 992px) {
  .portfolio-carousel .carousel-item img { height: 420px; }
  .custom-caption { max-width: 80%; left: 18px; right: 18px; }
}

@media (max-width: 576px) {
  .portfolio-carousel .carousel-item img { height: 300px; }
  .custom-caption { display: none; }
}

/* End carousel improvements */

/* ================= Professional UI polish layer ================= */
.portfolio-shell {
  font-size: 1rem !important;
  color: #fff;
  font-family: 'Quicksand', sans-serif;
}

.brand-title {
  font-family: 'Acme', sans-serif;
  letter-spacing: 1.6px;
}

.hero-section .container,
.about-section .container,
.portfolio-section .container,
.contact-section .container {
  max-width: 1200px;
}

.hero-section .container {
  padding-top: 120px;
}

.Minombre {
  font-family: 'Acme', sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: 1px;
  line-height: 1.1;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.habilidad {
  font-family: 'Acme', sans-serif;
  font-size: clamp(1rem, 2vw, 1.45rem);
  font-weight: 400;
  opacity: 0.94;
  margin-top: 0.5rem;
}

.hero-cta {
  font-family: 'Acme', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.8px;
  border-radius: 999px;
  padding: 0.7rem 1.35rem;
}

.about-container {
  margin-top: 90px;
}

.about-title {
  font-family: 'Acme', sans-serif;
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1.1;
}

.about-copy {
  font-size: clamp(1rem, 1.45vw, 1.1rem);
  line-height: 1.8;
  opacity: 0.92;
}

.skills-grid {
  font-size: 0.95rem;
}

.skills-grid .col-6 {
  background: rgba(15, 23, 42, 0.48);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 14px;
  padding: 10px 6px;
}

.skills-grid p {
  margin-top: 0.45rem;
  margin-bottom: 0;
}

.skill-logo-rounded {
  border-radius: 10px;
}

.uiverse-navbar {
  background: rgba(10, 14, 22, 0.72);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.uiverse-link {
  font-size: 0.95rem;
}

.portfolio-carousel {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.portfolio-carousel .carousel-item img {
  height: 600px;
}

.custom-caption {
  max-width: 42%;
  padding: 24px 30px;
}

.custom-caption h2 {
  font-size: clamp(1.4rem, 2.1vw, 2rem);
}

.contact-title {
  font-family: 'Acme', sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  letter-spacing: 0.8px;
}

.form-container {
  width: min(100%, 980px);
  margin: 0 auto;
}

.form-container .form {
  padding: 22px;
}

.form-container .form-group label {
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}

.form-container .form-submit-btn {
  width: auto;
  min-width: 190px;
  justify-content: center;
  align-items: center;
}

.flip-card {
  height: 360px;
}

.flip-front,
.flip-back {
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
}

@media (max-width: 991px) {
  .navbar-nav {
    gap: 0.35rem;
  }

  #menuNav {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    margin-top: 12px;
    padding: 0.7rem;
  }

  .hero-section .container {
    padding-top: 100px;
  }

  .about-container {
    margin-top: 50px;
  }

  .portfolio-carousel .carousel-item img {
    height: 420px;
  }

  .custom-caption {
    max-width: 80%;
  }
}

@media (max-width: 767px) {
  .animateme {
    opacity: 0.4;
  }

  .monster,
  .octopus {
    display: none;
  }

  .hero-section .row,
  .about-section .row {
    text-align: center;
    row-gap: 1.4rem;
  }

  .perfil {
    width: min(78%, 300px);
    margin-inline: auto;
  }

  .about-copy {
    line-height: 1.65;
  }

  .skills-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .skills-grid .row {
    display: contents;
  }

  .skills-grid .col-6 {
    width: 100%;
    max-width: 100%;
  }

  .portfolio-carousel {
    border-radius: 12px;
  }

  .portfolio-carousel .carousel-item img {
    height: 280px;
  }

  .flip-card {
    height: auto;
    min-height: 290px;
  }

  .flip-back {
    min-height: 290px;
  }

  .form-container {
    padding: 18px 14px;
  }

  .form-container .form {
    padding: 12px;
    gap: 14px;
  }

  .form-container .form-submit-btn {
    width: 100%;
  }
}






