* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  color: #332e2e;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 18rem;
  /* overflow-x: hidden; */
}


body {
  background-color: whitesmoke;
}

/* New Skills Section Styles */
#NewSkillsSection {
  background-color: #fff;
  padding: 4rem 0;
  margin: 2rem auto;
  border-radius: 10px;
  width: 100%;
  max-width: 1200px;
}

#NewSkillsSection h2 {
  color: #332e2e;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  text-align: left;
  position: relative;
  display: block;
  width: 100%;
}

.skill-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.8rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
}

/* .skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
} */

.skill-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f0f0f0;
}

.skill-card-header i {
  font-size: 2rem;
  color: #8fc1be;
  margin-right: 1rem;
  vertical-align: middle;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Style for Devicon icons in headers */
.skill-card-header .devicon {
  font-size: 2rem;
  width: 1.5em;
  height: 1em;
  vertical-align: middle;
}

.skill-card-header h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #332e2e;
  margin: 0;
}

.skill-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.8rem;
}

.skill-item {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.8rem;
  background-color: #f8f9fa;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.skill-item i {
  margin-right: 0.6rem;
  font-size: 1.6rem;
  width: 24px;
  text-align: center;
  vertical-align: middle;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Ensure Devicon icons are properly sized */
.skill-item .devicon {
  font-size: 1.6rem;
  width: 24px;
  height: 1em;
  vertical-align: middle;
}

.skill-item:hover {
  background-color: #e9f7f6;
  transform: translateX(3px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .skill-items {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
  
  .skill-card {
    padding: 1.2rem;
  }
  
  .skill-item {
    font-size: 0.9rem;
    padding: 0.4rem 0.6rem;
  }
}

@media (max-width: 576px) {
  .skill-items {
    grid-template-columns: 1fr 1fr;
  }
  
  #NewSkillsSection {
    padding: 2rem 1rem;
  }
  
  .skill-card-header h3 {
    font-size: 1.2rem;
  }
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
  height: 5.5rem;
}



header {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background-color: whitesmoke;
  position: sticky;
  top: 0;
  z-index: 100;
  height: 5.5rem;
  width: 100%;
  -webkit-box-shadow: 2px 4px 14px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 2px 4px 14px 0px rgba(0, 0, 0, 0.75);
  box-shadow: 2px 4px 14px 0px rgba(0, 0, 0, 0.75);
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-list li {
  margin-top: 1rem;
  align-items: center;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: larger;
  gap: 2rem;
}

.nav-list li a {
  text-decoration: none;
  color: #332e2e;
}

.nav-list li a:hover {
  filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.1));
  -webkit-filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.1));
}

.logo {
  max-width: 160px;
  /* filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.1));
  -webkit-filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.1)); */
  height: auto;
}

.abrir-menu,
.cerrar-menu {
  display: none;
}

.nav li a:hover {
  font-weight: 800;
}

.nav a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  bottom: -3px;
  background-color: #8fc1be;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
  box-sizing: border-box;
  -webkit-transition: transform 0.3s ease;
  -moz-transition: transform 0.3s ease;
  -ms-transition: transform 0.3s ease;
  -o-transition: transform 0.3s ease;
}

.nav a:hover::before {
  transform: scaleX(1);
}


.lenguage {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

header .lenguage a {
  color: #333e2e;
  border: #332e2e solid 0.5px;
  border-radius: 15px;
  background-size: 100% auto;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  padding: 0.6em 1em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  font-weight: 500;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -ms-border-radius: 15px;
  -o-border-radius: 15px;
}

header .lenguage a {
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: #332e2e;
}

header .lenguage a:hover {
  background-position: right center;
  background-size: 200% auto;
  -webkit-animation: pulse 2s infinite;
  animation: pulse512 1.5s infinite;
  cursor: pointer;
}

@keyframes pulse512 {
  0% {
    box-shadow: 0 0 0 0 #05bada66;
  }

  70% {
    box-shadow: 0 0 0 10px rgb(218 103 68 / 0%);
  }

  100% {
    box-shadow: 0 0 0 0 rgb(218 103 68 / 0%);
  }
}

/* '''''''''''''''''''''''''''''''''''''''''''''''''''Main and Hero '''''''''''''''''''''''''''''''''''''''''''''''''''''*/

/* HERO PRINCIPAL */
#home {
  display: flex;
  align-items: center;         
  justify-content: center;
  width: 100%;
  max-width: 1200px;  
  margin: 0 auto;   
  min-height: 80vh;
  padding: 0 3rem;             
  box-sizing: border-box;
  color: #332e2e;
  gap: 3rem;
}

