* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #0F0F0F;
  color: #FAFAFA;
  scroll-behavior: smooth;
  line-height: 1.6;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background-color: #0F0F0F;
  border-bottom: 1px solid #1F1F1F;
  position: sticky;
  top: 0;
  z-index: 100;
  flex-wrap: wrap;
}

.logo {
  font-weight: 700;
  font-size: 1.3rem;
  color: #00F0FF;
  letter-spacing: 1px;
}

nav {
  display: flex;
  gap: 2rem;
  flex-wrap: nowrap;
}

nav a {
  color: #FAFAFA;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover {
  color: #6C00FF;
}

section {
  padding: 5rem 2rem;
  max-width: 900px;
  margin: auto;
  text-align: center;
}

#hero {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: radial-gradient(circle at 50% 20%, #1A1A1A 0%, #0F0F0F 100%);
  padding: 0 2rem;
  text-align: center;
}

.hero-text h1 {
  font-size: 3rem;
  color: #00F0FF;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-inline: auto;
}

.cta {
  background-color: #00F0FF;
  color: #0F0F0F;
  padding: 0.8rem 2rem;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s ease;
}

.cta:hover {
  background-color: #6C00FF;
  color: #fff;
}

#about .tools {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.tools span {
  background: #1F1F1F;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid #2A2A2A;
}

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  background-color: #1A1A1A;
  border: 1px solid #2C2C2C;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: left;
  transition: 0.3s;
}

.project-card:hover {
  border-color: #00F0FF;
  transform: translateY(-5px);
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

input, textarea {
  padding: 1rem;
  background: #1A1A1A;
  border: 1px solid #2F2F2F;
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  width: 100%;
}

button {
  padding: 1rem;
  background-color: #00F0FF;
  color: #0F0F0F;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background-color: #6C00FF;
  color: #fff;
}

.socials {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.socials a {
  color: #FAFAFA;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.socials a:hover {
  color: #00F0FF;
}

footer {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #0F0F0F;
  border-top: 1px solid #1F1F1F;
  color: #888;
}

/* ---------------------- */
/* 📱 Mobile Enhancements */
/* ---------------------- */

@media (max-width: 768px) {
  header {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
  }

  nav {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1rem;
    margin-top: 0;
  }

  nav a {
    margin-left: 0;
    font-size: 0.9rem;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .cta {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
  }

  section {
    padding: 3rem 1rem;
  }

  .project-card {
    text-align: center;
  }

  input, textarea, button {
    font-size: 1rem;
  }
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  padding: 1rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* 4 per row if space allows */
  gap: 1rem;
  padding: 1rem 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* responsive 4 cols */
  gap: 1rem;
  padding: 1rem 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* responsive 4 per row */
  gap: 1rem;
  padding: 1rem 0;
}

.gallery {
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* space between each graphic-item block */
  padding: 1rem 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.graphic-item {
  background-color: #1A1A1A;
  border: 1px solid #2C2C2C;
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.graphic-item img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

.graphic-item p {
  margin-top: 0.5rem;
  color: #ccc;
  font-size: 0.9rem;
  text-align: center;
}

/* ----------------------------- */
/* 🚀 Graphic Section Enhancements */
/* ----------------------------- */

#graphics h2 {
  font-size: 2.2rem;
  text-align: center;
  color: #00F0FF;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

#graphics p {
  font-size: 1rem;
  text-align: center;
  color: #aaa;
  margin-bottom: 2rem;
}

/* 🖱️ Hover effect for graphic-item */
.graphic-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.graphic-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
}
