html {
  scroll-behavior: smooth;
}

body{
  background-color: black;
  color: aliceblue;
  font-family: 'Inconsolata', monospace;
  /* display: flex; */
}


nav{
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  backdrop-filter: blur(15px);
  background: rgba(0, 0, 0, 0.85);
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

/* I create the mobile hamburger menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  border-radius: 5px;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: linear-gradient(90deg, #00ffff, #00cccc);
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
  box-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}

.mobile-menu-toggle:hover {
  background: rgba(0, 255, 255, 0.2);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}

.mobile-menu-toggle:hover .hamburger-line {
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.6);
}

/* I create hamburger animation */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(9px, 9px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(9px, -9px);
}

.project-pic{
  height: auto;
  width: 30%;
  min-width: 120px;
  margin: 0;
  border-radius: 10px;
  border: 1px solid rgba(0, 255, 255, 0.3);
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.project-pic:hover{
  transform: scale(1.05);
  border-color: rgba(0, 255, 255, 0.6);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.for_slick_slider{
  border: 2px solid rgba(0, 255, 255, 0.2);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 30, 30, 0.2));
  backdrop-filter: blur(20px);
  padding: 40px;
  width: 90%;
  margin: 30px auto;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(0, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* I add hover effects for project cards */
.for_slick_slider:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 255, 255, 0.4);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(0, 255, 255, 0.2);
}

/* I add futuristic corner accents */
.for_slick_slider::before,
.for_slick_slider::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(0, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.for_slick_slider::before {
  top: 15px;
  left: 15px;
  border-right: none;
  border-bottom: none;
}

.for_slick_slider::after {
  bottom: 15px;
  right: 15px;
  border-left: none;
  border-top: none;
}

/* I redesign the project items layout */
.items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  min-height: 500px;
}

.images{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  width: 100%;
  align-items: center;
  margin-top: 20px;
}

.description{
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding-right: 20px;
}

/* I style project titles */
.description h1 {
  font-size: 2.5rem;
  font-family: 'Russo One', sans-serif;
  color: #00ffff;
  text-shadow: 
    0 0 2px #00ffff,
    0 0 4px #00ffff,
    0 0 8px rgba(0, 255, 255, 0.5);
  margin-bottom: 20px;
  letter-spacing: 2px;
  border-bottom: 2px solid rgba(0, 255, 255, 0.3);
  padding-bottom: 10px;
}

/* I style the description content */
.desc {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  padding: 25px;
  border: 1px solid rgba(0, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.desc h6 {
  font-size: 1.1rem;
  font-weight: bold;
  color: #00ffff;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 2px rgba(0, 255, 255, 0.5);
}

.desc p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.9);
  text-align: justify;
}

.desc h4 {
  margin: 20px 0 10px 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.desc h4 span {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

/* I style the tech section */
.tech {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.05), rgba(0, 200, 200, 0.02));
  border-radius: 15px;
  padding: 25px;
  border: 1px solid rgba(0, 255, 255, 0.2);
}

.tech h5 {
  font-size: 1.2rem;
  font-weight: bold;
  color: #00ffff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 2px rgba(0, 255, 255, 0.5);
}

.tech ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.techUsed {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border: 1px solid rgba(0, 255, 255, 0.2);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.techUsed:hover {
  background: rgba(0, 255, 255, 0.1);
  border-color: rgba(0, 255, 255, 0.4);
  transform: translateY(-2px);
}

.techUsed i {
  font-size: 1.2rem;
  color: #00ffff;
}

.bar{
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: row;
  background: transparent;
  border: none;
  height: auto;
  position: static;
  border-radius: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}

  span {
    text-decoration: underline overline;
  }

.navbar{
  position: relative;
  transition: all 0.3s ease;
  list-style: none;
}

.navbar a{
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 12px 20px;
  border-radius: 25px;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 2px solid transparent;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 30, 30, 0.2));
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  text-shadow: 
    0 0 1px #ffffff,
    0 0 2px rgba(255, 255, 255, 0.3);
}

/* I add futuristic hover effects */
.navbar a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.navbar a:hover{
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(0, 200, 200, 0.05));
  border: 2px solid rgba(0, 255, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: 
    0 5px 15px rgba(0, 255, 255, 0.3),
    0 0 20px rgba(0, 255, 255, 0.2);
  text-shadow: 
    0 0 2px #00ffff,
    0 0 4px #00ffff,
    0 0 6px rgba(0, 255, 255, 0.6);
}

.navbar a:hover::before {
  left: 100%;
}

/* I style the dark mode section */
.darkmode {
  display: flex;
  align-items: center;
  gap: 15px;
}

.darkmode-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #ffffff;
  text-shadow: 
    0 0 1px #ffffff,
    0 0 2px rgba(255, 255, 255, 0.3);
}

.profile{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 40px 30px;
  border: 2px solid rgba(0, 255, 255, 0.25);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 30, 30, 0.2));
  backdrop-filter: blur(15px);
  box-shadow: 
    0 0 8px rgba(0, 255, 255, 0.1),
    inset 0 0 8px rgba(0, 255, 255, 0.02);
}

/* I add corner accent lines for sci-fi look */
.profile::before,
.profile::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 255, 255, 0.4);
}

.profile::before {
  top: 10px;
  left: 10px;
  border-right: none;
  border-bottom: none;
}

.profile::after {
  bottom: 10px;
  right: 10px;
  border-left: none;
  border-top: none;
}

.techUsed{
  margin-top: 5%;
}
.primero{
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  min-height: 80vh;
  align-items: flex-start;
  padding-top: 3%;
}
.brand{
  text-align: justify;
  text-justify: inter-word;
  margin-bottom: 2rem;
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.4);
  line-height: 1.8;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  border: 1px solid rgba(0, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
  transition: all 0.3s ease;
}