.hero-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  /* gap: 3rem; */
  flex-wrap: wrap;
}

/* TEXT HERO */
.TextHero {
  flex: 1 1 50%;
  min-width: 0;
}

/* Hero name - GSAP animated */
.TextHero .hero-name {
  display: block;
  font-size: 4rem;
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  overflow: visible;
}

/* Modern highlight effect for GSAP animations */
.highlight-text {
  background: linear-gradient(120deg, rgba(143, 193, 190, 0.3) 0%, rgba(143, 193, 190, 0.5) 100%);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  background-position: left center;
  padding: 0 0.2em;
  border-radius: 4px;
  transition: background-size 0.5s ease;
  display: inline;
  font-size: inherit !important;
  font-weight: 600;
}

.hero-description {
  overflow: hidden;
}

.line-text {
  margin: 0;
  padding: 0;
}

.TextHero h2 {
  font-size: 1.5rem !important;
  font-weight: 400;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
  line-height: 1.5;
  white-space: normal;
}

.TextHero h2 strong {
  font-weight: 400;
}

.TextHero h2 .highlight-text {
  font-size: inherit !important;
  display: inline;
  font-weight: 600;
}

.TextHero .hero-title-line {
  display: inline;
}

@media (min-width: 768px) {
  .TextHero h2 {
    white-space: nowrap;
  }
  .TextHero .hero-title-line {
    display: inline;
  }
}

.TextHero p {
  font-size: 19px;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.hero-description p:last-child {
  margin-bottom: 0.5rem;
}

/* BOTONES */
.BtnsHero {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}

#home button {
  border: transparent solid 0.5px;
  border-radius: 15px;
  background-size: 100% auto;
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  padding: 0.6em 1.5em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  font-weight: 600;
  background-image: url('../img/Btn4.jpg'); 
}

#home button a {
  text-decoration: none;
  color: whitesmoke;
}

button:hover {
  background-position: right center;
  background-size: 200% auto;
  animation: pulse512 1.5s infinite;
  cursor: pointer;
}

#home .buttonCV {
  background-image: none;
  background-color: transparent;
  border: #332e2e solid 0.5px;
}

#home .buttonCV a {
  text-decoration: none;
  color: #332e2e;
}

/* IMG HERO */
.ImgHero {
  flex: 0 0 500px; 
  max-width: 370px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation:none !important;
}

.ImgHero img {
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
  padding-right: 2rem ;
  animation:none !important;
}

/* SCROLL INDICATOR */
.scroll-indicator {
  position: absolute;
  bottom: -5rem;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.arrow-down {
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 15px solid #8fc1be;
  margin-bottom: 10px;
}

.scroll-indicator p {
  font-size: 16px;
  font-weight: 600;
  animation-duration: 2s;
  animation-iteration-count: 4;
}

/* ANIMACIONES */

@keyframes pulse512 {
  0% {
    box-shadow: 0 0 0 0 #05bada66;
  }

  70% {
    box-shadow: 0 0 0 10px rgb(218 103 68 / 0%);
  }

  100% {
    box-shadow: 0 0 0 0 rgb(218 103 68 / 0%);
  }
}

.decorative-shape {
  position: absolute;
  z-index: -1;
  opacity: 1;
  filter: blur(80px);
  border-radius: 50%;
  pointer-events: none;
}

/* Gradiente superior izquierdo */
.shape1 {
  width: 300px;
  height: 300px;
  top: 5%;
  left: -60px;
  background: radial-gradient(circle, #518886 0%, transparent 70%);
}

/* Gradiente inferior derecho */
.shape2 {
  width: 250px;
  height: 250px;
  bottom: -8%;
  right: -80px;
  background: radial-gradient(circle, #518886 0%, transparent 70%);
}

.shape3 {
  width: 200px;
  height: 200px;
  top: 70%;
  left: 100px;
  background: radial-gradient(circle, #518886 0%, transparent 70%);
}

/* .shape4 {
  width: 250px;
  height: 250px;
  top: 10%;
  right: -80px;
  background: radial-gradient(circle, #518886 0%, transparent 70%);
} */


/* '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''About'''''''''''''''''''''''''''''''''''''''''''''''''''''*/



#about {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: start;
  max-width: 1100px;
  margin: 4rem auto;
  padding: 2rem;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(229, 231, 235, 0.5);
  position: relative;
  z-index: 1;
}

/* cinta top left */
#about::after {
  content: "";
  position: absolute;
  top: -65px;
  right: 1010px;
  width: 150px;
  height: 150px;
  background-image: url('../img/Cinta2.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 10;
  pointer-events: none;
}

/* cinta bottom right */
#about::before {
  content: "";
  position: absolute;
  bottom: -65px;
  left: 1000px;
  width: 150px;
  height: 150px;
  background-image: url('../img/Cinta1.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 10;
  pointer-events: none;
}

.titleIntereses {
  font-size: 1.8rem;
  color: #2d3748;
  margin-bottom: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  position: relative;
}

.listaDeIntereses {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.listaDeIntereses li {
  font-size: 1.1rem;
  color: #4a5568;
  padding: 0.8rem 1.2rem;
  background: #f8fafc;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.2s ease;
  border: 1px solid #e2e8f0;
}

.listaDeIntereses li:hover {
  background-color: #e9f7f6;
  transform: translateX(3px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}


.listaDeIntereses li::before {
  font-size: 1.4em;
  filter: grayscale(0.3);
}

/* Contenedor de la imagen */
.ImgAbout {
  position: relative;
  width: 280px;
  height: 350px;
  border-radius: 15px;
  overflow: hidden;
  flex-shrink: 0;
  align-self: center;
}

/* Imagen misma */
.ImgAbout img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  transition: opacity 0.5s ease;
}

.ImgAbout .about-img-default {
  opacity: 1;
  z-index: 1;
}

.ImgAbout .about-img-hover {
  opacity: 0;
  z-index: 2;
}

#about:hover .ImgAbout .about-img-default {
  opacity: 0;
}

#about:hover .ImgAbout .about-img-hover {
  opacity: 1;
}

#AboutME {
  /* box-sizing: border-box; */
  width: 100%;
  max-width: 1100px;
  margin: 2rem auto;
  /* padding: 0 1.5rem; */
  position: relative;
}

#AboutME p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.6;
  margin: 1.5rem 0;
  color: #333;
}

