@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  line-height: 1.5;
  font-weight: 300;
  font-family: "Roboto", sans-serif;
  scroll-behavior: smooth;
}

/* Hero Section */
.hero_section {
  background-image: url(image/developer.png);
  min-height: 100vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.text_container {
  color: white;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.black_box {
  padding: 40px 20px;
  background-color: #000;
}

.black_box h2 {
  font-size: 56px;
  color: white;
  text-align: center;
  font-weight: 300;
}

.black_box h2 span {
  font-weight: 700;
  font-size: 64px;
}

/* Work Section */
.work {
  gap: 20px;
  display: grid;
  margin: 50px auto;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 1100px;
  padding: 0 20px;
}

.card {
  width: 100%;
  border-radius: 10px;
  background: #fff;
  box-shadow: 3px 5px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 3px 8px 20px rgba(0, 0, 0, 0.2);
}

.image_container img {
  width: 100%;
  height: auto;
  display: block;
}

.card_content {
  padding: 20px;
  line-height: 1.6;
}

.card_content h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

/* Bottom Section */
.bottom_section {
  display: flex;
  flex-wrap: wrap;
}

.contact {
  background-color: #515603;
  flex: 1 1 300px;
  padding: 32px;
  color: white;
}

.about {
  background-color: #722300;
  flex: 1 1 300px;
  padding: 32px;
  color: white;
}

.contact h2,
.about h2 {
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 20px;
}

footer {
  text-align: center;
  text-transform: uppercase;
  background-color: #000;
  padding: 20px;
  color: white;
}

/* ✅ Responsive Tweaks */
@media (max-width: 1024px) {
  .lg_text {
    font-size: 48px;
  }

  .black_box h2 {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .hero_section {
    min-height: 60vh;
    text-align: center;
    justify-content: center;
  }

  .lg_text {
    font-size: 32px;
  }

  .black_box h2 {
    font-size: 28px;
  }

  .black_box h2 span {
    font-size: 36px;
  }

  .contact h2,
  .about h2 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .lg_text {
    font-size: 24px;
  }

  .text_container {
    padding: 10px;
  }

  .black_box h2 {
    font-size: 22px;
  }

  .black_box h2 span {
    font-size: 28px;
  }

  .contact, .about {
    font-size: 16px;
    padding: 20px;
  }
}
