* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #0f172a;
  color: #fff;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  padding: 20px 50px;
  background: #020617;
  position: sticky;
  top: 0;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  position: relative;
}

.nav-links a::after {
  content: '';
  width: 0;
  height: 2px;
  background: #38bdf8;
  position: absolute;
  bottom: -5px;
  left: 0;
  transition: 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero */
.hero {
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero span {
  color: #38bdf8;
}

.btn-group {
  margin-top: 20px;
}

.btn {
  padding: 10px 20px;
  background: #38bdf8;
  color: #000;
  text-decoration: none;
  border-radius: 5px;
  margin: 10px;
  transition: 0.3s;
}

.btn:hover {
  transform: scale(1.1);
}

.outline {
  background: transparent;
  border: 2px solid #38bdf8;
  color: #38bdf8;
}

/* Sections */
.section {
  padding: 60px 50px;
}

.section h2 {
  text-align: center;
  margin-bottom: 30px;
}

/* Cards */
.card {
  max-width: 600px;
  margin: auto;
  background: #020617;
  padding: 20px;
  border-radius: 10px;
  animation: fadeIn 2s;
}

/* Skills */
.skill {
  max-width: 600px;
  margin: 15px auto;
}

.bar {
  background: #1e293b;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
}

.progress {
  height: 100%;
  animation: load 2s forwards;
}

.html { width: 80%; background: #83a7b7; }
.css { width: 70%; background: #6215c7; }
.js { width: 50%; background: #89d381; }
.java { width: 60%; background: #fb7185; }
.python{ width: 70%; background: rgb(17, 59, 186);}

/* Projects */
.project-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.project-card {
  background: #020617;
  padding: 20px;
  width: 250px;
  border-radius: 10px;
  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-10px);
}

/* Contact */
.contact-form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  margin: 10px 0;
  padding: 10px;
  border-radius: 5px;
  border: none;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #020617;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes load {
  from { width: 0; }
}
.image-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}
/* Resume Section */
.resume-card {
  max-width: 800px;
  margin: auto;
  background: #020617;
  padding: 20px;
  border-radius: 10px;
  animation: fadeIn 1.5s;
  text-align: center;
}

.resume-buttons {
  margin: 20px 0;
}

.resume-preview iframe {
  width: 100%;
  height: 500px;
  border-radius: 10px;
  border: none;
  background: #fff;
}