/* Project Card V4: Glass panel over full-bleed image */
.project-card.v4 {
  position: relative;
  display: block;
  height: 360px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.project-card.v4:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.36);
  border-color: rgba(255, 255, 255, 0.22);
}

.project-card.v4 .pc-media {
  position: absolute;
  inset: 0;
}

.project-card.v4 .pc-media::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.0) 30%, rgba(255, 255, 255, 0.18) 50%, rgba(255, 255, 255, 0.0) 70%);
  transform: translateX(-120%) rotate(8deg);
  transition: transform .8s ease;
  z-index: 1;
  pointer-events: none;
}

.project-card.v4 .pc-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.25) 40%, rgba(0, 0, 0, 0.55) 100%);
  z-index: 1;
  pointer-events: none;
}

.project-card.v4 .pc-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.04);
  transition: transform .6s ease;
}

.project-card.v4:hover .pc-media::before {
  transform: translateX(120%) rotate(8deg);
}

.project-card.v4:hover .pc-media img {
  transform: scale(1.09);
}

.project-card.v4 .pc-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: .75rem;
  backdrop-filter: blur(6px);
  z-index: 2;
}

.project-card.v4 .pc-body {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: rgba(18, 18, 18, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 12px 14px 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  z-index: 3;
  /* Hidden by default; reveal on hover */
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .28s ease, transform .28s ease;
  pointer-events: none;
}

/* Show project info when hovering the card (desktop) */
.project-card.v4:hover .pc-body {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Mobile: by default keep info hidden and show a small toggle button; when card has .is-open show it */
@media (max-width: 768px) {

  /* Disable hover effect on mobile */
  .project-card.v4:hover .pc-body {
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
  }

  .project-card.v4 .pc-body {
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity .28s ease, transform .28s ease;
  }

  .project-card.v4.is-open .pc-body {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }

  /* Small floating info button on mobile */
  .pc-more-btn {
    display: inline-flex;
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 4;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ea1d6f, #ff8a00);
    color: white;
    border: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.2s ease, background 0.2s ease;
  }

  .pc-more-btn:active {
    transform: scale(0.95);
  }

  .pc-more-btn:focus {
    outline: 2px solid rgba(255, 255, 255, 0.12);
  }
}

.project-card.v4 .pc-title {
  margin: 0;
  font-weight: 800;
  color: #fff;
  font-size: clamp(1.02rem, 2.6vw, 1.2rem);
}

.project-card.v4 .pc-desc {
  margin: 0;
  color: #dcdcdc;
  font-size: clamp(0.86rem, 2.2vw, 0.96rem);
  opacity: .95;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

.project-card.v4 .pc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-card.v4 .pc-tag {
  font-size: clamp(0.7rem, 1.8vw, 0.78rem);
  color: #eaeaea;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.20);
  padding: 3px 8px;
  border-radius: 999px;
}

.project-card.v4 .pc-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-card.v4 .pc-actions .btn {
  padding: 6px 12px;
  font-size: .85rem;
  border-radius: 10px;
}

/* Kicker (category chip) */
.project-card.v4 .pc-kicker {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: .75rem;
  backdrop-filter: blur(6px);
  z-index: 2;
}

.project-item[data-category="web"] .pc-kicker {
  background: rgba(0, 140, 255, 0.45);
}

.project-item[data-category="business"] .pc-kicker {
  background: rgba(255, 140, 0, 0.45);
}

.project-item[data-category="enterprise"] .pc-kicker {
  background: rgba(234, 29, 111, 0.45);
}

/* Themed buttons */
.pc-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: .9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}

.pc-btn i {
  font-size: 1rem;
}

.pc-btn-primary {
  background: linear-gradient(135deg, #ea1d6f, #ff8a00);
  color: #fff;
  box-shadow: 0 6px 18px rgba(234, 29, 111, 0.35);
}

.pc-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(234, 29, 111, 0.45);
}

.pc-btn-secondary {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.pc-btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
}

.pc-btn-danger {
  background: linear-gradient(135deg, #ff4d4d, #ff1a1a);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 26, 26, 0.35);
}

.pc-btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(255, 26, 26, 0.45);
}

@media (max-width: 768px) {
  .project-card.v4 {
    height: 320px;
  }

  .project-card.v4 .pc-body {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 10px 12px;
  }
}

@media (max-width: 576px) {
  .project-card.v4 {
    height: 300px;
  }
}

* {
  padding: 0%;
  margin: 0;
  text-decoration: none;
  box-sizing: border-box;
}

.nav-open {
  overflow: hidden;
}

html {
  scroll-behavior: smooth;
}

.bg-color-body {
  background-color: #020202;
}

/*   animation: btnWhatsapp 3s infinite;*/

button {
  border: none;
}

.rednetwork {

  background: rgba(99, 97, 97, 0.118);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);


  display: flex;
  justify-content: flex-start;
}

.iconoNavbar {
  align-self: center;
  color: rgb(163, 163, 163);
  font-size: 35px;
  margin: 0 10px;
}

.iconoNavbar:hover {
  color: rgb(255, 255, 255);
  transition: 0.5s;
  transform: scale(1.1);
  cursor: pointer;
}

header {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../others/photo.jpeg);
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../others/photo.jpeg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #fff;
}

.arrowDown {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: animationArrow 3.5s infinite;
}

@keyframes animationArrow {
  0% {
    bottom: 5%;
  }

  50% {
    bottom: 10%;
  }

  100% {
    bottom: 5%;
  }
}