/* Responsive Mobile */
@media (max-width: 768px) {
  #AboutME {
    padding: 0 1rem;
    margin: 1.5rem auto;
  }

  #AboutME::before {
    height: 90%;
    top: 5%;
  }

  #AboutME p {
    padding-left: 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    margin: 1rem 0;
  }
}

@media (max-width: 480px) {
  #AboutME::before {
    width: 2px;
    height: 95%;
  }

  #AboutME p {
    padding-left: 1rem;
    font-size: 0.95rem;
  }
}


/* Responsive */
@media (max-width: 768px) {
  #about {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    margin: 2rem 1rem;
  }

  #about::before,
  #about::after {
    display: none;
  }
  
  .listaDeIntereses {
    grid-template-columns: 1fr;
  }
  
  .ImgAbout {
    order: -1;
    width: 100%;
    height: 250px;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .titleIntereses {
    font-size: 1.5rem;
    padding-left: 0;
  }
  
  .listaDeIntereses li {
    font-size: 1rem;
    padding: 0.6rem 1rem;
  }
}

/* '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''Habilidades'''''''''''''''''''''''''''''''''''''''''''''''''''''*/


/* Estilos generales para desktop */
#SectionHabilidades, #SectionHabilidadesBack {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.TituloHabilidades h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 600;
}

.LogosHabilidades {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.LogosHabilidades div {
  display: flex;
  justify-content: center;
  align-items: center;
}

.LogosHabilidades img {
  max-width: 50px;
  height: auto;
}

.LogoGrandes img {
  max-width: 50px !important;
}

/* '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''Formación académica'''''''''''''''''''''''''''''''''''''''''''''''''''''*/

#FormacionAcademica {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  text-align: start;
  margin: 3rem auto;
  padding: 0 1.5rem;
  width: 100%;
  height: auto;
  max-width: 1100px;
}

#FormacionAcademica h2 {
  color: #332e2e;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  text-align: left;
  position: relative;
  display: block;
  width: 100%;
}

#FormacionAcademica .formacion-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
}

#FormacionAcademica .formacion-card {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}

#FormacionAcademica .formacion-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #8fc1be;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

#FormacionAcademica .formacion-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(143, 193, 190, 0.18);
  border-color: #8fc1be;
}

#FormacionAcademica .formacion-card:hover::before {
  transform: scaleX(1);
}

#FormacionAcademica .formacion-card-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 0.3rem;
}

#FormacionAcademica .formacion-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #332e2e;
  line-height: 1.4;
  margin: 0;
}

#FormacionAcademica .formacion-card-institution {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.4;
  margin: 0;
}

