* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #f3f3f3;
  background: #0f0f11;
  line-height: 1.6;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: #151518;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.logo {
  font-weight: 600;
  font-size: 1.5rem;
  color: #00bcd4;
}

nav a {
  margin-left: 25px;
  text-decoration: none;
  color: #ccc;
  transition: color 0.3s;
  font-weight: 500;
}

nav a.active,
nav a:hover {
  color: #00bcd4;
}

#hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px;
  text-align: center;
  gap: 40px;
  flex-wrap: wrap;
}

.profile-pic {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #00bcd4;
  box-shadow: 0 8px 20px rgba(0, 188, 212, 0.3);
}

.hero-text h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #fff;
}

.hero-text p {
  font-size: 1.2rem;
  color: #aaa;
  margin-bottom: 25px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: #00bcd4;
  color: #0f0f11;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 188, 212, 0.4);
}

section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

h2 {
  color: #00bcd4;
  margin-bottom: 30px;
  font-size: 2rem;
  text-align: center;
}

#about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #ccc;
  text-align: center;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.project-card {
  background: #1c1c1f;
  padding: 30px;
  border-radius: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #252529;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 188, 212, 0.2);
  border-color: #00bcd4;
}

.project-card h3 {
  color: #00bcd4;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.project-card p {
  color: #bbb;
  line-height: 1.7;
}

.project-card a {
  color: #00bcd4;
  text-decoration: none;
  font-weight: 600;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.skill-card {
  background: #1c1c1f;
  padding: 25px;
  border-radius: 16px;
  border: 1px solid #252529;
  transition: transform 0.3s, box-shadow 0.3s;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 188, 212, 0.15);
  border-color: #00bcd4;
}

.skill-card h3 {
  color: #00bcd4;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.skill-card p {
  color: #bbb;
  line-height: 1.6;
  font-size: 0.95rem;
}

.working-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.working-card {
  background: #1c1c1f;
  padding: 25px;
  border-radius: 16px;
  border: 1px solid #252529;
  border-left: 4px solid #00bcd4;
  transition: transform 0.3s, box-shadow 0.3s;
}

.working-card:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 20px rgba(0, 188, 212, 0.15);
}

.working-card h3 {
  color: #00bcd4;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.working-card p {
  color: #aaa;
  line-height: 1.6;
  font-size: 0.9rem;
}

.devlog-preview {
  background: #1c1c1f;
  margin: 20px auto;
  padding: 30px;
  max-width: 800px;
  border-radius: 16px;
  border: 1px solid #252529;
  transition: transform 0.3s, box-shadow 0.3s;
}

.devlog-preview:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 188, 212, 0.2);
  border-color: #00bcd4;
}

.devlog-preview a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.devlog-preview h3 {
  color: #00bcd4;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.devlog-subtitle {
  color: #aaa;
  font-size: 1rem;
}

.blog-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.back-link {
  color: #00bcd4;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 30px;
  transition: color 0.3s;
}

.back-link:hover {
  color: #00d4e8;
}

.blog-post h1 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-align: left;
}

.post-meta {
  background: #1c1c1f;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 40px;
  border-left: 4px solid #00bcd4;
}

.post-meta p {
  color: #00bcd4;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.meta-info {
  list-style: none;
  padding: 0;
}

.meta-info li {
  color: #aaa;
  margin: 8px 0;
  font-size: 0.95rem;
}

.meta-info strong {
  color: #ccc;
}

.post-content {
  color: #ccc;
  line-height: 1.8;
}

.post-content h3 {
  color: #00bcd4;
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.post-content p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

#contact ul {
  list-style: none;
  margin-top: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

#contact li {
  margin: 20px 0;
  font-size: 1.1rem;
  color: #ccc;
}

#contact a {
  color: #00bcd4;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

#contact a:hover {
  color: #00d4e8;
}

footer {
  text-align: center;
  padding: 40px 0;
  background: #151518;
  color: #888;
  font-size: 0.9rem;
  border-top: 1px solid #252529;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 15px;
  }

  nav a {
    margin: 0 10px;
  }

  .hero-text h2 {
    font-size: 2rem;
  }

  #hero {
    padding: 60px 20px;
  }

  .blog-post h1 {
    font-size: 2rem;
  }
}