.brand:hover {
  background: rgba(0, 0, 0, 0.3);
  border-color: rgba(0, 255, 255, 0.2);
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* I add subtle accent line */
.brand::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #00ffff, rgba(0, 255, 255, 0.3));
  border-radius: 0 2px 2px 0;
}

.first{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  text-align: center;
  height: calc(100vh - 50px); /* viewport minus fixed nav */
  min-height: calc(100vh - 50px);
  box-sizing: border-box;
  padding: 50px 0 0; /* push content below 50-px nav */
  justify-content: space-around;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

   .skills{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 40px;
    width: 40%;
    border: 2px solid rgba(0, 255, 255, 0.2);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 30, 30, 0.2));
    backdrop-filter: blur(20px);
    min-height: 60vh;
    box-shadow: 
      0 10px 30px rgba(0, 0, 0, 0.3),
      0 0 20px rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  } 

 

  progress{
  -webkit-appearance: none;
   appearance: none;
   background-color: #eee;
   border-radius: 2px;
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) inset;
}
article{
  align-self: center;
  text-align: center;
  width: 100%;
}

hr{
  border-top: 1px solid aliceblue;
  border-top: 1px solid rgba(0, 255, 255, 0.3);
  box-shadow: 0 0 2px rgba(0, 255, 255, 0.2);
}

a{
  text-decoration: none;
  color: aliceblue;
} 

#contacts{
  display: flex;
  justify-content: space-around;
  flex-direction: row;
  align-items: center;
  margin-bottom: 20px;
  padding: 20px;
  border: 1px solid rgba(0, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  margin: 20px auto;
  max-width: 600px;
}
.experience{
  display: none;
  /* flex-direction: column;
  justify-content: flex-start;
  height: 400px;
  overflow-y: auto;
  white-space: nowrap;
  margin-top: 50px; */
  /* width: 50%; */
  
}

 #experience{
  /* text-align: center;
  margin-top: 30px;
  font-family: 'Russo One', sans-serif;
  font-size: large;  */
  display: none;
  
} 

#about{
  font-size: 2.5rem;
  font-family: 'Russo One', sans-serif;
  text-align: center;
  color: #00ffff;
  text-shadow: 
    0 0 2px #00ffff,
    0 0 4px #00ffff,
    0 0 8px rgba(0, 255, 255, 0.5);
  letter-spacing: 2px;
  margin-bottom: 30px;
  border-bottom: 2px solid rgba(0, 255, 255, 0.3);
  padding-bottom: 15px;
  text-transform: uppercase;
}

.about{
  width: 55%;
  margin-bottom: 0;
  margin-right: 2%;
  border: 2px solid rgba(0, 255, 255, 0.2);
  border-radius: 20px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 30, 30, 0.2));
  backdrop-filter: blur(20px);
  min-height: 60vh;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(0, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* I add hover effects for about section */
.about:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 255, 255, 0.4);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(0, 255, 255, 0.2);
}

/* I add futuristic corner accents */
.about::before,
.about::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(0, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.about::before {
  top: 15px;
  left: 15px;
  border-right: none;
  border-bottom: none;
}

.about::after {
  bottom: 15px;
  right: 15px;
  border-left: none;
  border-top: none;
}

#skills{
  font-size: 2.5rem;
  font-family: 'Russo One', sans-serif;
  text-align: center;
  color: #00ffff;
  text-shadow: 
    0 0 2px #00ffff,
    0 0 4px #00ffff,
    0 0 8px rgba(0, 255, 255, 0.5);
  letter-spacing: 2px;
  margin-bottom: 30px;
  border-bottom: 2px solid rgba(0, 255, 255, 0.3);
  padding-bottom: 15px;
  text-transform: uppercase;
  margin-left: 0;
  margin-top: 0;
}
.contact{
  margin-top: 30px;
  font-weight: bold;
  font-size: large;
  text-shadow: 
    0 0 1px #00ffff,
    0 0 2px #00ffff,
    0 0 4px rgba(0, 255, 255, 0.5);
  letter-spacing: 0.05em;
  text-align: center;
}

main{
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

strong{
  font-weight: bold;
}

h1{
  font-size: xx-large;
  margin-top: 20px;
  font-family: 'Russo One', sans-serif;
}

.name{
  font-size: 600%;
  /* I add subtle neon glow effects - static and realistic */
  text-shadow: 
    0 0 2px #00ffff,
    0 0 4px #00ffff,
    0 0 8px #00ffff,
    0 0 12px rgba(0, 255, 255, 0.6);
  font-weight: bold;
  letter-spacing: 0.1em;
}

.jr{
  font-size: 200%;
  margin-top: 10px;
  /* I add subtle neon glow to subtitle */
  text-shadow: 
    0 0 1px #ffffff,
    0 0 2px #ffffff,
    0 0 4px rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
  border: 1px solid rgba(0, 255, 255, 0.2);
  padding: 15px 20px;
  border-radius: 5px;
  background: rgba(0, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 3px rgba(0, 255, 255, 0.1);
}

#projects{
  /* margin-top: 5%; */
  margin-left: 45%;
  font-size: 200%;
  font-family: 'Russo One', sans-serif;
  text-shadow: 
    0 0 1px #00ffff,
    0 0 2px #00ffff,
    0 0 4px rgba(0, 255, 255, 0.5);
  letter-spacing: 0.05em;
}

.sk{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 20px 15px;
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
  border-radius: 15px;
  border: 2px solid rgba(0, 255, 255, 0.2);
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 30, 30, 0.1));
  backdrop-filter: blur(10px);
  min-height: 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 5px 15px rgba(0, 0, 0, 0.2),
    0 0 10px rgba(0, 255, 255, 0.05);
}