.text {
  padding: 50px;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.subrayado:hover {
  padding: 5px;
  animation-iteration-count: infinite;
  transition: 1000ms;
  border: lightcoral groove;
  text-decoration-color: lightcoral;
  /* Cambia el color del subrayado */
}

.icons {
  height: 20px;
  width: 20px;
}

.backgroundnew {
  background-color: #393333;
}

.col-4 {
  flex: 1;
  margin: 0 10px;
  /* Espacio entre los contenedores */
}

.iconservices {
  height: 50px;
  width: 50px;
}



.caja {
  color: #fff;
  background-color: #393333;
  /* Fondo azul oscuro */
  padding: 20px;
  height: auto;
  width: 450px !important;
  transition: all 1s ease, color 1s ease;
  ;
}

.caja:hover {
  background-color: #2d453d;
  /* Cambio de color de fondo al hacer hover */
  color: black;
  /* Color final del texto */
  color: linear-gradient(to right, #fff, #ff0000, #ffbf00, #ffff00, #000);
  /* Interpolación de color para el texto */
}

.caja img {
  display: flex;
  justify-content: center;
}

.stylish-word {
  font-size: 10px;
  color: #3c2821;
  font-family: 'Arial', sans-serif;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 4px;
  font-weight: bold;
  vertical-align: bottom;
  line-height: 1;
}

.animate-jump {
  transform: translateY(0);
  transition: transform 700ms ease-in-out;
}

.animate-jump:hover {
  transform: translateY(-20px);
}

.animate-once {
  animation-iteration-count: 1;
}

.animate-ease-in-out {
  transition-timing-function: ease-in-out;
}

.site-footer {
  background-color: #26272b;
  padding: 45px 0 20px;
  font-size: 15px;
  line-height: 24px;
  color: #737373;
}

.site-footer hr {
  border-top-color: #bbb;
  opacity: 0.5
}

.site-footer hr.small {
  margin: 20px 0
}

.site-footer h6 {
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  margin-top: 5px;
  letter-spacing: 2px
}

.site-footer a {
  color: #737373;
}

.site-footer a:hover {
  color: #3366cc;
  text-decoration: none;
}

.footer-links {
  padding-left: 0;
  list-style: none
}

.footer-links li {
  display: block
}

.footer-links a {
  color: #737373
}

.footer-links a:active,
.footer-links a:focus,
.footer-links a:hover {
  color: #3366cc;
  text-decoration: none;
}

.footer-links.inline li {
  display: inline-block
}

.site-footer .social-icons {
  text-align: right
}

.site-footer .social-icons a {
  width: 40px;
  height: 40px;
  line-height: 40px;
  margin-left: 6px;
  margin-right: 0;
  border-radius: 100%;
  background-color: #33353d
}

.copyright-text {
  margin: 0
}

@media (max-width:991px) {
  .site-footer [class^=col-] {
    margin-bottom: 30px
  }
}

@media (max-width:767px) {
  .site-footer {
    padding-bottom: 0
  }

  .site-footer .copyright-text,
  .site-footer .social-icons {
    text-align: center
  }
}

.social-icons {
  padding-left: 0;
  margin-bottom: 0;
  list-style: none
}

.social-icons li {
  display: inline-block;
  margin-bottom: 4px
}

.social-icons li.title {
  margin-right: 15px;
  text-transform: uppercase;
  color: #96a2b2;
  font-weight: 700;
  font-size: 13px
}

.social-icons a {
  background-color: #eceeef;
  color: #818a91;
  font-size: 16px;
  display: inline-block;
  line-height: 44px;
  width: 44px;
  height: 44px;
  text-align: center;
  margin-right: 8px;
  border-radius: 100%;
  -webkit-transition: all .2s linear;
  -o-transition: all .2s linear;
  transition: all .2s linear
}

.social-icons a:active,
.social-icons a:focus,
.social-icons a:hover {
  color: #fff;
  background-color: #ea1d6f
}

.social-icons.size-sm a {
  line-height: 34px;
  height: 34px;
  width: 34px;
  font-size: 14px
}

.social-icons a.facebook:hover {
  background-color: #ea1d6f
}

.social-icons a.twitter:hover {
  background-color: #ea1d6f
}

.social-icons a.linkedin:hover {
  background-color: #ea1d6f
}

.social-icons a.dribbble:hover {
  background-color: #ea4c89
}

@media (max-width:767px) {
  .social-icons li.title {
    display: block;
    margin-right: 0;
    font-weight: 600
  }
}

.mylengbg {
  background-color: rgb(89, 96, 96);
  box-shadow: -8px 6px 10px rgba(255, 255, 255, 0.5);
  /* Sombra en el lado izquierdo */
}


.myleng {
  background-color: rgb(89, 96, 96);


}

.text-lenguage {
  color: #f8cdcd;
  /* Color del texto dentro del spam */
  font-size: 15.2px;
  /* Tamaño de fuente del texto dentro del spam */
  text-transform: uppercase;
  /* Transforma el texto a mayúsculas */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  /* Sombra del texto */
}

.skill {
  margin-bottom: 20px;
}

.skill-name {
  font-weight: bold;
}

.skill-bar {
  width: 100%;
  height: 30px;
  background-color: #ddd;
  border-radius: 10px;
  margin-top: 5px;
}

.skill-level {
  height: 100%;
  background-color: #4caf50;
  /* Color de la barra */
  border-radius: 10px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

.navul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.languages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.imag_works {
  width: 100%;
  height: 300px;
  object-fit: cover;
  max-height: 300px;
  transition: opacity 0.5s ease-in-out;
}

.fade-out {
  opacity: 0;
}

.fade-in {
  opacity: 1;
}

.language img {
  width: 70px;
  /* compact icons inside cards */
  height: 70px;
  margin: 10px;
}

.language span {
  display: block;
  margin-top: 5px;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.language.skill-item {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 12px 14px;
  width: 220px;
  min-width: 180px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.language.skill-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.skills-controls {
  flex-wrap: wrap;
  gap: 8px;
}

.skills-controls .skill-btn {
  background: rgba(255, 255, 255, 0.06);
  color: #e6e6e6;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: .95rem;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}

.skills-controls .skill-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.skills-controls .skill-btn.active {
  background: linear-gradient(90deg, #ea1d6f 0%, #f6d365 100%);
  color: #0b0b0b;
  border-color: transparent;
}

.skill-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.skill-meter {
  display: none !important;
}

.skill-fill {
  display: none !important;
}

.skill-item.is-hidden {
  display: none;
}

/* Responsive adjustments para Skills en mobile */
@media (max-width: 768px) {
  .skills-controls {
    gap: 6px;
    padding: 0 10px;
  }

  .skills-controls .skill-btn {
    padding: 6px 12px;
    font-size: 0.85rem;
    flex: 1;
    min-width: calc(50% - 3px);
    max-width: calc(50% - 3px);
  }

  .skills-grid {
    gap: 12px;
    padding: 0 10px;
  }

  .language.skill-item {
    width: 100%;
    max-width: 100%;
    min-width: unset;
    padding: 10px 12px;
    gap: 8px;
  }

  .language img {
    width: 50px;
    height: 50px;
    margin: 5px;
  }

  .skill-info {
    gap: 4px;
  }

  .text-lenguage {
    font-size: 0.9rem;
  }

  #skills .container {
    padding: 0 15px;
  }

  #skills h3 {
    font-size: 2rem !important;
    padding: 0 10px;
  }

  #skills p {
    font-size: 0.9rem;
    padding: 0 10px;
  }
}

/* Ajustes para pantallas muy pequeñas */
@media (max-width: 480px) {
  .skills-controls {
    gap: 5px;
    padding: 0 5px;
  }

  .skills-controls .skill-btn {
    padding: 5px 10px;
    font-size: 0.75rem;
    min-width: calc(50% - 2.5px);
    max-width: calc(50% - 2.5px);
  }

  .skills-grid {
    gap: 10px;
    padding: 0 5px;
  }

  .language.skill-item {
    padding: 8px 10px;
    gap: 6px;
  }

  .language img {
    width: 45px;
    height: 45px;
    margin: 4px;
  }

  .text-lenguage {
    font-size: 0.85rem;
  }

  #skills h3 {
    font-size: 1.75rem !important;
  }
}

.aboutmy {
  text-align: start;
  font-size: 40px;
  font-weight: 500;
  font-family: fantasy;
}

.parrafaboutmy {
  text-align: start;
  font-family: "Anek Devanagari", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.imgaboutmy {
  width: 400px;
  height: 300px;
  object-fit: contain;
}

.button_slide {
  height: 80px;
  width: 300px;

  color: #060505;
  border: 2px solid rgb(12, 30, 47);
  border-radius: 0px;

  display: inline-block;
  font-family: "Lucida Console", Monaco, monospace;
  font-size: 14px;

  cursor: pointer;
  box-shadow: inset 0 0 0 0 #cbbac4;
  -webkit-transition: ease-out 0.4s;
  -moz-transition: ease-out 0.4s;
  transition: ease-out 0.4s;
}

.slide_diagonal:hover {
  box-shadow: inset 400px 50px 0 0 #393333;
}

/* Navbar moderno (glassmorphism) */
nav.navbar-glass {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(18, 18, 18, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

nav.navbar-glass.nav-scrolled {
  background: rgba(18, 18, 18, 0.8);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.12);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nav-brand {
  color: #fff;
  font-weight: 800;
  letter-spacing: 1px;
  text-decoration: none;
  font-family: 'Play', sans-serif;
}

.nav-menu {
  display: block;
}

.navbar-glass .navul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.navbar-glass .navul li {
  display: inline-flex;
}

.navbar-glass .navul a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #e6e6e6;
  text-decoration: none;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 10px;
  transition: color .2s ease, background-color .2s ease;
}

.navbar-glass .navul a:hover {
  color: #fff;
}

.navbar-glass .navul a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ea1d6f, #f6d365);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.navbar-glass .navul a:hover::after,
.navbar-glass .navul a.active::after {
  transform: scaleX(1);
}

/* Sobrescribir estilo global de .active para el navbar */
.navbar-glass .navul a.active {
  color: #ffffff;
  animation: none !important;
  margin: 0;
  height: auto;
}

/* Botón hamburguesa */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #e6e6e6;
  border-radius: 2px;
}

@media (max-width: 992px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 10px 16px 16px;
    background: rgba(18, 18, 18, 0.8);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-menu.open {
    display: block;
  }

  .navbar-glass .navul {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* Floating pill navbar */
nav.navbar-floating {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: transparent;
  padding: 8px 12px;
}

.navbar-floating .nav-dock {
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar-floating .nav-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  margin: 6px auto;
  background: rgba(20, 20, 20, 0.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  max-width: 900px;
  overflow-x: auto;
  scrollbar-width: none;
  /* Firefox */
}

.navbar-floating .nav-pills::-webkit-scrollbar {
  display: none;
}

.navbar-floating .nav-pills li {
  list-style: none;
}

.navbar-floating .nav-pills a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  color: #e7e7e7;
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.navbar-floating .nav-pills a i {
  font-size: 1rem;
  opacity: 0.9;
}

.navbar-floating .nav-pills a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.navbar-floating .nav-pills a.active {
  background: linear-gradient(90deg, #ea1d6f 0%, #f6d365 100%);
  color: #0b0b0b;
  font-weight: 600;
}

/* Neutralize global .active in this navbar */
.navbar-floating .nav-pills a.active {
  animation: none !important;
  margin: 0;
  height: auto;
}

.navbar-floating.nav-scrolled .nav-pills {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* Projects section */
.projects-section {
  position: relative;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.projects-controls {
  flex-wrap: wrap;
}

.projects-controls .filter-btn {
  background: rgba(255, 255, 255, 0.06);
  color: #e6e6e6;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: .95rem;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.projects-controls .filter-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.projects-controls .filter-btn.active {
  background: linear-gradient(90deg, #ea1d6f 0%, #f6d365 100%);
  color: #0b0b0b;
  border-color: transparent;
}

/* Legacy project-card styles remain for older markup */
.project-card {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Removed unused Project Card v2 styles (clean-up) */

/* Removed legacy overlay styles (not used) */

/* Filter animation */
.project-item {
  transition: transform .25s ease, opacity .25s ease;
}

.project-item.is-hidden {
  opacity: 0;
  transform: scale(.92);
  pointer-events: none;
  display: none;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .4s ease, transform .4s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

*,
*:before,
*:after {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.background {
  display: flex;

}

.container {
  flex: 0 1 700px;
  margin: auto;
  padding: 10px;
}

.screen {
  position: relative;
  background: #3e3e3e;
  border-radius: 15px;
}

.screen:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  bottom: 0;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
  z-index: -1;
}

.screen-header {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background: #4d4d4f;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.screen-header-left {
  margin-right: auto;
}

.screen-header-button {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 3px;
  border-radius: 8px;
  background: white;
}

.screen-header-button.close {
  background: #ed1c6f;
}

.screen-header-button.maximize {
  background: #e8e925;
}

.screen-header-button.minimize {
  background: #74c54f;
}

.screen-header-right {
  display: flex;
}

.screen-header-ellipsis {
  width: 3px;
  height: 3px;
  margin-left: 2px;
  border-radius: 8px;
  background: #999;
}

.screen-body {
  display: flex;
}

.screen-body-item {
  flex: 1;
  padding: 50px;
}

.screen-body-item.left {
  display: flex;
  flex-direction: column;
}

.app-title {
  display: flex;
  flex-direction: column;
  position: relative;
  color: #ea1d6f;
  font-size: 26px;
}


.app-contact {
  margin-top: auto;
  font-size: 8px;
  color: #888;
}

.app-form-group {
  margin-bottom: 15px;
}

.app-form-group.message {
  margin-top: 40px;
}

.app-form-group.buttons {
  margin-bottom: 0;
  text-align: right;
}

.app-form-control {
  width: 100%;
  padding: 10px 0;
  background: none;
  border: none;
  border-bottom: 1px solid #666;
  color: #ddd;
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
}

.app-form-control::placeholder {
  color: #666;
}

.app-form-control:focus {
  border-bottom-color: #ddd;
}

.app-form-button {
  background: none;
  border: none;
  color: #ea1d6f;
  font-size: 14px;
  cursor: pointer;
  outline: none;
}

.app-form-button:hover {
  color: #b9134f;
}

.credits {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  color: #ffa4bd;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px;
  font-weight: normal;
}

.credits-link {
  display: flex;
  align-items: center;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

.dribbble {
  width: 20px;
  height: 20px;
  margin: 0 5px;
}

@media screen and (max-width: 520px) {
  .screen-body {
    flex-direction: column;
  }

  .screen-body-item.left {
    margin-bottom: 30px;
  }

  .app-title {
    flex-direction: row;
  }

  .app-title span {
    margin-right: 12px;
  }

  .app-title:after {
    display: none;
  }
}

@media screen and (max-width: 600px) {
  .screen-body {
    padding: 40px;
  }

  .screen-body-item {
    padding: 0;
  }
}

.my-button {
  background-color: #3e3e3e;
  /* Color de fondo */
  color: white;
  /* Color del texto */
  padding: 10px 20px;
  /* Espacio interno */
  border: none;
  /* Quitamos el borde */
  border-radius: 4px;
  /* Borde redondeado */
  cursor: pointer;
  /* Cursor al pasar sobre el botón */
  font-size: 16px;
  /* Tamaño de la fuente */
  text-transform: uppercase;
  /* Convertir texto a mayúsculas */
  transition: background-color 0.3s ease;
  /* Transición suave al cambiar el color de fondo */
}

/* Estilo para el botón al pasar el ratón por encima */
.my-button:hover {
  background-color: #3e3e3e;
  /* Cambiar el color de fondo al pasar el ratón */
}

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap");

.footer {
  position: relative;
  width: 100%;
  min-height: 100px;
  padding: 20px 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.social-icon,
.menu {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  flex-wrap: wrap;
}

.social-icon__item,
.menu__item {
  list-style: none;
}

.social-icon__link {
  font-size: 2rem;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
}

.social-icon__link:hover {
  transform: translateY(-10px);
}

.menu__link {
  font-size: 1.2rem;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
  text-decoration: none;
  opacity: 0.75;
  font-weight: 300;
}

.menu__link:hover {
  opacity: 1;
}

.footer p {
  color: #fff;
  margin: 15px 0 10px 0;
  font-size: 1rem;
  font-weight: 300;
}

.wave {

  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url("../others/abstract-black-ball-jump-forward-into-the-water-waves-animation-of-black-ink-dot-shape-on-white-background-seamless-looping-animated-background-free-video.jpg");
  background-size: 1000px 100px;
}

.wave#wave1 {
  z-index: 1000;
  opacity: 1;
  bottom: 0;
  animation: animateWaves 8s linear infinite;
}

@keyframes animateWaves {
  0% {
    background-position-x: 1000px;
  }

  100% {
    background-positon-x: 0px;
  }
}

.contenedor {
  width: 100%;
  height: 280px;
  position: relative;
  background: linear-gradient(#b7d6c7, transparent) #ffe2d1;
  /*linear-gradient(#90ebff, white);*/
  transition: background-color 1s linear;
  overflow: hidden;
}

.mediodia {
  background-color: #ffdcf3;
}

.tarde {
  background-color: #ffadad;
}

.noche {
  background-color: #7c6fcd;
}

.dino {
  width: 84px;
  height: 84px;
  position: absolute;
  bottom: 22px;
  left: 42px;
  z-index: 2;
  background: url(../others/animacionsprite.png) repeat-x 0px 0px;
  background-size: 336px 84px;
  background-position-x: 0px;
}

.dino-corriendo {
  animation: animarDino 0.25s steps(2) infinite;
}

.dino-estrellado {
  background-position-x: -252px;
}

.suelo {
  width: 200%;
  height: 42px;
  position: absolute;
  bottom: 0;
  left: 0;
  background: url(../others/suelo.png) repeat-x 0px 0px;
  background-size: 50% 42px;
}

.cactus {
  width: 46px;
  height: 96px;
  position: absolute;
  bottom: 16px;
  left: 600px;
  z-index: 1;
  background: url(../others/cactus1.png) no-repeat;
}

.cactus2 {
  width: 98px;
  height: 66px;
  background: url(../others/cactus2.png) no-repeat;
}

.nube {
  width: 92px;
  height: 26px;
  position: absolute;
  z-index: 0;
  background: url(../others/nube.png) no-repeat;
  background-size: 92px 26px;
}

.score {
  width: 100px;
  height: 30px;
  position: absolute;
  top: 5px;
  right: 15px;
  z-index: 10;
  color: #d48871;
  font-family: Verdana;
  font-size: 30px;
  font-weight: bold;
  text-align: right;
}

.game-over {
  display: none;
  font-size: 1.5rem;
  width: 100%;
  text-align: center;
  color: #cbcbcb;
  font-size: 20px;
  font-family: Verdana;
  font-weight: 700;
}

@keyframes animarDino {
  from {
    background-position-x: -84px;
  }

  to {
    background-position-x: -252px;
  }
}

.boton-estilizado {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #ea1d6f;
  /* Verde */
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 5px;
  transition: background-color 0.3s;
  outline: none;
}

.boton-estilizado:hover {
  background-color: #ea1d6f;
  /* Verde más oscuro */
}

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  z-index: 9997;
  animation: floatingButton 3s ease-in-out infinite;
}

.whatsapp-button img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 999;
}

@keyframes btnWhatsapp {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.rasa-button {
  position: fixed;
  bottom: 90px;
  /* Position it above the WhatsApp button */
  right: 20px;
  width: 60px;
  height: 60px;
  z-index: 9998;
  animation: floatingButton 3s ease-in-out infinite;
}

.rasa-button img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Apply the same animation as WhatsApp button */
@keyframes btnAnimation {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.deslisable {
  max-height: 200px;
}

.linkProyect {
  font-family: 'Courier New', Courier, monospace;
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
  transition-duration: 500ms;

}

.linkProyect:hover {
  font-family: 'Courier New', Courier, monospace;
  scale: 1.5;
  font-weight: bold;
  color: #654949;
}

.chat-widget {
  position: fixed;
  bottom: 100px;
  right: 90px;
  width: 400px;
  height: 400px;
  max-width: 90vw;
  /* Limita el ancho al 90% del viewport */
  max-height: 70vh;
  /* Limita la altura al 70% del viewport */
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  z-index: 9998;
  display: flex;
  flex-direction: column;
}

/* Ajustes para móviles */
@media (max-width: 768px) {
  .chat-widget {
    right: 5%;
    left: 5%;
    width: 90%;
    bottom: 80px;
    height: 60vh;
  }

  .chat-input input {
    font-size: 16px;
    /* Previene el zoom en iOS */
  }

  .chat-button {
    bottom: 160px;
    /* Ajusta la posición del botón en móvil */
  }
}

/* Asegura que los mensajes no se desborden */
.chat-messages {
  flex-grow: 1;
  padding: 10px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  /* Mejor scrolling en iOS */
}

/* Ajusta el input y botón para móviles */
.chat-input {
  padding: 10px;
  border-top: 1px solid #eee;
  display: flex;
  gap: 10px;
}

.chat-input input {
  flex-grow: 1;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 3px;
  margin-right: 0;
}

.chat-input button {
  padding: 8px 15px;
  white-space: nowrap;
}

.chat-header {
  background: #393333;
  color: white;
  padding: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-chat {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

.chat-messages {
  flex-grow: 1;
  padding: 10px;
  overflow-y: auto;
}

.chat-input {
  padding: 10px;
  border-top: 1px solid #eee;
  display: flex;
}

.chat-input input {
  flex-grow: 1;
  margin-right: 10px;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 3px;
}

.chat-input button {
  padding: 5px 15px;
  background: #393333;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

.message {
  display: flex;
  align-items: center;
  margin: 8px;
  padding: 10px;
  border-radius: 15px;
  max-width: 100%;
}

.user-message {
  margin-left: auto;
  background-color: #0084ff;
  color: white;
}

.bot-message {
  margin-right: auto;
  background-color: #f0f0f0;
}

.message-emoji {
  margin-right: 8px;
  font-size: 1.2em;
}

.message-text {
  word-wrap: break-word;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 20px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border: none;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
}

.project-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(33, 37, 41, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-overlay h3 {
  color: #fff;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.project-overlay p {
  color: #adb5bd;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.project-card:hover .project-overlay h3,
.project-card:hover .project-overlay p {
  transform: translateY(0);
}

.project-overlay .btn {
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
}

.project-card:hover .project-overlay .btn {
  transform: translateY(0);
  opacity: 1;
}

.btn-primary {
  background-color: #ea1d6f;
  border-color: #ea1d6f;
}

.btn-primary:hover {
  background-color: #c91858;
  border-color: #c91858;
}

.btn-secondary {
  background-color: #393333;
  border-color: #393333;
}

.btn-secondary:hover {
  background-color: #252121;
  border-color: #252121;
}

.language-button {
  position: fixed;
  bottom: 160px;
  right: 20px;
  width: 60px;
  height: 60px;
  z-index: 9999;
  background-color: #393333;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: floatingButton 3s ease-in-out infinite;
}

.language-button i {
  font-size: 24px;
  color: white;
}

.language-button #currentLang {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
  background-color: #393333;
  padding: 2px 8px;
  border-radius: 10px;
}

/* Usar la misma animación que tienen los otros botones */
@keyframes btnAnimation {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.language-button:hover {
  background-color: #ea1d6f;
  transform: scale(1.1);
  transition: all 0.3s ease;
}

/* Animación común para todos los botones flotantes */
@keyframes floatingButton {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* Botón de WhatsApp */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  z-index: 9997;
  animation: floatingButton 3s ease-in-out infinite;
}

/* Botón de Rasa */
.rasa-button {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 60px;
  height: 60px;
  z-index: 9998;
  animation: floatingButton 3s ease-in-out infinite;
}

/* Botón de Idioma */
.language-button {
  position: fixed;
  bottom: 160px;
  right: 20px;
  width: 60px;
  height: 60px;
  z-index: 9999;
  background-color: #393333;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: floatingButton 3s ease-in-out infinite;
}




.subrayados {
  border-bottom: 2px solid #ea1d6f;
  padding-bottom: 2px;
}

.cardContact {
  padding: 20px;
  width: 60% !important;
}


/* Floating chat button styles */
.chat-button {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 60px;
  height: 60px;
  z-index: 9998;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  overflow: hidden;
  /* Importante para mantener la imagen dentro del círculo */
  padding: 0;
  /* Eliminar padding */
  border: none;
}

.chat-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Asegura que la imagen cubra todo el espacio */
  border-radius: 50%;
}

.chat-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

@keyframes floatingButton {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.chat-button {
  animation: floatingButton 3s ease-in-out infinite;
}

.text-center.text-light.mb-5[data-translate="projects.title"] {
  text-align: start;
  font-size: 40px;
  font-weight: 500;
  font-family: fantasy;
}

/* Modern Header Styles */
.site-header {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url("../assets/img/ChatGPT Image 24 oct 2025, 12_12_30.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #fff;
  display: flex;
  align-items: center;
}

.header-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(234, 29, 111, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(0, 123, 255, 0.12) 0%, transparent 45%);
  pointer-events: none;
}

.header-top .brand {
  letter-spacing: 2px;
}

.logo-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ea1d6f, #ff8a00);
  box-shadow: 0 0 12px rgba(234, 29, 111, 0.6);
}

.social-links .social-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
}

.social-links .social-link:hover {
  transform: translateY(-4px);
  background: rgba(234, 29, 111, 0.2);
  border-color: rgba(234, 29, 111, 0.6);
  box-shadow: 0 8px 20px rgba(234, 29, 111, 0.25);
}

.hero-content {
  position: relative;
  max-width: 900px;
  margin-top: 6vh;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-family: 'Anek Devanagari', sans-serif;
  font-weight: 700;
  color: #e6e6e6;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  margin-bottom: 1rem;
}

.hero-tagline {
  color: #cfcfcf;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* When socials are inline with the CTAs, remove extra margins and align nicely */
.hero-ctas .hero-socials {
  margin: 0;
  align-items: center;
  gap: 8px;
}

.hero-ctas .hero-socials .social-link {
  width: 38px;
  height: 38px;
}

.btn-hero {
  padding: 12px 22px;
  border-radius: 28px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary-hero {
  background: linear-gradient(135deg, #ea1d6f, #c91858);
  color: #fff;
  box-shadow: 0 6px 18px rgba(234, 29, 111, 0.35);
}

.btn-primary-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(234, 29, 111, 0.45);
}

.btn-outline-hero {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-hero:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
  border-color: #fff;
}

.scroll-indicator {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
}

@media (max-width: 768px) {
  .header-top {
    gap: 10px;
  }

  .hero-content {
    margin-top: 10vh;
  }

  .hero-ctas {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .social-links .social-link {
    width: 38px;
    height: 38px;
  }
}

/* Header Variant 2: Split grid with profile card */
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
}

.hero-left .eyebrow {
  opacity: 0.9;
  margin-bottom: 8px;
}

.role-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0 16px;
}

.badge-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  backdrop-filter: blur(6px);
}

.hero-right {
  position: relative;
  display: flex;
  justify-content: center;
}

.profile-card {
  position: relative;
  width: 320px;
  padding: 24px 18px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.profile-ring {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #ea1d6f, #ff8a00, #ea1d6f);
  filter: blur(12px);
  opacity: 0.35;
  z-index: 0;
  animation: spinSlow 12s linear infinite;
}

@keyframes spinSlow {
  to {
    transform: translateX(-50%) rotate(360deg);
  }
}

.profile-photo {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.stats {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 10px 8px;
  color: #fff;
}

.stat-value {
  font-weight: 800;
  font-size: 1.1rem;
}

.stat-label {
  font-size: 0.75rem;
  opacity: 0.85;
}

.shape {
  position: absolute;
  filter: blur(18px);
  opacity: 0.35;
  pointer-events: none;
}

.shape-1 {
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, #ea1d6f, transparent 60%);
  top: 10%;
  right: 5%;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #007bff, transparent 60%);
  bottom: -20px;
  left: -30px;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-right {
    order: -1;
  }
}

/* Header Variant 3: Spotlight centered card */
.site-header .container.h-100 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.hero-stage {
  position: relative;
  width: 100%;
  max-width: 1100px;
  padding: 24px;
}

.spotlight {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 65vmin;
  height: 65vmin;
  transform: translate(-50%, -58%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.08) 40%, transparent 65%);
  filter: blur(4px);
  pointer-events: none;
}

.hero-card {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  padding: 28px 28px 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.hero-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  margin-bottom: 12px;
}

.hero-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 7vw, 4.6rem);
  line-height: 1;
  letter-spacing: 1px;
  margin: 6px 0 4px;
  background: linear-gradient(90deg, #fff, #e6e6e6 60%, #bfbfbf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 18px rgba(255, 255, 255, 0.06);
}

.hero-role {
  font-family: 'Anek Devanagari', sans-serif;
  font-weight: 700;
  color: #f0f0f0;
  font-size: clamp(1.1rem, 2.8vw, 1.6rem);
  opacity: 0.95;
  margin-bottom: 8px;
}

.hero-tagline {
  color: #d9d9d9;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  margin-bottom: 14px;
  opacity: 0.9;
}

.tech-marquee {
  overflow: hidden;
  margin-top: 14px;
}

.marquee-track {
  display: inline-flex;
  gap: 12px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  will-change: transform;
}

.marquee-track>* {
  flex: 0 0 auto;
  /* prevent shrinking to keep widths stable at the seam */
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.85rem;
  backdrop-filter: blur(6px);
}

/* Tech icons in header marquee */
.tech-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}

.tech-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .hero-card {
    padding: 22px 18px 14px;
  }

  .hero-avatar {
    width: 96px;
    height: 96px;
  }

  .tech-marquee {
    margin-top: 10px;
  }
}

/* Hero social icons */
.hero-socials {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 8px 0 2px;
}

.hero-socials .social-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.25s ease;
  backdrop-filter: blur(6px);
}

.hero-socials .social-link:hover {
  transform: translateY(-3px);
  background: rgba(234, 29, 111, 0.2);
  border-color: rgba(234, 29, 111, 0.6);
  box-shadow: 0 8px 20px rgba(234, 29, 111, 0.25);
}

/* ========================= */
/* Modern Navigation Styles  */
/* ========================= */
nav.container-fluid.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  padding: 8px 12px;
}

/* Floating nav dock */
.nav-dock {
  margin: 0 auto;
  max-width: 980px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  padding: 6px;
}

.nav-dock .navul {
  list-style: none;
  margin: 0;
  padding: 0 8px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.nav-dock .navul li {
  margin: 0;
}

.nav-dock .navul a {
  position: relative;
  display: inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: all 0.22s ease;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.nav-dock .navul a:hover,
.nav-dock .navul a:focus {
  color: #fff;
  transform: translateY(-1px) scale(1.02);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

/* Active pill */
.nav-dock .navul a.active,
.nav-dock .navul a.is-active {
  background: linear-gradient(135deg, rgba(234, 29, 111, 0.35), rgba(0, 123, 255, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

/* Removed underline effect to avoid bar overlapping text */

/* Mobile: make it scrollable horizontally like a chip row */
@media (max-width: 768px) {
  .nav-dock {
    overflow-x: auto;
    padding: 6px 4px;
    -ms-overflow-style: none;
    /* IE/Edge */
    scrollbar-width: none;
    /* Firefox */
  }

  .nav-dock::-webkit-scrollbar {
    display: none;
  }

  .nav-dock .navul {
    justify-content: flex-start;
    gap: 8px;
  }

  .nav-dock .navul a {
    white-space: nowrap;
    padding: 8px 12px;
    font-weight: 600;
  }
}

@media (max-width: 768px) {
  nav.container-fluid.sticky-top .navul {
    gap: 6px;
    padding: 8px 10px;
    flex-wrap: wrap;
  }

  nav.container-fluid.sticky-top .navul a {
    padding: 8px 12px;
    font-weight: 600;
  }
}

/* Bomberos Carousel Modal Styles - Diseño mejorado */
#bomberosCarouselModal .modal-dialog {
  max-width: 90vw;
  margin: 1rem auto;
}

#bomberosCarouselModal .modal-content {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  background: #0f0f0f;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#bomberosCarouselModal .modal-header {
  background: linear-gradient(135deg, #ea1d6f, #ff8a00);
  padding: 1.25rem 1.5rem;
  border-bottom: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#bomberosCarouselModal .modal-title {
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#bomberosCarouselModal .modal-title i {
  font-size: 1.75rem;
}

#bomberosCarouselModal .modal-body {
  padding: 0;
  background: #0f0f0f;
  position: relative;
  min-height: 500px;
}

/* Carrusel Container */
#bomberosCarousel {
  position: relative;
  width: 100%;
  background: #0a0a0a;
  min-height: 500px;
}

#bomberosCarousel .carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
}

/* Transición más rápida para el carrusel */
#bomberosCarousel .carousel-inner {
  transition: transform 0.5s ease-in-out !important;
}

#bomberosCarousel .carousel-item {
  position: relative;
  display: none;
  float: left;
  width: 100%;
  margin-right: -100%;
  backface-visibility: hidden;
  transition: transform 0.5s ease-in-out !important;
}

#bomberosCarousel .carousel-item.active,
#bomberosCarousel .carousel-item-next,
#bomberosCarousel .carousel-item-prev {
  display: block;
}

#bomberosCarousel .carousel-item-next:not(.carousel-item-start),
#bomberosCarousel .active.carousel-item-end {
  transform: translateX(100%);
  transition: transform 0.5s ease-in-out !important;
}

#bomberosCarousel .carousel-item-prev:not(.carousel-item-end),
#bomberosCarousel .active.carousel-item-start {
  transform: translateX(-100%);
  transition: transform 0.5s ease-in-out !important;
}

/* Imágenes del carrusel */
#bomberosCarousel .carousel-image {
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
  display: block;
  background: #0a0a0a;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

/* Indicadores */
#bomberosCarousel .carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 10px;
}

#bomberosCarousel .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: all 0.4s ease;
  cursor: pointer;
  flex-shrink: 0;
}

#bomberosCarousel .carousel-indicators button.active {
  background: linear-gradient(135deg, #ea1d6f, #ff8a00);
  border-color: #ff8a00;
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(234, 29, 111, 0.6);
}

/* Controles de navegación */
#bomberosCarousel .carousel-control-prev,
#bomberosCarousel .carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ea1d6f, #ff8a00);
  border-radius: 50%;
  opacity: 0.9;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(234, 29, 111, 0.4);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

#bomberosCarousel .carousel-control-prev {
  left: 20px;
}

#bomberosCarousel .carousel-control-next {
  right: 20px;
}

#bomberosCarousel .carousel-control-prev:hover,
#bomberosCarousel .carousel-control-next:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 6px 20px rgba(234, 29, 111, 0.6);
}

#bomberosCarousel .carousel-control-prev-icon,
#bomberosCarousel .carousel-control-next-icon {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

/* Captions */
#bomberosCarousel .carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7), transparent);
  text-align: center;
  z-index: 10;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-height: 40%;
  overflow-y: auto;
}

/* En desktop, mantener captions absolutos */
@media (min-width: 769px) {
  #bomberosCarousel .carousel-caption {
    position: absolute;
    max-height: 35%;
  }
}

#bomberosCarousel .carousel-caption h5 {
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 0 0.75rem 0;
}

#bomberosCarousel .carousel-caption p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive adjustments para mobile - Adaptado al tamaño de imagen */
@media (max-width: 768px) {
  #bomberosCarouselModal .modal-dialog {
    max-width: 95vw !important;
    width: auto !important;
    margin: 1rem auto !important;
    max-height: 95vh !important;
    padding: 0 !important;
  }

  #bomberosCarouselModal .modal-content {
    height: auto !important;
    max-height: 95vh !important;
    border-radius: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  #bomberosCarouselModal .modal-header {
    padding: 0.75rem 1rem !important;
    flex-shrink: 0 !important;
    min-height: auto !important;
    max-height: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
  }

  #bomberosCarouselModal .modal-title {
    font-size: 0.95rem !important;
    gap: 0.4rem;
    white-space: normal;
    line-height: 1.3;
  }

  #bomberosCarouselModal .modal-title i {
    font-size: 1.2rem;
    flex-shrink: 0;
  }

  #bomberosCarouselModal .modal-body {
    flex: 0 1 auto !important;
    overflow: visible !important;
    display: block !important;
    padding: 0 !important;
    position: relative;
    background: #0a0a0a !important;
  }

  #bomberosCarousel {
    height: auto !important;
    width: 100% !important;
    display: block !important;
    position: relative;
    background: #0a0a0a !important;
    min-height: 300px;
  }

  #bomberosCarousel .carousel-inner {
    height: auto !important;
    min-height: auto !important;
    position: relative !important;
    overflow: hidden !important;
    transition: transform 0.5s ease-in-out !important;
    display: block !important;
  }

  #bomberosCarousel .carousel-item {
    height: auto !important;
    width: 100% !important;
    position: relative !important;
    display: none !important;
    transition: transform 0.5s ease-in-out !important;
    padding: 10px !important;
    box-sizing: border-box !important;
  }

  #bomberosCarousel .carousel-item.active {
    display: block !important;
  }

  #bomberosCarousel .carousel-image {
    width: 100% !important;
    height: auto !important;
    max-height: 70vh !important;
    max-width: 100% !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    background: #0a0a0a !important;
  }

  /* Controles optimizados para touch */
  #bomberosCarousel .carousel-control-prev,
  #bomberosCarousel .carousel-control-next {
    width: 48px !important;
    height: 48px !important;
    opacity: 0.95 !important;
    z-index: 30 !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: rgba(234, 29, 111, 0.3) !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
  }

  #bomberosCarousel .carousel-control-prev:hover,
  #bomberosCarousel .carousel-control-next:hover {
    opacity: 1 !important;
    transform: translateY(-50%) scale(1.1) !important;
  }

  #bomberosCarousel .carousel-control-prev:active,
  #bomberosCarousel .carousel-control-next:active {
    transform: translateY(-50%) scale(0.95) !important;
    opacity: 0.85 !important;
  }

  #bomberosCarousel .carousel-control-prev {
    left: 12px !important;
  }

  #bomberosCarousel .carousel-control-next {
    right: 12px !important;
  }

  #bomberosCarousel .carousel-control-prev-icon,
  #bomberosCarousel .carousel-control-next-icon {
    width: 24px !important;
    height: 24px !important;
  }

  /* Indicadores mejorados */
  #bomberosCarousel .carousel-indicators {
    bottom: 12px !important;
    position: absolute !important;
    z-index: 20 !important;
    margin: 0 !important;
    padding: 8px 12px !important;
    background: rgba(0, 0, 0, 0.3) !important;
    border-radius: 20px !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
  }

  #bomberosCarousel .carousel-indicators button {
    width: 10px !important;
    height: 10px !important;
    margin: 0 4px !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
    cursor: pointer !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
  }

  #bomberosCarousel .carousel-indicators button.active {
    background: linear-gradient(135deg, #ea1d6f, #ff8a00) !important;
    border-color: #ff8a00 !important;
    transform: scale(1.4) !important;
    box-shadow: 0 0 8px rgba(234, 29, 111, 0.6) !important;
  }

  #bomberosCarousel .carousel-indicators button:active {
    transform: scale(1.2) !important;
  }

  /* Caption en mobile */
  #bomberosCarousel .carousel-caption {
    position: relative !important;
    bottom: auto !important;
    left: 0 !important;
    right: 0 !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7), transparent) !important;
    padding: 1rem 0.75rem !important;
    margin-top: -50px !important;
    z-index: 15 !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    max-height: none !important;
    overflow-y: visible !important;
  }

  #bomberosCarousel .carousel-caption h5 {
    font-size: 0.95rem !important;
    margin-bottom: 0.5rem !important;
    font-weight: 700 !important;
  }

  #bomberosCarousel .carousel-caption p {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    opacity: 0.95 !important;
    max-width: 100% !important;
    text-align: left !important;
  }
}

/* Ajustes para pantallas muy pequeñas */
@media (max-width: 480px) {
  #bomberosCarouselModal .modal-header {
    padding: 0.5rem 0.75rem;
  }

  #bomberosCarouselModal .modal-title {
    font-size: 0.9rem;
  }

  #bomberosCarousel .carousel-image {
    max-height: calc(100vh - 180px);
  }

  #bomberosCarousel .carousel-control-prev,
  #bomberosCarousel .carousel-control-next {
    width: 45px;
    height: 45px;
  }

  #bomberosCarousel .carousel-control-prev-icon,
  #bomberosCarousel .carousel-control-next-icon {
    width: 22px;
    height: 22px;
  }

  #bomberosCarousel .carousel-control-prev-icon,
  #bomberosCarousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
  }

  #bomberosCarousel .carousel-indicators button {
    width: 10px;
    height: 10px;
  }

  #bomberosCarousel .carousel-caption {
    padding: 0.5rem 0.75rem;
  }

  #bomberosCarousel .carousel-caption h5 {
    font-size: 0.85rem;
  }

  #bomberosCarousel .carousel-caption p {
    font-size: 0.75rem;
  }
}