* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(circle at 20% 30%, #0a0f1f, #020617);
  color: #e2e8f0;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(20px);
  background: rgba(10, 15, 31, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 100;
}

.logo {
  font-size: 1.4rem;
  font-weight: 600;
  color: #60a5fa;
}

.logo span {
  color: #f8fafc;
}

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

.nav-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #60a5fa;
}

/* ---------- HERO SECTION ---------- */
.hero-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10rem 10% 6rem;
  min-height: 100vh;
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  width: 100%;
  max-width: 1100px;
}

.hero-text {
  flex: 1 1 450px;
}

.hero-text .hello {
  font-size: 1.1rem;
  color: #94a3b8;
}

.hero-text .name {
  font-size: 3rem;
  font-weight: 700;
  color: #f8fafc;
}

.hero-text .role {
  font-size: 1.3rem;
  color: #60a5fa;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 0.8rem 1.6rem;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 600;
}

.btn.primary {
  background: #60a5fa;
  color: #0a0f1f;
}

.btn.primary:hover {
  background: #3b82f6;
}

.btn.secondary {
  background: transparent;
  border: 1px solid #60a5fa;
  color: #60a5fa;
}

.btn.secondary:hover {
  background: #60a5fa;
  color: #0a0f1f;
}

.hero-img img {
  width: 320px;
  border-radius: 50%;
  border: 3px solid rgba(96, 165, 250, 0.5);
  box-shadow: 0 0 30px rgba(96, 165, 250, 0.3);
  transition: transform 0.4s ease;
}

.hero-img img:hover {
  transform: scale(1.05);
}

.social-icons {
  display: flex;
  gap: 1.2rem;
  margin-top: 2rem;
}

.social-icons img {
  width: 30px;
  cursor: pointer;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.2);
  opacity: 0.8;
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 7rem 10%;
  text-align: center;
}

.alt-bg {
  background: rgba(255, 255, 255, 0.03);
}

.section-title {
  font-size: 2rem;
  color: #f8fafc;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: #94a3b8;
  margin-bottom: 3rem;
}

/* ---------- ABOUT SECTION ---------- */
.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.about-img img {
  width: 280px;
  border-radius: 20px;
  border: 2px solid rgba(96, 165, 250, 0.4);
}

.about-text {
  flex: 1;
  max-width: 600px;
}

.about-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  padding: 1.5rem;
  border-radius: 15px;
  width: 230px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: #60a5fa;
  box-shadow: 0 8px 20px rgba(96, 165, 250, 0.1);
}

/* ---------- EXPERIENCE ---------- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.2rem;
  justify-items: center;
}

.skill-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem 0.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
  transition: all 0.3s ease;
  width: 120px;
  text-align: center;
}

.skill-card:hover {
  transform: translateY(-5px);
  border-color: #60a5fa;
}

/* ---------- PROJECTS ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: #60a5fa;
  box-shadow: 0 12px 30px rgba(96, 165, 250, 0.1);
}

.project-card img {
  width: 100%;
  height: auto;
  max-height: 200px ;
  object-fit: cover;
}

.project-card h3 {
  margin: 1rem 0;
  color: #f8fafc;
}

.project-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding-bottom: 1.5rem;
}

.btn.small {
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
}

/* ---------- CONTACT ---------- */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: #e2e8f0;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-link img {
  width: 24px;
  filter: brightness(0) invert(1);
}

.contact-link:hover {
  color: #60a5fa;
}

/* ---------- FOOTER ---------- */
footer {
  text-align: center;
  padding: 2rem 0;
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.9rem;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-section {
    padding-top: 8rem;
  }

  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
  }

  .about-container {
    flex-direction: column;
  }
}
