* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
   background-color: #fdfaf6;
  color: #1e1e1e;
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
}
.logo img {
  height: 100px;
  width: 100px;
  vertical-align: middle;
}
.pcs {
  width: 100%;
  text-align: center;
  margin-top: 40px;
  font-size: 1.2rem;
  font-style: italic;
  color: #555;
  animation: fadeIn 1s ease-in-out;
}

header {
  background-color: #232323;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
    font-family: 'DotGothic16', sans-serif;

}
header.scrolled {
  background-color: #f5f5dc;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

p{
  font-size: 22px;
  text-align: center;
}
header h1 {
  color: #e50914;
  font-size: 2rem;
  font-family: 'DotGothic16', sans-serif;

}

header nav a {
  margin-left: 20px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}
header.scrolled nav a{
  color: indigo;
}
nav a:hover {
  color: #e50914;
}

.section {
  padding: 80px 40px;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease-out;
}

.section.visible {
  opacity: 1;
  transform: translateX(0);
}

h2 {
  color: #343a40;
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
    font-family: 'DotGothic16', sans-serif;

}
.site-name {
  font-size: 3rem;
  font-weight: 700;
  color: #5f27cd;
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: 1px;
  font-family: 'DotGothic16', sans-serif;
}

.site-name::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  margin: 10px auto 0;
  background: linear-gradient(to right, #5f27cd, #341f97);
  border-radius: 2px;
}
h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  margin: 10px auto 0;
  background: linear-gradient(to right, black, red);
  border-radius: 2px;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

.skill-card {
  padding: 20px 30px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  text-align: center;
}
.skill-card img{
  width: fit-content;
  height: 60px;
}
.projects-section {
  padding: 60px 40px;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #333;
}

.projects-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.project-card {
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  width: 250px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding: 20px 15px;
}

.project-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

.project-card h3 {
  font-size: 1.1rem;
  margin: 15px 0 5px;
  color: #222;
}

.project-card p {
  font-size: 0.9rem;
  color: #666;
}

.project-card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px #0056b3;
}


.education-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}
.edu-card {
  border-radius: 10px;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: default;
  text-align: center;
  background-color:#ffffff;
  border: 1px solid #ddd;
  color: #2b2d42;
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 400px;
  text-align: center;
}
.edu-card img{
  width: 150px;
  height: 100px;

}

.social-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 30px;
}

.social-card {
  font-weight: bold;
  font-size: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
    font-family: 'DotGothic16', sans-serif;
}

.social-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
}
a {
  text-decoration: none;
  color: #5f27cd;
  font-family: 'DotGothic16', sans-serif;
}
a:hover {
  text-decoration: underline;
  color: #341f97;
}
.skill-card,
.social-card {
  background-color:#ffffff;
  border: 1px solid #ddd;
  color: #2b2d42;
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 200px;
  text-align: center;
}

.skill-card:hover,
.edu-card:hover,
.social-card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px #0056b3;
}