* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f5f7fa;
  color: #333;
  scroll-behavior: smooth;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.fixed-width {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.custom-navbar {
  background-color: #0e0e0e;
  color: #fff;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.site-title {
  font-size: 1.6rem;
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-link {
  color: #ccc;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 6px 10px;
  border-radius: 6px;
}

.nav-link:hover {
  color: #fff;
  background-color: #1d3557;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-link::after {
  content: '';
  display: block;
  height: 2px;
  background: #a8dadc;
  transition: width 0.3s ease;
  width: 0;
  margin-top: 3px;
}

.nav-link:hover::after {
  width: 100%;
}

.hero-section {
  height: 100vh;
  background: linear-gradient(135deg, #001c3e, #005c97);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.hero-section h1 {
  font-size: 3rem;
}

.hero-section p {
  margin-top: 10px;
  font-size: 1.2rem;
}

.section {
  padding: 60px 0;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}

.about-text {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.skill-badge-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

.badge {
  background: linear-gradient(135deg, #7b2cbf, #5a189a);
  color: #fff;
  padding: 10px 16px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.95rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.project-card {
  background: linear-gradient(135deg, #edf2fb, #dbe4ff);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.project-card h5 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #1d3557;
}

.project-card a {
  display: inline-block;
  margin-top: 10px;
  color: #4361ee;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}

.project-card a:hover {
  color: #3a0ca3;
  border-bottom: 1px solid #3a0ca3;
}

.footer {
  background-color: #0e0e0e;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  margin-top: 60px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 10px 0;
}

.footer-links a {
  color: #bbb;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  margin-top: 15px;
  font-size: 0.9rem;
  color: #999;
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.2rem;
  }

  .hero-section p {
    font-size: 1rem;
  }

  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    margin-top: 10px;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .about-text {
    font-size: 1rem;
  }
}