.sk i{
  margin-bottom: 10px;
  font-size: 250%;
  color: #00ffff;
  text-shadow: 
    0 0 2px #00ffff,
    0 0 4px rgba(0, 255, 255, 0.5);
  transition: all 0.3s ease;
}

h3{
  font-size: 1rem;
  font-weight: bold;
  margin: 5px 0;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

h2{
  font-size: 0.8rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-weight: normal;
  letter-spacing: 0.3px;
}

.sk:hover{
  transform: translateY(-10px) scale(1.05);
  border-color: rgba(0, 255, 255, 0.6);
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(0, 200, 200, 0.05));
  box-shadow: 
    0 15px 30px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(0, 255, 255, 0.2);
}

.sk:hover i {
  color: #ffffff;
  text-shadow: 
    0 0 4px #00ffff,
    0 0 8px #00ffff,
    0 0 12px rgba(0, 255, 255, 0.8);
  transform: scale(1.1);
}

.sk:hover h3 {
  color: #00ffff;
  text-shadow: 
    0 0 2px #00ffff,
    0 0 4px rgba(0, 255, 255, 0.6);
}

.education{
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  margin-top: 50px;
}

#education{
  margin-top: 70px;
  font-family: 'Russo One', sans-serif;
  font-size: large;
  text-align: center;
  margin-bottom: 30px;
}


.mobileView{
  display: none;
}


.moreSoon{
  display: flex;
  justify-content: center;
  margin-top: 20%;
}

/* ============================================================================DARKMODE================================================================== */

.onoffswitch {
  position: relative; 
  width: 120px;
  height: 50px;
  -webkit-user-select: none; 
  -moz-user-select: none; 
  -ms-user-select: none;
  /* I add futuristic container styling */
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 30, 30, 0.3));
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 25px;
  box-shadow: 
    0 0 10px rgba(0, 255, 255, 0.2),
    inset 0 0 10px rgba(0, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.onoffswitch-checkbox {
  display: none;
}

.onoffswitch-label {
  display: block; 
  overflow: hidden; 
  cursor: pointer;
  border: none;
  border-radius: 25px;
  height: 46px;
  position: relative;
  transition: all 0.3s ease;
}

.onoffswitch-inner {
  display: block; 
  width: 200%; 
  margin-left: -100%;
  transition: margin 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  height: 46px;
}

.onoffswitch-inner:before, .onoffswitch-inner:after {
  display: block; 
  float: left; 
  width: 50%; 
  height: 46px; 
  padding: 0; 
  line-height: 46px;
  font-size: 12px; 
  color: #00ffff; 
  font-family: 'Inconsolata', monospace; 
  font-weight: bold;
  box-sizing: border-box;
  text-align: center;
  letter-spacing: 1px;
  text-shadow: 
    0 0 2px #00ffff,
    0 0 4px rgba(0, 255, 255, 0.5);
}

.onoffswitch-inner:before {
  content: "ON";
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(0, 200, 200, 0.1));
  color: #00ffff;
  border-right: 1px solid rgba(0, 255, 255, 0.3);
}

.onoffswitch-inner:after {
  content: "OFF";
  background: linear-gradient(135deg, rgba(100, 100, 100, 0.2), rgba(50, 50, 50, 0.1));
  color: #666666;
  text-shadow: 
    0 0 1px #666666,
    0 0 2px rgba(102, 102, 102, 0.3);
}

.onoffswitch-switch {
  display: block; 
  width: 38px; 
  height: 38px;
  margin: 4px;
  background: linear-gradient(135deg, #00ffff, #00cccc);
  position: absolute; 
  top: 0; 
  bottom: 0;
  right: 78px;
  border: 2px solid rgba(0, 255, 255, 0.6);
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 
    0 0 10px rgba(0, 255, 255, 0.4),
    inset 0 0 10px rgba(255, 255, 255, 0.2);
  /* I add futuristic glow orb effect */
  background-image: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), transparent 50%);
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
  margin-left: 0;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
  right: 4px;
  box-shadow: 
    0 0 15px rgba(0, 255, 255, 0.6),
    inset 0 0 15px rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* I add hover effects for the toggle */
.onoffswitch-label:hover .onoffswitch-switch {
  box-shadow: 
    0 0 20px rgba(0, 255, 255, 0.8),
    inset 0 0 15px rgba(255, 255, 255, 0.5);
  transform: scale(1.05);
}

.onoffswitch-checkbox:checked + .onoffswitch-label:hover .onoffswitch-switch {
  box-shadow: 
    0 0 25px rgba(0, 255, 255, 0.9),
    inset 0 0 20px rgba(255, 255, 255, 0.6);
  transform: scale(1.15);
}

.darkmode{
  margin-top: 1%;
}

.dark-mode {
  background-color: whitesmoke;
  color: black;
  /* I create a futuristic light mode theme */
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: #212529;
}

/* I apply light mode styling to all neon elements */
.dark-mode .name{
  /* I invert neon colors for light mode */
  text-shadow: 
    0 0 2px #0066cc,
    0 0 4px #0066cc,
    0 0 8px #0066cc,
    0 0 12px rgba(0, 102, 204, 0.6);
  color: #0066cc;
}

.dark-mode .jr{
  /* I style subtitle for light mode */
  text-shadow: 
    0 0 1px #333333,
    0 0 2px #333333,
    0 0 4px rgba(51, 51, 51, 0.5);
  border: 1px solid rgba(0, 102, 204, 0.3);
  background: rgba(0, 102, 204, 0.05);
  color: #333333;
  box-shadow: 0 0 3px rgba(0, 102, 204, 0.2);
}

