/* ------------------------------
   GLOBAL RESET + BASE
------------------------------ */


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@media (max-width: 376px) {
/* Styles */body {
  font-family: system-ui, sans-serif;
  background: #107ae3;
  color: #111827;
  line-height: 1.6;

}

img {
  max-width: 100%;
  display: block;
  border-radius: 10px;
}

/* ------------------------------
   NAVBAR
------------------------------ */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.2rem;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-size: 1.3rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 1rem;
  list-style: none;
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
  color: #111827;
}

/* ------------------------------
   HERO SECTION
------------------------------ */
.hero {
  padding: 2rem 1.2rem;
  text-align: center;
}

.profile {
  width: 160px;
  height: 160px;
  object-fit: cover;
  margin: 0 auto 1rem;
  border-radius: 50%;
}

.hero h2 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.hero p {
  font-size: 1rem;
  color: #374151;
  margin-bottom: 1.2rem;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
}

.btn-primary {
  background: #111827;
  color: #fff;
}

.btn-secondary {
  border: 1px solid #111827;
  color: #111827;
}

/* ------------------------------
   SECTIONS
------------------------------ */
.section {
  padding: 2rem 1.2rem;
}

.section-alt {
  background: #ffffff;
}

.section h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* ------------------------------
   SKILLS GRID
------------------------------ */
.skills-grid {
  display: grid;
  gap: 1rem;
}

.skill-card {
  background: #f3f4f6;
  padding: 1rem;
  border-radius: 0.6rem;
}

/* ------------------------------
   PROJECTS GRID
------------------------------ */
.projects-grid {
  display: grid;
  gap: 1.5rem;
}

.project-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  overflow: hidden;
}

.project-content {
  padding: 1rem;
}

.project-content h3 {
  margin-bottom: 0.4rem;
}

.project-content ul {
  margin: 0.6rem 0;
  padding-left: 1.2rem;
}

.project-btn {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.6rem 1rem;
  background: #111827;
  color: #fff;
  text-decoration: none;
  border-radius: 0.5rem;
}

/* ------------------------------
   CONTACT FORM
------------------------------ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  font-size: 1rem;
}

/* ------------------------------
   FOOTER
------------------------------ */
.footer {
  padding: 2rem 1.2rem;
  background: #111827;
  color: #e5e7eb;
  text-align: center;
  position: relative;
  bottom: -62px;
}

.footer-links {
  /* margin-top: 1rem; */
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.footer-links a {
  color: #e5e7eb;
  text-decoration: none;
}
}


/* ------------------------------
   RESPONSIVE BREAKPOINTS
------------------------------ */
@media (min-width: 768px) {
  .hero {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 2rem;
  }



  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
