* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  padding-top: 100px;
  background-color: #7B68EE;
  font-family: "Segoe UI", sans-serif;
}

/* NAVBAR */
.navbar {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  justify-content: space-between;
  opacity: 95%;
  background: rgba(255, 255, 255, 0.05);
  flex-wrap: nowrap;
  overflow: hidden;
}
@media (max-width: 768px) {
  .navbar {
    justify-content: left;
    gap: 0.2rem;
  }
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links li a:hover {
  color: #007bff;
}

.img {
  height: 60px;
  border-radius: 20%;
  cursor: pointer;
}

/* SECTION ME */
.me {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  text-align: center;
  color: whitesmoke;
}

.me p {
  max-width: 600px;
  font-size: 1.2rem;
  margin-top: 1rem;
  color: whitesmoke;
}

/* PROJECTS GRID */
.my_projects {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
}

/* BUTTON */
.see-projects {
  display: flex;
  justify-content: center;
  padding: 2rem;
}

.button {
  color: white;
  text-decoration: none;
  border-radius: 15px;
  font-weight: bold;
  transition: 0.3s;
  padding: 1rem 1rem;
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 1rem;
}
@media (max-width: 768px) {
  .button {
    font-size: 0.7rem;
    padding: 0.5rem 0.5rem;
    margin: 0;
  }
}

.button:hover {
  background-color: #000;
  transform: scale(1.05);
}

.me .container img {
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  border: 5px solid white;
  box-shadow: 0 15px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
}

.me .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.container {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 15px rgba(0, 0, 0, 0.2);
  width: 40rem;
  height: 30rem;
}

.header_2 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  color: white;
  margin-bottom: 1rem;
}

.nav-links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 1rem;
  flex-wrap: nowrap;
}
@media (max-width: 768px) {
  .nav-links {
    margin: 0;
    padding: 0;
    gap: 0.5rem;
  }
}

.about-section {
  padding: 2rem 5%;
  background-color: transparent;
  color: white;
}
.about-section .about-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 768px) {
  .about-section .about-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
}
.about-section .about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #d1d1d1;
}
.about-section .about-text p strong {
  color: #00ADB5;
}
.about-section .about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}
@media (max-width: 480px) {
  .about-section .about-stats {
    justify-content: center;
    flex-wrap: wrap;
  }
}
.about-section .about-stats .stat-item .stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}
.about-section .about-stats .stat-item .stat-label {
  font-size: 0.8rem;
  color: #00ADB5;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.about-section .about-skills {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 15px rgba(0, 0, 0, 0.2);
}
.about-section .about-skills h3 {
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}
.about-section .about-skills .skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 768px) {
  .about-section .about-skills .skills-list {
    justify-content: center;
  }
}
.about-section .about-skills .skills-list .skill-tag {
  background: rgba(0, 173, 181, 0.1);
  border: 1px solid rgba(0, 173, 181, 0.3);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}
.about-section .about-skills .skills-list .skill-tag:hover {
  background: rgba(0, 173, 181, 0.2);
  transform: translateY(-3px);
}
.about-section .about-skills .skills-list .skill-tag i {
  font-size: 1.2rem;
}

.skills-extra {
  padding: 4rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}
.skills-extra .skills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
@media (max-width: 768px) {
  .skills-extra .skills-grid {
    grid-template-columns: 1fr;
  }
}
.skills-extra .skill-category {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 15px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}
.skills-extra .skill-category:hover {
  border-color: #00ADB5;
  transform: translateY(-5px);
  cursor: pointer;
}
.skills-extra .skill-category .category-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 2rem;
}
.skills-extra .skill-category .category-header i {
  font-size: 2.5rem;
  color: #00ADB5;
}
.skills-extra .skill-category .category-header h3 {
  font-size: 1.3rem;
  color: white;
}
.skills-extra .skill-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.skills-extra .skill-progress .skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #ccc;
}
.skills-extra .skill-progress .progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}
.skills-extra .skill-progress .progress-bar .progress {
  height: 100%;
  background: linear-gradient(90deg, #00ADB5, #007bff);
  border-radius: 10px;
  transition: width 1s ease-in-out;
}