.dark-mode .profile{
  /* I style profile container for light mode */
  border: 2px solid rgba(0, 102, 204, 0.4);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 248, 255, 0.8));
  box-shadow: 
    0 0 15px rgba(0, 102, 204, 0.15),
    inset 0 0 15px rgba(0, 102, 204, 0.05);
}

.dark-mode .profile::before,
.dark-mode .profile::after {
  border-color: rgba(0, 102, 204, 0.6);
}

.dark-mode nav{
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 102, 204, 0.3);
  box-shadow: 0 2px 15px rgba(0, 102, 204, 0.1);
  backdrop-filter: blur(15px);
}

.dark-mode .bar{
  background: transparent;
  border: none;
}

.dark-mode .navbar a{
  color: #333333;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(240, 248, 255, 0.6));
  border: 2px solid rgba(0, 102, 204, 0.2);
  text-shadow: 
    0 0 1px #333333,
    0 0 2px rgba(51, 51, 51, 0.3);
}

.dark-mode .navbar a:hover{
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 80, 160, 0.05));
  border: 2px solid rgba(0, 102, 204, 0.6);
  transform: translateY(-2px);
  box-shadow: 
    0 5px 15px rgba(0, 102, 204, 0.3),
    0 0 20px rgba(0, 102, 204, 0.2);
  text-shadow: 
    0 0 2px #0066cc,
    0 0 4px #0066cc,
    0 0 6px rgba(0, 102, 204, 0.6);
}

.dark-mode #about,
.dark-mode #projects,
.dark-mode .contact{
  text-shadow: 
    0 0 1px #0066cc,
    0 0 2px #0066cc,
    0 0 4px rgba(0, 102, 204, 0.5);
  color: #0066cc;
}

.dark-mode .about{
  border: 2px solid rgba(0, 102, 204, 0.3);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 248, 255, 0.8));
  box-shadow: 
    0 10px 30px rgba(0, 102, 204, 0.1),
    0 0 20px rgba(0, 102, 204, 0.05);
}

.dark-mode .about:hover {
  border-color: rgba(0, 102, 204, 0.5);
  box-shadow: 
    0 15px 40px rgba(0, 102, 204, 0.15),
    0 0 30px rgba(0, 102, 204, 0.1);
}

.dark-mode .about::before,
.dark-mode .about::after {
  border-color: rgba(0, 102, 204, 0.6);
}

.dark-mode .brand{
  text-shadow: 0 0 1px rgba(51, 51, 51, 0.5);
  color: #444444;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 102, 204, 0.2);
}

.dark-mode .brand:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 102, 204, 0.3);
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.1);
}

.dark-mode .brand::before {
  background: linear-gradient(180deg, #0066cc, rgba(0, 102, 204, 0.3));
}

.dark-mode .skills{
  border: 2px solid rgba(0, 102, 204, 0.3);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 248, 255, 0.8));
  box-shadow: 
    0 10px 30px rgba(0, 102, 204, 0.1),
    0 0 20px rgba(0, 102, 204, 0.05);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.dark-mode .skills:hover {
  border-color: rgba(0, 102, 204, 0.5);
  box-shadow: 
    0 15px 40px rgba(0, 102, 204, 0.15),
    0 0 30px rgba(0, 102, 204, 0.1);
}

.dark-mode .skills::before,
.dark-mode .skills::after {
  border-color: rgba(0, 102, 204, 0.6);
}

.dark-mode .sk{
  text-shadow: 0 0 1px rgba(51, 51, 51, 0.5);
  color: #333333;
  border: 2px solid rgba(0, 102, 204, 0.3);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(240, 248, 255, 0.6));
  box-shadow: 
    0 5px 15px rgba(0, 102, 204, 0.1),
    0 0 10px rgba(0, 102, 204, 0.05);
}

.dark-mode .sk i {
  color: #0066cc;
  text-shadow: 
    0 0 2px #0066cc,
    0 0 4px rgba(0, 102, 204, 0.5);
}

.dark-mode .sk h3 {
  color: #333333;
}

.dark-mode .sk h2 {
  color: #666666;
}

.dark-mode .sk:hover{
  transform: translateY(-10px) scale(1.05);
  border-color: rgba(0, 102, 204, 0.6);
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 80, 160, 0.05));
  box-shadow: 
    0 15px 30px rgba(0, 102, 204, 0.2),
    0 0 20px rgba(0, 102, 204, 0.15);
}

.dark-mode .sk:hover i {
  color: #ffffff;
  text-shadow: 
    0 0 4px #0066cc,
    0 0 8px #0066cc,
    0 0 12px rgba(0, 102, 204, 0.8);
  transform: scale(1.1);
}

.dark-mode .sk:hover h3 {
  color: #0066cc;
  text-shadow: 
    0 0 2px #0066cc,
    0 0 4px rgba(0, 102, 204, 0.6);
}

.dark-mode #contacts{
  border: 1px solid rgba(0, 102, 204, 0.2);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 10px rgba(0, 102, 204, 0.1);
}

.dark-mode .anchorFooter{
  text-shadow: 0 0 1px rgba(51, 51, 51, 0.5);
  color: #333333;
}

.dark-mode .anchorFooter:hover{
  text-shadow: 
    0 0 2px #0066cc,
    0 0 4px #0066cc,
    0 0 6px rgba(0, 102, 204, 0.6);
  border: 1px solid rgba(0, 102, 204, 0.4);
  background: rgba(0, 102, 204, 0.1);
  color: #0066cc;
}

