:root {

  --bg-primary: #0B0F1A;
  --bg-secondary: #121826;

  --neon-blue: #1A5CFF;
  --neon-magenta: #FF4FC3;
  --neon-lime: #C6F500;
  --neon-cyan: #00F0FF;

  --text-primary: #FFFFFF;
  --text-secondary: #A0AEC0;

}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {

  background: linear-gradient(
    135deg,
    #0B0F1A 0%,
    #121826 50%,
    #0B0F1A 100%
  );

  color: var(--text-primary);

  font-family: 'Segoe UI', sans-serif;

}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}



.gradient-text {
  background: linear-gradient(90deg, #7c5cff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.btn-primary {
  padding: 14px 28px;
  background: linear-gradient(90deg, #7c5cff, #00d4ff);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(124,92,255,0.6);
}

.btn-secondary {
  padding: 14px 28px;
  border: 1px solid #7c5cff;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-secondary:hover {
  background: #7c5cff;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glowMove {
  from {
    transform: translate(-100px, -100px);
  }
  to {
    transform: translate(100px, 100px);
  }
}

.elite-button {
  background: linear-gradient(90deg, var(--elite-blue), var(--elite-magenta), var(--elite-lime));
  color: white;
  padding: 14px 32px;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.elite-button:hover {
  background: linear-gradient(90deg, var(--elite-orange), var(--elite-magenta));
  transform: translateY(-3px);
}

.section {
  padding: 80px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.elite-card {

  background: rgba(255,255,255,0.03);

  border: 1px solid rgba(255,255,255,0.08);

  backdrop-filter: blur(20px);

  border-radius: 16px;

  padding: 30px;

  transition: 0.3s;

}

.elite-card:hover {

  border: 1px solid var(--neon-blue);

  box-shadow:
    0 0 20px rgba(26,92,255,0.3);

  transform: translateY(-5px);

}

footer {
  text-align: center;
  padding: 30px 0;
  background: linear-gradient(90deg, var(--elite-blue), var(--elite-magenta));
  color: white;
}
.background-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.6;
  animation: float 12s infinite ease-in-out;
}

.shape1 {
  width: 400px;
  height: 400px;
  background: #1A5CFF;
  top: -100px;
  left: -100px;
}

.shape2 {
  width: 350px;
  height: 350px;
  background: #FF4FC3;
  bottom: -120px;
  right: -100px;
}

.shape3 {
  width: 300px;
  height: 300px;
  background: #C6F500;
  top: 40%;
  left: 60%;
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-40px) rotate(20deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}
.elite-button {

  background: linear-gradient(
    90deg,
    var(--neon-blue),
    var(--neon-magenta)
  );

  color: white;

  border: none;

  padding: 14px 30px;

  border-radius: 10px;

  font-weight: 600;

}

.elite-button:hover {

  box-shadow:
    0 0 20px var(--neon-blue),
    0 0 40px var(--neon-magenta);

}

/* Glow effect */
.hero-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124,92,255,0.4), transparent);
  filter: blur(120px);
  animation: glowMove 6s infinite alternate;
}
.hero-subtitle {
  font-size: 20px;
  color: #a0aec0;
  margin-bottom: 30px;
  animation: fadeUp 1.4s ease;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  animation: fadeUp 1.8s ease;
}
.hero {
  position: relative;
  min-height: 100vh;
  background: #0b0f1a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-container {
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.hero-title {
  font-size: 56px;
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-bottom: 20px;
  animation: fadeUp 1s ease;
}
.hero h2 {
  font-size: 42px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}
.hero-content {

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 60px;

  flex-wrap: wrap;

}

.hero-text {

  flex: 1;

}

.hero-photo {

  position:relative;
  width:180px;
  height:180px;
  border-radius:50%;
  margin-top:20px;
  margin-bottom:15px;

  display:flex;
  justify-content:center;
  align-items:center;
 
}

.hero-photo img {

  width:100%;
  height:100%;
  border-radius:50%;
  object-fit:cover;

  position:relative;
  z-index:2;

}
/* ARO ELITE */
.hero-photo::before{

content:"";
position:absolute;

width:100%;
height:100%;
border-radius:50%;

padding:3px;

background:linear-gradient(
45deg,
#00f5ff,
#ff00c8,
#00f5ff
);

background-size:300% 300%;

animation:eliteBorder 6s linear infinite;

transition:all 0.4s ease;

z-index:1;

}

/* EFECTO HOVER */
.hero-photo:hover::before{

background:linear-gradient(
45deg,
#ff00c8,
#00f5ff,
#ff00c8
);

transform:scale(1.08);

filter:blur(1px);

}

/* ANIMACION */
@keyframes eliteBorder{

0%{background-position:0% 50%;}
50%{background-position:100% 50%;}
100%{background-position:0% 50%;}

}

.hero-photo img:hover {

  transform: scale(1.05);

  box-shadow:
    0 0 30px var(--neon-magenta),
    0 0 60px rgba(255,79,195,0.3);

}#about .container.elite-card p {
	text-align: justify;
}