#FormacionAcademica .formacion-card-status {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  margin-top: auto;
}

#FormacionAcademica .formacion-card-status.en-curso {
  background: rgba(143, 193, 190, 0.15);
  color: #5a9e99;
}

#FormacionAcademica .formacion-card-status.finalizado {
  background: rgba(51, 46, 46, 0.08);
  color: #666;
}


/* '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''Proyectos'''''''''''''''''''''''''''''''''''''''''''''''''''''*/
#ContainerProyectsMain {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.descriptionMobile {
  display: none;
}

.descriptionMobileEN {
  display: none;
}

#SectionProyectos {
  width: 100%;
  max-width: 1150px;
  height: auto;
  margin: 3rem auto;
  margin-bottom: 20px;
}

.descriptionMobile {
  display: none;
}

#SectionProyectos h2 {
  color: #332e2e;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: left;
  position: relative;
  display: block;
  width: 100%;
}

/* Removed underline from section headings */

/* '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''Cards Proyectos'''''''''''''''''''''''''''''''''''''''''''''''''''''*/

/* Estilos Generales de las Cards */
#projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Adaptación automática */
  max-width: 1200px; /* Control del ancho máximo */
  gap: 2rem;
  width: 100%;
  padding: 20px;
}

.LogoProyectos {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.LogoProyectos:hover {
  transform: translateY(-5px);
}

/* Sección de la Imagen */
.ScreenSitios {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.ScreenSitios img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px 15px 0 0;
}

/* Fecha y Tech Tags */
.DateTech {
  padding: 0.8rem 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.date {
  color: #4a5568;
  font-size: 0.9rem;
  font-weight: 500;
}

.TechTags {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
  margin-top: 1.3rem;

}

.TechTag {
  background: #8fc1be;
  color: #2d3748;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  user-select: none;


}

/* Descripción y Texto */
.DescriptionProyectos {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 0.5px solid #e2e8f0; /* Color gris claro moderno */
  border-radius: 0 0 15px 15px;
  -webkit-border-radius: 0 0 15px 15px;
  -moz-border-radius: 0 0 15px 15px;
  -ms-border-radius: 0 0 15px 15px;
  -o-border-radius: 0 0 15px 15px;
}

.DescriptionProyectos a {
  text-decoration: none;
  color : #8fc1be;
  font-weight: 700;
}

.TextProyectos h3 {
  color: #2d3748;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-transform: capitalize;
  margin-top: 0.5rem;
}

.TextProyectos p {
  color: #4a5568;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Botones */
.BtnsProyectos {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: auto;
}
.BtnsProyectos a {
  text-decoration: none !important;
}

.VisitarSitioBtn {
  background-image: transparent;
  background-size: 100% auto;
  border-radius: 15px;
  color: #332e2e !important; 
  border: #332e2e solid 0.5px;
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  padding: 0.6em 1.5em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}


.VisitarSitioBtn:hover {
  background-position: right center;
  background-size: 200% auto;
  transform: translateY(-2px);
  color: #2d3748 !important; /* Color hover original */
  animation: pulse512 1.5s infinite;
}

/* Mantenemos tu animación original */
@keyframes pulse512 {
  0% {
    box-shadow: 0 0 0 0 #764ba2;
  }
  70% {
    box-shadow: 0 0 0 10px rgb(218 103 68 / 0%);
  }
  100% {
    box-shadow: 0 0 0 0 rgb(218 103 68 / 0%);
  }
}


/* Manteniendo tus animaciones y efectos existentes */
.VisitarSitioBtn:hover {
  animation: pulse512 1.5s infinite;
}


.MoreProjectsBtn {
  background-image: url('../img/Btn4.jpg'); 
  background-size: 100% auto;
  border-radius: 15px;
  color: whitesmoke !important; 
  border: transparent solid 0.5px;
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  padding: 0.6em 1.5em;
  /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1); */
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}


.MoreProjectsBtn:hover {
  background-position: right center;
  background-size: 200% auto;
  transform: translateY(-2px);
  animation: pulse512 1.5s infinite;
  font-weight: 600;
}

/* Mantenemos tu animación original */
@keyframes pulse512 {
  0% {
    box-shadow: 0 0 0 0 #764ba2;
  }
  70% {
    box-shadow: 0 0 0 10px rgb(218 103 68 / 0%);
  }
  100% {
    box-shadow: 0 0 0 0 rgb(218 103 68 / 0%);
  }
}


/* Manteniendo tus animaciones y efectos existentes */
.MoreProjectsBtn:hover {
  animation: pulse512 1.5s infinite;
}

/* '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''Contact'''''''''''''''''''''''''''''''''''''''''''''''''''''*/

#contact {
  display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    width: 100%;
    max-width: 1200px;
    margin: 4rem auto;
}

#contact h2 {
  margin-bottom: 1rem;
}