.dark-mode hr{
  border-top: 1px solid rgba(0, 102, 204, 0.4);
  box-shadow: 0 0 2px rgba(0, 102, 204, 0.3);
}

/* I style the toggle button for light mode */
.dark-mode .onoffswitch {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 248, 255, 0.8));
  border: 2px solid rgba(0, 102, 204, 0.4);
  box-shadow: 
    0 0 10px rgba(0, 102, 204, 0.2),
    inset 0 0 10px rgba(0, 102, 204, 0.05);
}

.dark-mode .onoffswitch-inner:before, 
.dark-mode .onoffswitch-inner:after {
  color: #0066cc;
  text-shadow: 
    0 0 2px #0066cc,
    0 0 4px rgba(0, 102, 204, 0.5);
}

.dark-mode .onoffswitch-inner:before {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.2), rgba(0, 80, 160, 0.1));
  color: #0066cc;
  border-right: 1px solid rgba(0, 102, 204, 0.3);
}

.dark-mode .onoffswitch-inner:after {
  background: linear-gradient(135deg, rgba(150, 150, 150, 0.2), rgba(100, 100, 100, 0.1));
  color: #888888;
  text-shadow: 
    0 0 1px #888888,
    0 0 2px rgba(136, 136, 136, 0.3);
}

.dark-mode .onoffswitch-switch {
  background: linear-gradient(135deg, #0066cc, #0052a3);
  border: 2px solid rgba(0, 102, 204, 0.6);
  box-shadow: 
    0 0 10px rgba(0, 102, 204, 0.4),
    inset 0 0 10px rgba(255, 255, 255, 0.3);
  background-image: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), transparent 50%);
}

.dark-mode .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
  box-shadow: 
    0 0 15px rgba(0, 102, 204, 0.6),
    inset 0 0 15px rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

.dark-mode .onoffswitch-label:hover .onoffswitch-switch {
  box-shadow: 
    0 0 20px rgba(0, 102, 204, 0.8),
    inset 0 0 15px rgba(255, 255, 255, 0.5);
  transform: scale(1.05);
}

.dark-mode .onoffswitch-checkbox:checked + .onoffswitch-label:hover .onoffswitch-switch {
  box-shadow: 
    0 0 25px rgba(0, 102, 204, 0.9),
    inset 0 0 20px rgba(255, 255, 255, 0.6);
  transform: scale(1.15);
}

/* ===================================================================particles.js===================================================== */
canvas{ 
  display: block; 
 
} 

#particles-js{ 
  /* I pin the layer to the viewport so particles are visible across every section */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: #000000; 
  pointer-events: none; /* I avoid blocking clicks */
} 



