body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background-color: #0b0b0b;
  color: #f2f2f2;
  scroll-behavior: smooth;
}

header {
  text-align: center;
  padding: 120px 20px 60px;
}

header h1 {
  font-size: 3.2rem;
  letter-spacing: 2px;
  font-weight: 600;
}

header p {
  color: #999;
  font-size: 1.1rem;
}

section {
  max-width: 900px;
  margin: 100px auto;
  padding: 0 20px;
}

h2 {
  font-size: 2rem;
  border-bottom: 2px solid #ff4b2b;
  display: inline-block;
  padding-bottom: 6px;
  margin-bottom: 35px;
}

.about,
.resume,
.projects {
  line-height: 1.8;
  color: #cfcfcf;
}

.resume-entry {
  margin-bottom: 30px;
}

.resume-entry h3 {
  margin: 0 0 5px 0;
  font-size: 1.3rem;
  color: #ff4b2b;
}

.resume-entry p,
.resume-entry li {
  color: #ccc;
  margin-bottom: 4px;
}

.projects .project {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  transition: 0.3s ease;
}

.projects .project:hover {
  background: #222;
  transform: translateY(-5px);
}

footer {
  text-align: center;
  padding: 50px 0;
  color: #777;
  font-size: 0.9rem;
}

.resume-img-wrapper {
  text-align: center;
  margin-top: 20px;
}

.resume-img {
  width: 350px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
  border: 2px solid #ff4b2b;
}

.resume-img:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.popup {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}

.popup-content {
  max-width: 95%;
  max-height: 95%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 40px;
  right: 60px;
  font-size: 50px;
  color: white;
  cursor: pointer;
  font-weight: bold;
}
.projects .project img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

nav {
  background: #111;
  padding: 15px 0;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 999;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  display: inline-block;
  margin: 0 20px;
}

nav ul li a {
  text-decoration: none;
  color: #f2f2f2;
  font-weight: 500;
  transition: 0.3s ease;
}

nav ul li a:hover {
  color: #ff4b2b;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.skill {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 10px;
  transition: 0.3s ease;
}

.skill:hover {
  background: #222;
  transform: translateY(-5px);
}

.skill h3 {
  color: #ff4b2b;
  margin-bottom: 10px;
}

.skill p {
  color: #ccc;
  line-height: 1.6;
}
.project-video {
  width: 70%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  margin-top: 10px;
  border: 2px solid #ff4b2b;
}
.skill-badge {
  width: 120px;       /* adjust size */
  display: block;     /* centers below heading */
  margin: 10px 0;
  border-radius: 6px;
  border: 2px solid #ff4b2b;
}
/* style all links in your about/contact section */
.about a {
  color: #ff4b2b;    /* matches your accent color */
  text-decoration: none;  /* removes underline */
  transition: 0.3s ease;
}

.about a:hover {
  color: #ffa07a;   /* lighter shade on hover */
}
img {
  width: 100%;
  max-width: 400px; /* change this */
  height: auto;
  display: block;
}
.resume-img {
  display: block;
  margin: 0 auto; /* centers it */
  max-width: 500px; /* or whatever size you want */
  width: 100%;
  height: auto;
  cursor: default; /* prevents zoom cursor */
}

#resume {
  text-align: center;
}
.resume-img {
  display: block;
  margin: 0 auto;
  width: 400px; 
  height: auto;
}