#contact p {
  font-size: 19px;
  line-height: 1.3;
  margin-bottom: 2rem;
}

#contact .Contactos {
  display: flex;
  flex-direction: wrap;
  justify-content: start;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin: 0 auto;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  gap: 2rem;
}

#contact .Contactos .Gmail {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 0.5rem;
}

/* #contact .Contactos .Gmail p{
    font-size: 18px;
    align-items: center;
    justify-content: ;
} */

#contact .Contactos .Gmail img {
  width: 50px;
  height: auto;
  margin-right: 0.8rem;
  filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.2));
  -webkit-filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.2));
}

#contact .Contactos .Instagram {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

#contact .Contactos .Instagram img {
  width: 80px;
  height: auto;
  margin-right: 0.5rem;
  filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.1));
  -webkit-filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.1));
}

#contact .Contactos .Linkeding {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

#contact .Contactos .Linkeding img {
  width: 80px;
  height: auto;
  margin-right: 0.5rem;
  filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.1));
  -webkit-filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.1));
}

#contact .Contactos .WhatsApp {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

#contact .Contactos .WhatsApp img {
  width: 80px;
  height: auto;
  margin-right: 0.5rem;
  filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.1));
  -webkit-filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.1));
}

#contact .Contactos .GitHub {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

#contact .Contactos .GitHub img {
  width: 60px;
  height: auto;
  margin-right: 0.5rem;
  filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.1));
  -webkit-filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.1));
}

#contact .Contactemos {

  /* background-color: #4a5568; */
  /* color: #332e2e; */
  color: whitesmoke;
  border: transparent solid 0.5px;
  /* background-color: #8fc1be; */
  background-image: url('../img/Btn4.jpg'); 
  border-radius: 15px;
  background-size: 100% auto;
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  padding: 0.6em 1.5em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  font-weight: 500;
  max-width: 10rem;

}

#contact .Contactemos a {
  text-decoration: none;
  
}

.Contactemos:hover {
  background-position: right center;
  background-size: 200% auto;
  -webkit-animation: pulse 2s infinite;
  animation: pulse512 1.5s infinite;
  cursor: pointer;
}

@keyframes pulse512 {
  0% {
    box-shadow: 0 0 0 0 #05bada66;
  }

  70% {
    box-shadow: 0 0 0 10px rgb(218 103 68 / 0%);
  }

  100% {
    box-shadow: 0 0 0 0 rgb(218 103 68 / 0%);
  }
}

#TOP {
  margin-bottom: 9rem;
  
}

.TOP {
  cursor: pointer;
  font-weight: 700;
  font-family: Helvetica, "sans-serif";
  transition: all 0.2s;
  padding: 12px 25px;
  border-radius: 80px;
  /* color: #332e2e; */
  border: #332e2e solid 0.5px;
  /* background-color: #8fc1be; */
  /* background-image: url('../img/Btn4.jpg');  */
  display: flex;
  align-items: center;
  font-size: 19px;
  position: absolute;
  right: 4rem;

  -webkit-border-radius: 80px;
  -moz-border-radius: 80px;
  -ms-border-radius: 80px;
  -o-border-radius: 80px;

}

.TOP:hover {
  background-color: transparent;
  border: 1px solid #332e2e;
}

.TOP > svg {
  width: 34px;
  margin-left: 10px;
  transition: transform 0.3s ease-in-out;
}

.TOP:hover svg {
  transform: translateX(5px);
}

.TOP:active {
  transform: scale(0.95);
}

/* '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''Timeline'''''''''''''''''''''''''''''''''''''''''''''''''''''*/

#timeline {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
}

/* .timeline-container h2 {
  text-align: start;
  margin-bottom: 3rem;
  font-weight: 600;
  color: #2d3748;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);

} */


.timeline-container h2 {
  color: #332e2e;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: left;
  position: relative;
  display: block;
  width: 100%;
}

/* Removed underline from section headings */


.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #8fc1be;
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 100px;
}

.timeline-dot {
  position: absolute;
  left: 46px;
  top: 0;
  width: 12px;
  height: 12px;
  background: #8fc1be;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 4px #8fc1be;
}

.timeline-content {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(229, 231, 235, 0.5);
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 20px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid #fff;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.timeline-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2d3748;
  margin: 0;
}