/* ========================================================================================================================================================== */
@media only screen and (max-width: 600px) {

.profile{
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 60%;
  padding: 25px 20px;
  border-radius: 10px;
  margin: 0 10px;
  padding: 20px 15px;
  margin: 0 15px;
}

  /* I fix the about section layout */
  .primero{
    flex-direction: column;
    margin: 10px 0 20px 0;
    align-items: center;
    padding: 0;
    width: 100%;
    min-height: calc(100vh - 60px);
    justify-content: flex-start;
  }

  .about{
    display: block;
    width: 95%;
    margin-bottom: 1.5rem;
    padding: 25px 20px;
    margin: 0 0 20px 0;
    min-height: calc(60vh - 30px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-radius: 15px;
  }

  .skills{
    width: 95%;
    justify-content: space-evenly;
    margin-top: 20px;
    padding: 25px 20px;
    margin: 20px 0;
    min-height: calc(35vh - 30px);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    align-content: start;
    border-radius: 15px;
  }

  /* I optimize contacts for mobile */
  #contacts{
    flex-direction: column;
    gap: 15px;
    margin: 20px 10px;
    padding: 15px;
  }

  /* I make project slider mobile-friendly */
  .for_slick_slider{
    margin: 20px auto;
    padding: 25px 20px;
    width: 95%;
    border-radius: 15px;
  }

  /* I optimize project layout for mobile */
  .items {
    display: flex;
    flex-direction: column;
    gap: 25px;
    min-height: auto;
  }

  .description {
    padding-right: 0;
    order: 1;
  }

  .images {
    order: 2;
    justify-content: center;
    margin-top: 15px;
  }

  .description h1 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 15px;
  }

  .desc {
    padding: 20px 15px;
  }

  .tech {
    padding: 20px 15px;
  }

  .tech ul {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
  }

  .techUsed {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  .project-pic {
    width: 45%;
    min-width: 100px;
  }

  #about{
    font-size: 150%;
    margin-bottom: 20px;
    text-align: center;
    margin: 0 0 15px 0;
  }

  /* I optimize projects heading for mobile */
  #projects{
    margin-left: 0;
    text-align: center;
    font-size: 180%;
    margin: 20px 0;
  }

  /* I make the hero section take full available space on mobile */
  .first{
    height: calc(100vh - 50px); /* viewport minus fixed nav */
    min-height: calc(100vh - 50px);
    box-sizing: border-box;
    padding: 50px 5% 0; /* push content below 50-px nav */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 0;
  }

  /* I enlarge hero text for small screens */
  .name{
    font-size: 380%;
    line-height: 1.1;
    margin: 0;
    max-width: 90%;
    /* I maintain subtle neon glow on mobile */
    text-shadow: 
      0 0 1px #00ffff,
      0 0 2px #00ffff,
      0 0 4px #00ffff,
      0 0 6px rgba(0, 255, 255, 0.6);
  }

  .jr{
    font-size: 140%;
    margin: 10px 0;
    line-height: 1.3;
    text-align: center;
    /* I adjust subtle neon styling for mobile */
    padding: 10px 15px;
    border-radius: 3px;
    text-shadow: 
      0 0 1px #ffffff,
      0 0 2px rgba(255, 255, 255, 0.5);
  }

  /* I ensure headings are visible below the fixed nav */
  h3[id]{
    scroll-margin-top: 70px;
  }

  .education{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    margin-top: 50px;
  }

  .moreSoon{
    margin-top: 80%;
    margin-left: 10%;

  }

  .project-pic:hover{
    transform: scale(3);
  }

  /* I optimize light mode for mobile */
  .dark-mode .name{
    text-shadow: 
      0 0 1px #0066cc,
      0 0 2px #0066cc,
      0 0 4px #0066cc,
      0 0 6px rgba(0, 102, 204, 0.6);
    color: #0066cc;
  }

  .dark-mode .jr{
    text-shadow: 
      0 0 1px #333333,
      0 0 2px rgba(51, 51, 51, 0.5);
    color: #333333;
  }

  .dark-mode .profile{
    background: rgba(255, 255, 255, 0.85);
    border: 2px solid rgba(0, 102, 204, 0.3);
  }

  /* I optimize text spacing for mobile */
  .brand{
    margin-bottom: 2rem;
    font-size: 105%;
    line-height: 1.8;
  }

  /* I make skills icons larger and better spaced on mobile */
  .sk{
    margin: 0;
    padding: 15px 10px;
    font-size: 85%;
    text-align: center;
    border-radius: 12px;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    min-width: auto;
  }

  .sk i{
    font-size: 220%;
    margin-bottom: 8px;
    display: block;
  }

  /* I add hover effects for mobile skills */
  .sk:hover{
    transform: translateY(-5px) scale(1.03);
  }

  /* I create mobile navigation */
  nav {
    height: 60px;
    padding: 0 15px;
  }

  .mobile-menu-toggle {
    display: flex !important;
    z-index: 1001;
  }

  .bar {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(0, 30, 30, 0.9));
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    padding: 40px 20px;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-right: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.5);
  }

  .bar.active {
    transform: translateX(0);
  }

  .navbar {
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
  }

  .bar.active .navbar {
    opacity: 1;
    transform: translateY(0);
  }

  .bar.active .navbar:nth-child(1) { transition-delay: 0.1s; }
  .bar.active .navbar:nth-child(2) { transition-delay: 0.2s; }
  .bar.active .navbar:nth-child(3) { transition-delay: 0.3s; }

  .navbar a {
    display: block;
    width: 100%;
    padding: 15px 25px;
    font-size: 16px;
    border-radius: 15px;
    margin: 5px 0;
  }

  .darkmode {
    position: fixed;
    top: 15px;
    right: 70px;
    flex-direction: column;
    gap: 5px;
  }

  .darkmode-label {
    font-size: 10px;
    text-align: center;
  }

  /* I add mobile styling for project catalog */
  #project-catalog {
    font-size: 2rem;
    margin: 30px 0 20px 0;
  }

  .project-catalog-section {
    margin: 20px auto;
    padding: 0 2.5%;
  }

  .catalog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 15px 0;
  }

  .catalog-card {
    border-radius: 15px;
  }

  .catalog-image {
    height: 180px;
  }

  .catalog-content {
    padding: 20px;
  }

  .catalog-content h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
  }

  .catalog-content p {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  .catalog-links {
    gap: 10px;
  }

  .catalog-btn {
    padding: 8px 12px;
    font-size: 0.85rem;
    flex: 1;
    justify-content: center;
    min-width: 120px;
  }

  .tech-badge {
    padding: 3px 6px;
    font-size: 0.7rem;
  }

  .catalog-overlay {
    padding: 12px;
  }
}

 /* main {
   display: none;
 }

 .bar{
   display: none;
 }
 .darkmode{
   margin-top: -20%;
 }

 .mobileView{
  display: block;
  text-align: center;
  margin-top: 30%;
}

.loader {
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  /* animation: spin 2s linear infinite;
  margin-left: 30%;
  margin-top: 10%;
} */

/* Safari */
/* @-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
} */



/* } */

/* Desktop & tablets (≥601px) — restore row layout */
@media only screen and (min-width: 601px) {

   
  .first{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    margin-top: 0;
    height: 100vh;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  /* I restore desktop layout for about section */
  .primero{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    min-height: 80vh;
    align-items: flex-start;
    padding-top: 3%;
  }

  .about{
    width: 55%;
    margin-bottom: 0;
    margin-right: 2%;
  }

  .skills{
    width: 40%;
    margin-top: 0;
    margin-left: 2%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 40px;
    min-height: 60vh;
  }

  .sk{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 20px 15px;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    border-radius: 15px;
    border: 2px solid rgba(0, 255, 255, 0.2);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 30, 30, 0.1));
    backdrop-filter: blur(10px);
    min-height: 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
      0 5px 15px rgba(0, 0, 0, 0.2),
      0 0 10px rgba(0, 255, 255, 0.05);
  }

  .sk i{
    margin-bottom: 10px;
    font-size: 250%;
    color: #00ffff;
    text-shadow: 
      0 0 2px #00ffff,
      0 0 4px rgba(0, 255, 255, 0.5);
    transition: all 0.3s ease;
  }
}

.anchorFooter{
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.4);
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.anchorFooter:hover{
  text-shadow: 
    0 0 2px #00ffff,
    0 0 4px #00ffff,
    0 0 6px rgba(0, 255, 255, 0.6);
  border: 1px solid rgba(0, 255, 255, 0.3);
  background: rgba(0, 255, 255, 0.05);
}

