* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0F172A;
  color: #F8FAFC;
  font-family: 'JetBrains Mono', monospace;
  background-image:
    linear-gradient(#ffffff05 1px, transparent 1px),
    linear-gradient(90deg, #ffffff05 1px, transparent 1px);
  background-size: 20px 20px;
}

section {
  padding: 80px 40px;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-content {
  max-width: 700px;
  text-align: center;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
}

.hero p {
  margin: 20px 0;
  font-size: 1.1rem;
  color: #94A3B8;
}

.hero-actions button {
  margin: 10px;
  padding: 12px 24px;
  border-radius: 25px;
  border: none;
  background: #38BDF8;
  color: #0F172A;
  cursor: pointer;
}

.hero-actions .outline {
  background: transparent;
  border: 1px solid #38BDF8;
  color: #38BDF8;
}

.theme-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  border: none;
  background: #1E293B;
  color: white;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
}

/* SKILLS */
.skills h2 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 30px;
}

.skill-group {
  margin-bottom: 25px;
}

.badges span {
  display: inline-block;
  background: #1E293B;
  margin: 5px;
  padding: 8px 14px;
  border-radius: 20px;
  color: #38BDF8;
}

/* PROJECTS */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 20px;
}

.project-card {
  background: rgba(30,41,59,0.6);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.project-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.project-card h3 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 10px;
}

.project-card p {
  font-size: 0.9rem;
  color: #CBD5E1;
}

.tech span {
  background: #0F172A;
  color: #38BDF8;
  padding: 5px 10px;
  border-radius: 10px;
  margin-right: 5px;
  font-size: 0.8rem;
}

/* CONTACT */
.contact-box {
  background: rgba(30,41,59,0.6);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 30px;
  max-width: 400px;
}

.contact a {
  color: #38BDF8;
  text-decoration: none;
}

.availability {
  margin-top: 15px;
  background: #1E293B;
  padding: 10px;
  border-radius: 10px;
  color: #38BDF8;
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}
/* ===== MOBILE RESPONSIVE FIX FOR PORTFOLIO DEMO SITE ===== */
@media (max-width: 768px) {

  body {
    overflow-x: hidden;
  }

  /* NAVBAR */
  .navbar {
    flex-direction: column;
    align-items: center;
    padding: 12px;
    gap: 10px;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    padding: 8px 0;
  }

  /* HERO SECTION */
  .hero {
    flex-direction: column;
    padding: 30px 20px;
    text-align: center;
    min-height: auto;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero h2 {
    font-size: 1.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .hero-visual {
    margin-top: 20px;
  }

  .circle-img {
    width: 180px;
    height: 180px;
  }

  /* SECTIONS */
  .section {
    padding: 40px 20px;
    text-align: center;
  }

  /* PROJECTS GRID */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project-card {
    width: 100%;
  }

  /* SEE MORE / SEE LESS BUTTONS */
  .projects-buttons {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  .see-more-btn,
  .see-less-btn {
    width: 100%;
  }

  /* SKILLS */
  .skills-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .skills-list span {
    font-size: 0.9rem;
    padding: 6px 10px;
  }

  /* CONTACT */
  .contact-links {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .contact-links a {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  /* ICONS */
  .icon {
    width: 20px;
    height: 20px;
  }

  /* FOOTER */
  footer {
    text-align: center;
    padding: 20px;
  }

}