.timeline-date {
  background: #8fc1be;
  color: #2d3748;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.timeline-company {
  font-size: 1.1rem;
  font-weight: 500;
  color: #4a5568;
  margin-bottom: 1rem;
}

.timeline-technologies {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.tech-item {
  display: flex;
  align-items: center;
  background: #f8fafc;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  color: #4a5568;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.tech-item i {
  margin-right: 5px;
  font-size: 1rem;
  color: #4a5568;
}

.tech-item:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.tech-item.fa-react { color: #61dafb; }
.tech-item.fa-node-js { color: #68a063; }
.tech-item.fa-css3-alt { color: #2965f1; }
.tech-item.fa-html5 { color: #e34f26; }
.tech-item.fa-js { color: #f7df1e; }
.tech-item.fa-wordpress { color: #21759b; }
.tech-item.fa-figma { color: #f24e1e; }
.tech-item.fa-bootstrap { color: #7952b3; }
.tech-item.fa-git-alt { color: #f05032; }
.tech-item.fa-laptop-code { color: #4a5568; }
.tech-item.fa-database { color: #336791; }

/* Ocultar timeline-technologies en móviles */
@media (max-width: 768px) {
    .timeline-technologies {
        display: none;
    }
}

.timeline-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #4a5568;
  margin: 0;
}



/* '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''Footerg'''''''''''''''''''''''''''''''''''''''''''''''''''''*/

footer {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  height: 7rem;
  margin: 0 auto;
  gap: 1rem;
  padding: 2rem 0;
  border-top: #332e2e solid 0.5px;
}

footer .footer-content {
    display: flex;
    flex-direction: column;
}

footer img {
  width: 140px;
  height: auto;
  pointer-events: none;
  user-select: none;
  margin-top: 1rem;
}

footer p {
  font-size: 18px;
  margin-bottom: 0.5rem;
  color: #332e2e;
  margin-top: 1rem;
}

#OtrosTrabajos {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
  margin-top: 2rem;
}

.SectionOthersproject {
  width: 100%;
  max-width: 1100px;
  height: auto;
  margin: 2rem auto;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.SectionOthersproject h2 {
  text-align: left;
}

#OtrosTrabajosDescripcion {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin: 2rem auto;
  width: 100%;
  max-width: 1100px;
  gap: 2.5rem;
}

#OtrosTrabajosDescripcion .carrusel {
  flex: 1;
  max-width: 700px;
}

#OtrosTrabajosDescripcion .carousel-inner img {
  width: 100%;
  height: auto;
  max-width: 650px;
  border-radius: 10px;
}

.carousel-control-prev,
.carousel-control-next {
    background: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.descripcionCarrusel {
  flex: 1;
  max-width: 500px;
  justify-content: center;
  align-self: center;
}

.descripcionCarrusel .liExperiencias {
  list-style-type: none;
  padding: 0;
}

.descripcionCarrusel .liExperiencias li {
  line-height: 1.8;
  margin-bottom: 1rem;
}

.descripcionCarrusel .liExperiencias a {
  text-decoration: none;
  color:#8fc1be;
  font-weight: 900;
}

#Certificates {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    width: 100%;
    max-width: 1200px;
    margin: 4rem auto;
    text-align: center;
}

#Certificates h2 {
  color: #332e2e;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: left;
  position: relative;
  display: block;
  width: 100%;
}

/* Removed underline from section headings */

.certificates-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.certificate-item img {
  width: 100%;
  max-width: 700px;
  height: auto;
  border-radius: 10px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 800px;
  cursor: default;
}

.close {
  position: absolute;
  top: 50px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* Status Component */
#current-status {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.status-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 1200px;
    margin-top: 3rem;
}

.status-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.status-header h2 {
    color: #332e2e;
    font-size: 1.6rem;
    font-weight: 500;
    margin: 0;
    font-family: "Montserrat", sans-serif;
    text-align: start;
    text-shadow: #0000001a 2px 2px 4px;
}

.status-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.status-dot {
    width: 12px;
    height: 12px;
    background: #10b981;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

.status-text-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 1.5rem;
}

.status-text-sliding {
    color: #4a5568;
    font-size: 1.1rem;
    font-weight: 500;
    font-family: "Montserrat", sans-serif;
    white-space: nowrap;
    position: absolute;
    animation: slideLeft 15s linear infinite;
    display: block;
}

/* Animación de deslizamiento */
@keyframes slideLeft {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .status-container {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .status-header h2 {
        font-size: 1.5rem;
    }
    
    .status-text-sliding {
        font-size: 1rem;
        animation: slideLeft 7s linear infinite;
        -webkit-animation: slideLeft 7s linear infinite;
}
    
    .status-item {
        padding: 0.8rem;
    }
}

/* ====================================
   DARK MODE STYLES
   ==================================== */

/* Header Actions Container */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Dark Mode Button */
.dark-mode-btn {
  background: transparent;
  border: #332e2e solid 0.5px;
  border-radius: 15px;
  padding: 0.3em 1em;
  font-size: 18px;
  cursor: pointer;
  color: #332e2e;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -ms-border-radius: 15px;
  -o-border-radius: 15px;
}

.dark-mode-btn:hover {
  background-position: right center;
  background-size: 200% auto;
  animation: pulse512 1.5s infinite;
  cursor: pointer;
}

.dark-mode-btn i {
  font-size: 1.2rem;
}

/* Dark Mode Active Styles */
body.dark-mode {
  background-color: #1a1a1a;
  color: #ffffff;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Universal text color in dark mode */
body.dark-mode * {
  color: #ffffff;
}

/* Header */
body.dark-mode header {
  background-color: #1a1a1a;
  box-shadow: 2px 4px 14px 0px rgba(255, 255, 255, 0.1);
}

body.dark-mode .nav {
  background-color: #1a1a1a;
}

body.dark-mode .nav-list li a {
  color: #ffffff;
}

body.dark-mode .dark-mode-btn {
  border-color: #ffffff;
  color: #ffffff;
}

body.dark-mode .dark-mode-btn i {
  color: #ffffff;
}

body.dark-mode .lenguage a {
  color: #ffffff;
  border-color: #ffffff;
}

body.dark-mode .abrir-menu,
body.dark-mode .cerrar-menu {
  color: #ffffff;
}

/* Hero Section */
body.dark-mode #home {
  color: #ffffff;
}

body.dark-mode .TextHero span,
body.dark-mode .TextHero h2,
body.dark-mode .TextHero h2 b,
body.dark-mode .TextHero p {
  color: #ffffff;
}

body.dark-mode #home button {
  border-color: #ffffff;
}

body.dark-mode #home .buttonCV {
  border-color: #ffffff;
}

body.dark-mode #home .buttonCV a {
  color: #ffffff;
}

/* Status Section */
body.dark-mode #current-status {
  background-color: #1a1a1a;
}

body.dark-mode .status-container {
  background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .status-header h2 {
  color: #ffffff;
}

body.dark-mode .status-item {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .status-text-sliding {
  color: #e0e0e0;
}

body.dark-mode .status-text-sliding b {
  color: #ffffff;
}

/* Projects Section */
body.dark-mode #SectionProyectos h2,
body.dark-mode #SectionProyectos p {
  color: #ffffff;
}

body.dark-mode .LogosProyectos {
  background: #0000001a;
}

body.dark-mode .DescriptionProyectos {
  border-color: rgba(255, 255, 255, 0.1);
  background: #2d2d2d;
}

body.dark-mode .TextProyectos h3,
body.dark-mode .TextProyectos p {
  color: #ffffff;
}

body.dark-mode .TechTag {
  background: #8fc1be;
  color: #1a1a1a;
}

body.dark-mode .VisitarSitioBtn {
  background-color: #8fc1be;
  background-size: 100% auto;
  border-radius: 15px;
  color: #332e2e !important; 
  border: #332e2e solid 0.5px;
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  padding: 0.6em 1.5em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

body.dark-mode .MoreProjectsBtn {
  color: #ffffff !important;
}

body.dark-mode .DescriptionProyectos a {
  color: #8fc1be;
}

/* Skills Section */
body.dark-mode #NewSkillsSection {
  background-color: #2d2d2d;
}

body.dark-mode #NewSkillsSection h2 {
  color: #ffffff;
}

body.dark-mode .skill-card {
  background: #1a1a1a;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

body.dark-mode .skill-card-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .skill-card-header h3 {
  color: #ffffff;
}

body.dark-mode .skill-card-header i {
  color: #8fc1be;
}

body.dark-mode .skill-item {
  background-color: #2d2d2d;
  color: #ffffff;
}

body.dark-mode .skill-item:hover {
  background-color: #3a3a3a;
}

/* About Section */
body.dark-mode #about {
  background: #2d2d2d;
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .titleIntereses {
  color: #ffffff;
}

body.dark-mode .listaDeIntereses li {
  background: #1a1a1a;
  border-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

body.dark-mode .listaDeIntereses li:hover {
  background-color: #3a3a3a;
}

body.dark-mode #AboutME p {
  color: #e0e0e0;
}

/* Timeline Section */
body.dark-mode #timeline {
  background-color: #1a1a1a;
}

body.dark-mode .timeline-container h2 {
  color: #ffffff;
}

body.dark-mode .timeline-content {
  background: #2d2d2d;
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .timeline-content::before {
  border-right-color: #2d2d2d;
}

body.dark-mode .timeline-header h3,
body.dark-mode .timeline-company,
body.dark-mode .timeline-description {
  color: #ffffff;
}

body.dark-mode .timeline-date {
  background: #8fc1be;
  color: #1a1a1a;
}

body.dark-mode .tech-item {
  background: #1a1a1a;
  border-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

body.dark-mode .tech-item:hover {
  background: #3a3a3a;
}

body.dark-mode .tech-item i {
  color: #ffffff;
}

/* Formacion Academica */
body.dark-mode #FormacionAcademica h2 {
  color: #ffffff;
}

body.dark-mode #FormacionAcademica .formacion-card {
  background: #2a2a2a;
  border-color: #3a3a3a;
}

body.dark-mode #FormacionAcademica .formacion-card:hover {
  border-color: #8fc1be;
  box-shadow: 0 12px 32px rgba(143, 193, 190, 0.12);
}

body.dark-mode #FormacionAcademica .formacion-card-title {
  color: #ffffff;
}

body.dark-mode #FormacionAcademica .formacion-card-institution {
  color: #aaa;
}

body.dark-mode #FormacionAcademica .formacion-card-status.finalizado {
  background: rgba(255, 255, 255, 0.08);
  color: #aaa;
}

