* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
  padding-top: 80px; 
}

.container {
  width: 90%;
  max-width: 1000px;
  margin: auto;
  padding: 20px 0;
}

header {
  background-color: #333;
  color: white;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.nav-container {
  display: flex;
  justify-content: center; 
  align-items: center;
  padding: 20px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #FFD700;
}

body {
  padding-top: 60px;
}


header h1 {
  margin: 0;
}

#hero {
  background: #007BFF;
  color: white;
  padding: 60px 0;
  text-align: center;
}

#hero h2 {
  color: white;
}

#hero span {
  color: #FFD700;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 20px; 
  justify-content: center; 
  text-align: center; 
}

.hero-image img {
  width: 120px; 
  height: 120px; 
  object-fit: cover; 
  border-radius: 5px; 
}

.hero-text {
  display: flex;
  flex-direction: column; 
  justify-content: center;
  text-align: center; 
}

.hero-text h2 {
  margin: 0;
  font-size: 2rem; 
}

.hero-text p {
  font-size: 1.2rem; 
}

section {
  padding: 60px 20px;
}

#about {
  background-color: #ebebeb; 
}

#projects {
  background-color: #f4f4f4; 
}

#skills {
  background-color: #ebebeb; 
}

section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2em;
  color: #222;
}

#about h2 {
  text-align: center;
}

#projects h2 {
  text-align: center;
}

.project-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.project-text {
  flex: 1 1 300px;
}

.project-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  width: 400px;
}

.project {
  margin-bottom: 20px;
}

#skills h2 {
  text-align: center;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

.skill-box {
  background-color: #ffffff;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  flex: 1 1 300px;
  text-align: center;
  font-weight: bold;
  color: #333;
  transition: all 0.3s ease;
  cursor: pointer;
}

.skill-box:hover {
  background-color: #007BFF;
  color: #fff;
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

footer {
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
}

footer h2 {
  font-size: 1.8em;
  margin-bottom: 10px;
}

footer a {
  color: #90cdf4;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}