/* I add light mode styles for mobile hamburger */
.dark-mode .mobile-menu-toggle {
  background: rgba(0, 102, 204, 0.1);
  border: 1px solid rgba(0, 102, 204, 0.3);
}

.dark-mode .hamburger-line {
  background: linear-gradient(90deg, #0066cc, #0052a3);
  box-shadow: 0 0 5px rgba(0, 102, 204, 0.3);
}

.dark-mode .mobile-menu-toggle:hover {
  background: rgba(0, 102, 204, 0.2);
  box-shadow: 0 0 10px rgba(0, 102, 204, 0.4);
}

.dark-mode .mobile-menu-toggle:hover .hamburger-line {
  box-shadow: 0 0 8px rgba(0, 102, 204, 0.6);
}

.dark-mode .darkmode-label {
  color: #333333;
  text-shadow: 
    0 0 1px #333333,
    0 0 2px rgba(51, 51, 51, 0.3);
}

/* I add light mode mobile menu styles */
@media only screen and (max-width: 600px) {
  .dark-mode .bar {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 248, 255, 0.9));
    border-right: 1px solid rgba(0, 102, 204, 0.3);
    box-shadow: 5px 0 20px rgba(0, 102, 204, 0.2);
  }
}

/* I add hover effects for skills section */
.skills:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 255, 255, 0.4);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(0, 255, 255, 0.2);
}

/* I add futuristic corner accents */
.skills::before,
.skills::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(0, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.skills::before {
  top: 15px;
  left: 15px;
  border-right: none;
  border-bottom: none;
}

.skills::after {
  bottom: 15px;
  right: 15px;
  border-left: none;
  border-top: none;
}

progress{
  -webkit-appearance: none;
   appearance: none;
   background-color: #eee;
   border-radius: 2px;
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) inset;
}

.dark-mode .for_slick_slider{
  border: 2px solid rgba(0, 102, 204, 0.3);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 248, 255, 0.8));
  box-shadow: 
    0 10px 30px rgba(0, 102, 204, 0.1),
    0 0 20px rgba(0, 102, 204, 0.05);
}

.dark-mode .for_slick_slider:hover {
  border-color: rgba(0, 102, 204, 0.5);
  box-shadow: 
    0 15px 40px rgba(0, 102, 204, 0.15),
    0 0 30px rgba(0, 102, 204, 0.1);
}

.dark-mode .for_slick_slider::before,
.dark-mode .for_slick_slider::after {
  border-color: rgba(0, 102, 204, 0.6);
}

/* I style project content for light mode */
.dark-mode .description h1 {
  color: #0066cc;
  text-shadow: 
    0 0 2px #0066cc,
    0 0 4px #0066cc,
    0 0 8px rgba(0, 102, 204, 0.5);
  border-bottom-color: rgba(0, 102, 204, 0.4);
}

.dark-mode .desc {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 102, 204, 0.2);
  color: #333333;
}

.dark-mode .desc h6 {
  color: #0066cc;
  text-shadow: 0 0 2px rgba(0, 102, 204, 0.5);
}

.dark-mode .desc p {
  color: #444444;
}

.dark-mode .desc h4 {
  color: #333333;
}

.dark-mode .desc h4 span {
  color: #666666;
}

.dark-mode .tech {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.08), rgba(0, 80, 160, 0.04));
  border: 1px solid rgba(0, 102, 204, 0.3);
}

.dark-mode .tech h5 {
  color: #0066cc;
  text-shadow: 0 0 2px rgba(0, 102, 204, 0.5);
}

.dark-mode .techUsed {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 102, 204, 0.3);
  color: #333333;
}

.dark-mode .techUsed:hover {
  background: rgba(0, 102, 204, 0.1);
  border-color: rgba(0, 102, 204, 0.5);
}

.dark-mode .techUsed i {
  color: #0066cc;
}

.dark-mode .project-pic {
  border: 1px solid rgba(0, 102, 204, 0.4);
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.1);
}

.dark-mode .project-pic:hover {
  border-color: rgba(0, 102, 204, 0.7);
  box-shadow: 0 10px 25px rgba(0, 102, 204, 0.2);
}

/* I style the individual skill lists to maintain grid layout */
.habilidades,
.habilidades2,
.habilidades3 {
  list-style: none;
  padding: 0;
  margin: 0;
  display: contents;
}

/* I ensure all skill items maintain consistent styling */
.habilidades .sk,
.habilidades2 .sk,
.habilidades3 .sk {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 20px 15px;
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
  border-radius: 15px;
  border: 2px solid rgba(0, 255, 255, 0.2);
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 30, 30, 0.1));
  backdrop-filter: blur(10px);
  min-height: 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 5px 15px rgba(0, 0, 0, 0.2),
    0 0 10px rgba(0, 255, 255, 0.05);
}

/* I add light mode styling for individual skill lists */
.dark-mode .habilidades,
.dark-mode .habilidades2,
.dark-mode .habilidades3 {
  list-style: none;
  padding: 0;
  margin: 0;
  display: contents;
}

.dark-mode .habilidades .sk,
.dark-mode .habilidades2 .sk,
.dark-mode .habilidades3 .sk {
  text-shadow: 0 0 1px rgba(51, 51, 51, 0.5);
  color: #333333;
  border: 2px solid rgba(0, 102, 204, 0.3);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(240, 248, 255, 0.6));
  box-shadow: 
    0 5px 15px rgba(0, 102, 204, 0.1),
    0 0 10px rgba(0, 102, 204, 0.05);
  margin: 0;
  padding: 20px 15px;
  min-height: 120px;
}

/* ============================================================================PROJECT CATALOG================================================================== */