/* Certificates Section */
body.dark-mode #Certificates h2 {
  color: #ffffff;
}

body.dark-mode .certificate-item img {
  box-shadow: 2px 2px 4px rgba(255, 255, 255, 0.1);
}

/* Contact Section */
body.dark-mode #contact h2,
body.dark-mode #contact p {
  color: #ffffff;
}

body.dark-mode .Contactemos {
  color: #ffffff !important;
}

/* Footer */
body.dark-mode footer {
  border-top-color: rgba(255, 255, 255, 0.2);
}

/* Mobile Responsive Footer */
@media (max-width: 768px) {
  footer {
    padding: 1.5rem 1rem;
    text-align: center;
  }
  
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .footer-middle {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    width: 100%;
  }
  
  .footer-middle p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
  }
  
  .tech-icons {
    font-size: 1.8rem;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  footer img {
    width: 120px;
    margin-bottom: 0.5rem;
  }
  
  /* Dark mode adjustments */
  body.dark-mode .footer-middle p,
  body.dark-mode .tech-icons i {
    color: #e0e0e0;
  }
  
  body.dark-mode .tech-icons i:hover {
    color: #8fc1be;
  }
}

body.dark-mode footer p {
  color: #ffffff;
}

/* Otros Trabajos */
body.dark-mode #OtrosTrabajos h2,
body.dark-mode .SectionOthersproject h2 {
  color: #ffffff;
}