.elite-projects {

  padding: 120px 20px;
  background: radial-gradient(circle at top, #0f172a, #020617);
  color: white;

}

.elite-title {

  font-size: 48px;
  text-align: center;
  margin-bottom: 60px;

  background: linear-gradient(90deg,#7c5cff,#00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

}

.elite-accordion {

  max-width: 900px;
  margin: auto;

}

.elite-item {

  border-radius: 14px;
  margin-bottom: 20px;

  background: rgba(255,255,255,0.03);

  backdrop-filter: blur(10px);

  transition: 0.4s;

}

.elite-item:hover {

  box-shadow:
  0 0 20px rgba(124,92,255,0.3),
  0 0 40px rgba(0,212,255,0.2);

}

.elite-header {

  width: 100%;
  padding: 24px;
  font-size: 20px;
  background: transparent;
  border: none;
  color: white;
  display: flex;
  justify-content: space-between;
  cursor: pointer;

}

.elite-dot {

  width: 10px;
  height: 10px;
  background: linear-gradient(#7c5cff,#00d4ff);
  border-radius: 50%;
  display: inline-block;
  margin-right: 10px;

  box-shadow: 0 0 10px #7c5cff;

}

.elite-icon {

  font-size: 24px;
  transition: 0.4s;

}

.elite-content {

  max-height: 0;
  overflow: hidden;
  opacity: 0;

  transition: all 0.5s ease;

}

.elite-item.active .elite-content {

  max-height: 300px;
  opacity: 1;
  padding: 0 24px 24px;

}

.elite-item.active .elite-icon {

  transform: rotate(45deg);
  color: #00d4ff;

}

.elite-tags span {

  display: inline-block;
  margin: 6px;
  padding: 6px 12px;

  border-radius: 20px;

  background: rgba(124,92,255,0.2);

  font-size: 12px;

}
.nav-right {

  display: flex;
  align-items: center;
  gap: 20px;

}

.language-switch {

  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 20px;

}

.flag {

  width: 26px;
  height: 18px;

  cursor: pointer;

  border-radius: 4px;

  opacity: 0.6;

  transition: 0.3s;

  border: 1px solid rgba(255,255,255,0.2);

}

.flag:hover {

  opacity: 1;

  transform: scale(1.1);

  box-shadow:
    0 0 10px rgba(0,212,255,0.6);

}

.flag.active {

  opacity: 1;

  box-shadow:
    0 0 12px rgba(124,92,255,0.9);

}

/* GRID ELITE */

.skills-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

  gap: 30px;

  margin-top: 40px;

}


/* CARD ULTRA ELITE */

.skill-card {

  position: relative;

  padding: 40px 30px;

  border-radius: 20px;

  background: rgba(255,255,255,0.03);

  border: 1px solid rgba(255,255,255,0.08);

  backdrop-filter: blur(20px);

  transition: all 0.4s ease;

  overflow: hidden;

}


/* glow effect */

.skill-card::before {

  content: "";

  position: absolute;

  inset: 0;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(0,212,255,0.15),
    transparent
  );

  opacity: 0;

  transition: opacity 0.4s ease;

}


/* hover */

.skill-card:hover {

  transform: translateY(-10px);

  border: 1px solid rgba(0,212,255,0.4);

  box-shadow:
    0 10px 40px rgba(0,212,255,0.15);

}

.skill-card:hover::before {

  opacity: 1;

}


/* icon */

.skill-icon {

  font-size: 32px;

  margin-bottom: 15px;

}


/* title */

.skill-card h3 {

  font-size: 20px;

  margin-bottom: 10px;

}


/* text */

.skill-card p {

  opacity: 0.8;

}
/* skill bar container */

.skill-bar {

  margin-top: 15px;

}


/* skill info row */

.skill-info {

  display: flex;

  justify-content: space-between;

  font-size: 14px;

  margin-bottom: 5px;

}


/* progress background */

.skill-progress {

  height: 8px;

  background: rgba(255,255,255,0.08);

  border-radius: 10px;

  overflow: hidden;

}


/* progress fill elite */

.skill-fill {

  height: 100%;

  width: 0;

  border-radius: 10px;

  background: linear-gradient(
    90deg,
    
	#0C9,
    
	#3C3,
    
	#6F0
  );

  box-shadow:
    0 0 10px rgba(0,212,255,0.6),
    0 0 20px rgba(123,97,255,0.4);

  transition: width 1.5s ease;

}
.elite-badges{

display:flex;
flex-wrap:wrap;
gap:12px;
margin-top:25px;
justify-content:center;

}

.badge{

background: rgba(255,255,255,0.05);

border:1px solid rgba(255,255,255,0.1);

padding:8px 16px;

border-radius:20px;

font-size:14px;

color:#fff;

backdrop-filter: blur(10px);

transition: all 0.3s ease;

cursor: default;

opacity:0;

transform: translateY(20px);

animation: badgeFade 0.8s forwards;

}

.badge:nth-child(1){animation-delay:0.2s;}
.badge:nth-child(2){animation-delay:0.4s;}
.badge:nth-child(3){animation-delay:0.6s;}
.badge:nth-child(4){animation-delay:0.8s;}
.badge:nth-child(5){animation-delay:1s;}

.badge:hover{

background: linear-gradient(90deg,#00c6ff,#0072ff);

transform: scale(1.08);

box-shadow: 0 0 15px rgba(0,198,255,0.6);

}
.elite-badges{

display:flex;
flex-wrap:wrap;
justify-content:center;
gap:10px;
max-width:600px;

}

@keyframes badgeFade{

to{

opacity:1;
transform: translateY(0px);

}

}

/* ========================= */
/* NAVBAR ULTRA ELITE */
/* ========================= */

.navbar{

  position:fixed;
  top:0;
  width:100%;

  background:rgba(11,15,26,0.65);

  backdrop-filter:blur(20px);

  border-bottom:1px solid rgba(255,255,255,0.08);

  z-index:1000;

}

.nav-content{

  display:flex;
  justify-content:space-between;
  align-items:center;

  height:70px;

}

.logo{

  font-size:20px;
  font-weight:600;
  color:#ffffff !important;
  

}

/* NAVBAR BASE */

.navbar{
  position:relative;
}

.nav-content{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* menú desktop */

.nav-menu{
  display:flex;
  gap:20px;
  align-items:center;
}

/* botón hamburguesa */

.menu-toggle{
  display:none;
  font-size:28px;
  cursor:pointer;
}

/* MOBILE */

@media (max-width:768px){

  .menu-toggle{
    display:block;
  }

  .nav-menu{

    display:none;

    position:absolute;

    top:70px;
    right:0;

    width:100%;

    background:#0B0F1A;

    flex-direction:column;

    padding:20px;

  }

  .nav-menu.active{
    display:flex;
  }

}

/* Links del menú siempre blanco */
.nav-menu a{
  color:#ffffff !important;
  text-decoration:none;
}

/* Evita que cambien al visitar */
.nav-menu a:visited{
  color:#ffffff !important;
}

/* Hover elegante sin cambiar color */
.nav-menu a:hover{
  color:#ffffff !important;
  opacity:0.8;
}

/* Click activo */
.nav-menu a:active{
  color:#ffffff !important;
}

/* Botón hamburguesa siempre blanco */
.menu-toggle{
  color:#ffffff !important;
}


/* ================================ */
/* CERTIFICATIONS SECTION */
/* ================================ */

.certifications-section{

  padding:100px 20px;

  max-width:1200px;
  margin:auto;

}

.section-title{

  color:white;

  font-size:32px;

  margin-bottom:40px;

}

/* grid */

.certifications-grid{

  display:grid;

  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

  gap:25px;

}

/* card */

.cert-card{

  display:flex;

  gap:20px;

  padding:25px;

  border-radius:16px;

  background:rgba(255,255,255,0.03);

  backdrop-filter:blur(12px);

  border:1px solid rgba(255,255,255,0.08);

  transition:all 0.3s ease;

}

/* hover effect */

.cert-card:hover{

  transform:translateY(-6px);

  border:1px solid rgba(0,212,255,0.4);

  box-shadow:0 10px 30px rgba(0,212,255,0.2);

}

/* logo */

.cert-logo{

  width:50px;
  height:50px;

}

/* info */

.cert-info h3{

  color:white;

  font-size:18px;

  margin-bottom:5px;

}

.cert-org{

  color:#00d4ff;

  font-size:14px;

}

.cert-date{

  color:#aaa;

  font-size:13px;

  margin-bottom:10px;

}

.cert-link{

  color:#7c5cff;

  text-decoration:none;

  font-size:14px;

  font-weight:500;

}

.cert-link:hover{

  text-shadow:0 0 10px rgba(124,92,255,0.8);

}



/* SECTION */

.certifications-section{

  padding:100px 20px;
  max-width:1200px;
  margin:auto;

}

.section-title{

  color:white;
  font-size:32px;
  margin-bottom:40px;

}

/* GRID */

.certifications-grid{

  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:25px;

}

/* CARD */

.cert-card{

  display:flex;
  gap:20px;
  padding:25px;

  border-radius:16px;

  background:rgba(255,255,255,0.03);

  border:1px solid rgba(255,255,255,0.08);

  backdrop-filter:blur(10px);

  cursor:pointer;

  transition:0.3s;

}

.cert-card:hover{

  transform:translateY(-8px);

  box-shadow:0 10px 30px rgba(0,212,255,0.3);

}

/* LOGO */

.cert-logo{

  width:50px;
  height:50px;

}

/* TEXT */

.cert-info h3{

  color:white;

}

.cert-org{

  color:#00d4ff;

}

.cert-date{

  color:#aaa;

}

/* BUTTON */

.cert-btn-container{

  text-align:center;
  margin-top:40px;

}

.cert-btn{

  padding:12px 30px;

  background:linear-gradient(90deg,#00d4ff,#7c5cff);

  border:none;

  color:white;

  border-radius:30px;

  cursor:pointer;

  font-size:16px;

  transition:0.3s;

}

.cert-btn:hover{

  transform:scale(1.05);

}

/* VISOR CERTIFICADO */

.visor-certificado{

  display:none;

  position:fixed;
  top:0;
  left:0;

  width:100%;
  height:100%;

  background:rgba(0,0,0,0.9);

  justify-content:center;
  align-items:center;

  z-index:10000;

  animation:fadeIn 0.3s;

}

.visor-certificado img{

  max-width:90%;
  max-height:90%;

  border-radius:10px;

  animation:zoomIn 0.3s;

}

.cerrar-visor{

  position:absolute;
  top:20px;
  right:30px;

  font-size:40px;
  color:white;

  cursor:pointer;

}

/* animaciones */

@keyframes fadeIn{
  from{opacity:0;}
  to{opacity:1;}
}

@keyframes zoomIn{
  from{
    transform:scale(0.7);
    opacity:0;
  }
  to{
    transform:scale(1);
    opacity:1;
  }
}

/* ========================= */
/* CV SECTION ELITE */
/* ========================= */

.cv-section{

  padding:100px 20px;

  background:
  radial-gradient(circle at center,
  rgba(124,92,255,0.08),
  transparent);

  text-align:center;

}

.cv-container{

  max-width:700px;
  margin:auto;

}

.cv-section h2{

  font-size:36px;

  margin-bottom:15px;

  background: linear-gradient(90deg,#7c5cff,#00d4ff);

  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;

}

.cv-section p{

  color:#a0aec0;
  margin-bottom:30px;

}

/* BOTÓN ELITE */

.cv-button{

  display:inline-flex;

  align-items:center;

  gap:10px;

  padding:16px 32px;

  font-size:18px;

  border-radius:12px;

  text-decoration:none;

  color:black;

  background: linear-gradient(
  90deg,
  
  #039,
  
  
  #3FC,
  
  
  #6F0
  );

  box-shadow:
  0 0 20px rgba(124,92,255,0.4);

  transition: all 0.3s ease;

}

/* hover premium */

.cv-button:hover{

  transform:translateY(-4px);

  box-shadow:
  0 0 30px rgba(0,212,255,0.6),
  0 0 60px rgba(124,92,255,0.4);

}






/* ========================== */
/* EDUCATION GOOGLE STYLE */
/* ========================== */

.edu-section{
  padding:120px 20px;
  max-width:1100px;
  margin:auto;
}

.edu-timeline{
  position:relative;
  border-left:2px solid rgba(124,92,255,0.4);
  margin:40px 0;
  padding-left:30px;
}

.edu-item{
  position:relative;
  margin-bottom:60px;
}

.edu-dot{
  position:absolute;
  left:-10px;
  top:15px;
  width:16px;
  height:16px;
  background:#7c5cff;
  border-radius:50%;
  box-shadow:0 0 15px rgba(124,92,255,0.7);
}

.edu-card{
  background:rgba(255,255,255,0.03);
  padding:30px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.08);
  transition:0.4s;
}

.edu-card:hover{
  transform:translateY(-8px);
  box-shadow:0 0 25px rgba(0,212,255,0.3);
}

.edu-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.edu-logo{
  width:150px;
}

.edu-badges{
  display:flex;
  gap:10px;
}

.badge-top{
  background:#00ff88;
  color:black;
  padding:5px 10px;
  border-radius:20px;
  font-size:12px;
  font-weight:600;
}

.badge-gpa{
  background:#7c5cff;
  color:white;
  padding:5px 10px;
  border-radius:20px;
  font-size:12px;
}

.edu-university{
  color:#00d4ff;
}

.edu-date{
  color:#aaa;
}

/* DIPLOMAS */

.diploma-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:25px;
  margin-top:40px;
}

.diploma-card{
  background:rgba(255,255,255,0.03);
  padding:20px;
  border-radius:16px;
  text-align:center;
  cursor:pointer;
  transition:0.3s;
}

.diploma-card:hover{
  transform:translateY(-6px);
  box-shadow:0 0 20px rgba(0,212,255,0.3);
}

.diploma-logo{
  width:150px;
  margin-bottom:15px;
}

/* MODAL */

.diploma-modal{
  display:none;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.9);
  justify-content:center;
  align-items:center;
  z-index:9999;
}

.diploma-img{
  max-width:90%;
  max-height:90%;
  border-radius:12px;
}

.close-diploma{
  position:absolute;
  top:30px;
  right:40px;
  font-size:40px;
  color:white;
  cursor:pointer;
}


/* CONTACT SECTION */

.contact-section{
  padding:100px 10%;
  text-align:center;
}

.contact-title{
  font-size:2.5rem;
  margin-bottom:60px;
  color:white;
}

/* container */

.contact-container{
  display:flex;
  justify-content:center;
  gap:30px;
  flex-wrap:wrap;
}

/* card */

.contact-card{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.1);
  backdrop-filter:blur(10px);
  border-radius:16px;
  padding:35px;
  width:300px;
  transition:all .35s ease;
  position:relative;
}

/* hover glow */

.contact-card:hover{
  transform:translateY(-8px);
  box-shadow:0 0 35px rgba(138,43,226,0.35);
}

/* icon */

.contact-icon{
  font-size:40px;
  margin-bottom:15px;
}

/* text */

.contact-card h3{
  color:white;
  margin-bottom:10px;
}

.contact-card p{
  color:#b8b8b8;
  margin-bottom:20px;
}

/* button */

.contact-btn{
  display:inline-block;
  padding:10px 20px;
  border-radius:8px;
  text-decoration:none;
  color:white;
  border:1px solid rgba(255,255,255,0.2);
  transition:all .3s ease;
}

.contact-btn:hover{
  background:#8a2be2;
  border-color:#8a2be2;
}


.fade-in{

opacity:0;
transform:translateY(30px);
transition:1s;

}

.fade-in.visible{

opacity:1;
transform:translateY(0);

}