/* I style the project catalog heading */
#project-catalog {
  font-size: 2.5rem;
  font-family: 'Russo One', sans-serif;
  text-align: center;
  color: #00ffff;
  text-shadow: 
    0 0 2px #00ffff,
    0 0 4px #00ffff,
    0 0 8px rgba(0, 255, 255, 0.5);
  letter-spacing: 2px;
  margin: 50px 0 30px 0;
  border-bottom: 2px solid rgba(0, 255, 255, 0.3);
  padding-bottom: 15px;
  text-transform: uppercase;
}

/* I style the project catalog section container */
.project-catalog-section {
  margin: 40px auto;
  padding: 0 2%;
  max-width: 1400px;
}

/* I create the grid layout for project cards */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

/* I style individual project cards */
.catalog-card {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 30, 30, 0.2));
  border: 2px solid rgba(0, 255, 255, 0.2);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  backdrop-filter: blur(20px);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(0, 255, 255, 0.1);
}

.catalog-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 255, 255, 0.4);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(0, 255, 255, 0.2);
}

/* I add futuristic corner accents */
.catalog-card::before,
.catalog-card::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  border: 2px solid rgba(0, 255, 255, 0.5);
  transition: all 0.3s ease;
  z-index: 2;
}

.catalog-card::before {
  top: 15px;
  left: 15px;
  border-right: none;
  border-bottom: none;
}

.catalog-card::after {
  bottom: 15px;
  right: 15px;
  border-left: none;
  border-top: none;
}

/* I style the project image container */
.catalog-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.catalog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.catalog-card:hover .catalog-image img {
  transform: scale(1.05);
}

/* I create the tech overlay */
.catalog-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(0, 0, 0, 0.7) 0%,
    transparent 50%,
    rgba(0, 255, 255, 0.1) 100%
  );
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 15px;
}

.catalog-card:hover .catalog-overlay {
  opacity: 1;
}

/* I style the technology badges */
.catalog-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-badge {
  background: rgba(0, 255, 255, 0.9);
  color: #000000;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 255, 0.3);
  text-shadow: none;
}

.tech-badge i {
  font-size: 1rem;
}

/* I style the project content */
.catalog-content {
  padding: 25px;
}

.catalog-content h4 {
  font-size: 1.5rem;
  font-family: 'Russo One', sans-serif;
  color: #00ffff;
  margin-bottom: 10px;
  text-shadow: 
    0 0 2px #00ffff,
    0 0 4px rgba(0, 255, 255, 0.5);
  letter-spacing: 1px;
}

.catalog-content p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

/* I style the action buttons */
.catalog-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.catalog-btn {
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 2px solid transparent;
  backdrop-filter: blur(10px);
  text-shadow: none;
}

.catalog-btn.primary {
  background: linear-gradient(135deg, #00ffff, #00cccc);
  color: #000000;
  border-color: rgba(0, 255, 255, 0.3);
}

.catalog-btn.primary:hover {
  background: linear-gradient(135deg, #ffffff, #00ffff);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 255, 255, 0.4);
}

.catalog-btn.secondary {
  background: rgba(0, 0, 0, 0.3);
  color: #00ffff;
  border-color: rgba(0, 255, 255, 0.3);
}

.catalog-btn.secondary:hover {
  background: rgba(0, 255, 255, 0.1);
  border-color: rgba(0, 255, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 255, 255, 0.2);
}

.dark-mode .techUsed i {
  color: #0066cc;
}

/* I add light mode styling for project catalog */
.dark-mode #project-catalog {
  color: #0066cc;
  text-shadow: 
    0 0 2px #0066cc,
    0 0 4px #0066cc,
    0 0 8px rgba(0, 102, 204, 0.5);
  border-bottom-color: rgba(0, 102, 204, 0.4);
}

.dark-mode .catalog-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 248, 255, 0.8));
  border: 2px solid rgba(0, 102, 204, 0.3);
  box-shadow: 
    0 10px 30px rgba(0, 102, 204, 0.1),
    0 0 20px rgba(0, 102, 204, 0.05);
}

.dark-mode .catalog-card:hover {
  border-color: rgba(0, 102, 204, 0.5);
  box-shadow: 
    0 20px 40px rgba(0, 102, 204, 0.15),
    0 0 30px rgba(0, 102, 204, 0.1);
}

.dark-mode .catalog-card::before,
.dark-mode .catalog-card::after {
  border-color: rgba(0, 102, 204, 0.6);
}

.dark-mode .catalog-overlay {
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.8) 0%,
    transparent 50%,
    rgba(0, 102, 204, 0.1) 100%
  );
}

.dark-mode .tech-badge {
  background: rgba(0, 102, 204, 0.9);
  color: #ffffff;
  border: 1px solid rgba(0, 102, 204, 0.3);
}

.dark-mode .catalog-content h4 {
  color: #0066cc;
  text-shadow: 
    0 0 2px #0066cc,
    0 0 4px rgba(0, 102, 204, 0.5);
}

.dark-mode .catalog-content p {
  color: #444444;
}

.dark-mode .catalog-btn.primary {
  background: linear-gradient(135deg, #0066cc, #0052a3);
  color: #ffffff;
  border-color: rgba(0, 102, 204, 0.3);
}

.dark-mode .catalog-btn.primary:hover {
  background: linear-gradient(135deg, #0080ff, #0066cc);
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.4);
}

.dark-mode .catalog-btn.secondary {
  background: rgba(255, 255, 255, 0.7);
  color: #0066cc;
  border-color: rgba(0, 102, 204, 0.3);
}

.dark-mode .catalog-btn.secondary:hover {
  background: rgba(0, 102, 204, 0.1);
  border-color: rgba(0, 102, 204, 0.6);
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.2);
}