body.dark-mode .descripcionCarrusel .liExperiencias li {
  color: #ffffff;
}

body.dark-mode .descripcionCarrusel .liExperiencias a {
  color: #8fc1be;
}

/* TOP Button */
body.dark-mode .TOP {
  border-color: #ffffff;
  color: #ffffff;
  background-color: #0000001a;
}

body.dark-mode .TOP:hover {
  border-color: #8fc1be;
}

/* Logo filter in dark mode */
body.dark-mode .logo {
  filter: brightness(0) invert(1);
}

/* Scroll indicator */
body.dark-mode .arrow-down {
  border-top-color: #8fc1be;
}

body.dark-mode .scroll-indicator p {
  color: #ffffff;
}

/* Container Projects Main */
/* body.dark-mode #ContainerProyectsMain {
  background-color: #0000001a;
} */

/* Additional icon fixes */
body.dark-mode .skill-card-header i,
body.dark-mode .skill-item i {
  color: #8fc1be;
}

/* Ensure all headings are white */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
  color: #ffffff;
}

/* Fix any remaining colored elements */
body.dark-mode .date {
  color: #e0e0e0;
}

body.dark-mode strong,
body.dark-mode b {
  color: #ffffff;
}

/* Carousel controls */
body.dark-mode .carousel-control-prev,
body.dark-mode .carousel-control-next {
  filter: invert(1);
}



.footer-middle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    
}

.footer-middle p {
    margin-bottom: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
}

.tech-icons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.5rem;

}


