* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: 'Times New Roman','nevis', sans-serif;
  background: #0f2027; 
  color: #eee;
  line-height: 1.6;
  min-height: 100vh;
}

header {
  background: rgba(15, 32, 39, 0.95);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0,0,0,0.7);
}

nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

nav .logo {
  font-weight: 700;
  font-size: 1.7rem;
  color: #00ffc8;
  letter-spacing: 3px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  color: #eee;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 8px;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  background-color: #00ffc8;
  color: #0f2027;
}

main {
  max-width: 1100px;
  margin: 6rem auto 2rem;
  padding: 0 2rem 4rem;
}

section {
  margin-bottom: 5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

section:last-child {
  border-bottom: none;
}

h2 {
  text-align: center;
  color: #00ffc8;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  text-shadow: 0 0 8px #00ffc8;
}

.about-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.15rem;
  color: #cbd5e1;
  line-height: 1.8;
}

.skills-list,
.achievements-list,
.projects-list {
  max-width: 900px;
  margin: 1rem auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.skill,
.achievement,
.project {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  flex: 1 1 220px;
  box-shadow: 0 0 15px rgba(0, 255, 200, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.skill:hover,
.achievement:hover,
.project:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0, 255, 200, 0.6);
}

.skill h3,
.achievement h3,
.project h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  color: #00ffc8;
  text-align: center;
}

.project p {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-top: 0.3rem;
  min-height: 50px;
  text-align: center;
}

.contact-info {
  max-width: 500px;
  margin: 2rem auto 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 255, 200, 0.3);
  padding: 2rem 3rem;
  color: #cbd5e1;
  font-size: 1.1rem;
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-info p {
  color: #00ffc8;
}

.contact-info h3 {
  color: #00ffc8;
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
  text-align: left;
}

.contact-info a {
  color: #00ffc8;
  text-decoration: none;
  word-break: break-word;
}

.contact-info a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  nav ul {
    display: none;
  }

  nav .menu-toggle {
    display: block;
    cursor: pointer;
    color: #00ffc8;
    font-size: 1.7rem;
  }

  nav.active ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: rgba(15, 32, 39, 0.95);
    width: 200px;
    border-radius: 6px;
    padding: 1rem 0;
  }

  nav.active ul li {
    margin: 1rem 0;
    text-align: center;
  }
}