* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background-color: #111;
  color: #fff;
}

header {
  background: #0d0d0d;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.container {
  width: 90%;
  margin: 0 auto;
  max-width: 1200px;
}

.logo {
  font-size: 2rem;
  color: cyan;
  font-weight: bold;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: cyan;
}

#hero {
  height: 90vh;
  background: linear-gradient(to right, #0f0f0f, #1a1a1a);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-pic {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 2px solid cyan;
}

.hero-content h1 {
  font-size: 3rem;
}

.hero-content span {
  color: cyan;
}

section {
  padding: 4rem 0;
}

h2 {
  text-align: center;
  color: cyan;
  margin-bottom: 2rem;
}

.skills .skill {
  margin: 1rem 0;
}

.progress {
  background: #222;
  border-radius: 20px;
  overflow: hidden;
  height: 10px;
}

.progress-bar {
  height: 10px;
  background: cyan;
  width: 0;
  transition: width 1s ease-in-out;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.project-card {
  background: #1e1e1e;
  padding: 2rem;
  border-left: 5px solid cyan;
  transition: transform 0.3s;
}

.project-card:hover {
  transform: scale(1.05);
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 1rem;
  margin: 0.5rem 0;
  background: #222;
  color: #fff;
  border: none;
}

#contact-form button {
  background: cyan;
  color: #000;
  border: none;
  padding: 1rem 2rem;
  cursor: pointer;
  transition: background 0.3s;
}

#contact-form button:hover {
  background: #00e6e6;
}

footer {
  text-align: center;
  padding: 2rem 0;
  background: #0d0d0d;
}

/* Typing effect cursor */
#about-text::after {
  content: '|';
  animation: blink 1s infinite;
  color: cyan;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}
