* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}
html {
  scroll-behavior: smooth;
}
body {
  background: #0d0d0d;
  color: white;
}
.hero {
  height: 100vh;
  background: linear-gradient(to right, #000000, #1a1a1a);
  display: flex;
  flex-direction: column;
}
nav {
  display: flex;
  justify-content: space-between;
  padding: 20px 60px;
  align-items: center;
  position: relative;
}
.logo {
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 2px;
}
nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}
nav ul li {
  cursor: pointer;
  transition: 0.3s;
}
nav ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}
nav ul li a:hover {
  color: #ff4c4c;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
}
.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}
.hero-content h1 {
  font-size: clamp(28px, 5vw, 55px);
  margin-top: 10px;
}
.hero-content p {
  margin: 15px 0;
  color: #bbbbbb;
  font-size: clamp(14px, 2.5vw, 18px);
}
.profile-pic {
  width: clamp(100px, 20vw, 160px);
  height: clamp(100px, 20vw, 160px);
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #ff4c4c;
  box-shadow: 0 0 25px rgba(255, 76, 76, 0.4);
  transition: 0.3s ease;
}
.profile-pic:hover {
  transform: scale(1.05);
}
.btn {
  padding: 12px 25px;
  background: #ff4c4c;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 10px;
  transition: 0.3s;
  display: inline-block;
}
.btn:hover {
  background: #e63b3b;
}
section {
  padding: 80px 60px;
}
section h2 {
  font-size: clamp(22px, 4vw, 32px);
}
.about p {
  max-width: 700px;
  margin-top: 20px;
  color: #cccccc;
  line-height: 1.7;
  font-size: clamp(14px, 2vw, 16px);
}
.skill-boxes {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.box {
  padding: 15px 25px;
  background: #1f1f1f;
  border-radius: 10px;
  transition: 0.3s;
  flex: 1 1 auto;
  min-width: 100px;
  text-align: center;
}
.box:hover {
  background: #2a2a2a;
  transform: translateY(-3px);
}
.certifications h2 {
  margin-bottom: 20px;
}
.cert-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.cert-card {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 10px;
  flex: 1 1 250px;
  max-width: 400px;
  transition: 0.3s;
  border-left: 4px solid #ff4c4c;
}
.cert-card h3 {
  margin-bottom: 8px;
}
.cert-card p {
  color: #cccccc;
  font-size: 14px;
  line-height: 1.5;
}
.cert-card:hover {
  transform: translateY(-5px);
  background: #2a2a2a;
}
.project-container {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.card {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 10px;
  flex: 1 1 250px;
  max-width: 400px;
  transition: 0.3s;
}
.card h3 {
  margin-bottom: 8px;
}
.card p {
  color: #cccccc;
  font-size: 14px;
  line-height: 1.5;
}
.card:hover {
  transform: scale(1.05);
  background: #2a2a2a;
}
.contact p {
  color: #cccccc;
  margin-top: 10px;
}
.contact button {
  margin-top: 15px;
  padding: 10px 20px;
  background: #ff4c4c;
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
  transition: 0.3s;
}
.contact button:hover {
  background: #e63b3b;
}
footer {
  text-align: center;
  padding: 20px;
  background: #000;
  color: #777;
}
@media (max-width: 768px) {
   .hamburger {
    display: block;
  }
  nav {
    flex-wrap: wrap;
    padding: 15px 25px;
  }
  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #111111;
    padding: 15px 0;
    gap: 0;
    border-radius: 0 0 10px 10px;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
  }
  nav ul.active {
    display: flex;
  }
  nav ul li {
    padding: 12px 25px;
    border-bottom: 1px solid #222;
  }
  nav ul li:last-child {
    border-bottom: none;
  }
  .hamburger.active {
    font-size: 28px;
  }
  section {
    padding: 50px 25px;
  }
  .cert-card,
  .card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  nav {
    padding: 12px 15px;
  }
  .logo {
    font-size: 18px;
  }
  section {
    padding: 40px 15px;
  }
  .hero-content {
    padding: 15px;
  }
  .profile-pic {
    width: 100px;
    height: 100px;
    border-width: 3px;
  }
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  .skill-boxes {
    gap: 10px;
  }
  .box {
    padding: 12px 18px;
    font-size: 14px;
    min-width: 80px;
  }
  .cert-card,
  .card {
    padding: 15px;
  }
  .contact button {
    width: 100%;
    padding: 12px;
  }
  footer {
    font-size: 13px;
  }
}
