/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Kanit", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.container {
  width: 90%;
  margin: auto;
  max-width: 1200px;
}

/* Header + Hero Combined */
.hero {
  height: 100vh;
  background: url('/images/web1.png') no-repeat center center/cover;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.overlay {
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  color: #fff;
  font-size: 28px;
  font-weight: bold;
}

.nav a {
  color: #f07f00;
  margin-left: 20px;
  text-decoration: none;
  font-size: 18px;
}

.hero-content {
  margin-top: 15%;
  text-align: center;
  color: #fff;
  padding-bottom: 60px;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 24px;
  margin-bottom: 40px;
}

.btn {
  background-color: #f07f00;
  color:#fff;
  padding: 12px 30px;
  text-decoration: none;
  font-size: 18px;
  border-radius: 5px;
}

/* Sections */
.section {
  padding: 80px 0;
}

.projects, .contact {
  background: #ecc394;
}

h2 {
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
}

.about, .clients{
  background: #ecc394;
}

#about p{
  font-size: 20px;
  text-align: center;
}

.section-cards {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  shape-outside: margin-box;
}

.card {
  max-width: 370px;
  background: #fff;
  padding: 20px;
  margin: 15px;
  flex: 1 1 300px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
  border-radius: 10px;
  
}

.card img{
  max-width: 260px;
  max-height: 200px;
  border-radius: 10px;
}


/* Footer */
.footer {
  background: #000000;
  color: #ffffff;
  padding: 40px 0 10px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-about, .footer-contact, .footer-social {
  flex: 1 1 300px;
  margin: 20px 0;
}

.footer-about h3,
.footer-contact h4,
.footer-social h4 {
  color: #ffffff;
  margin-bottom: 15px;
}

.footer-social a {
  color: #f07f00;
  margin: 0 5px;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    text-align: center;
  }

  .nav {
    margin-top: 15px;
  }

  .hero-content h2 {
    font-size: 36px;
  }

  .service-cards {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}
