/* RESET */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Poppins','Noto Sans Thai',sans-serif;
  background:#f8fbff;
  color:#0f172a;
  line-height:1.7;
}

/* CONTAINER */
.container{
  width:90%;
  max-width:1200px;
  margin:auto;
}

/* HEADER */
.header{
  position:sticky;
  top:0;
  z-index:1000;

  backdrop-filter:blur(14px);

  background:rgba(15,23,42,0.9);

  border-bottom:1px solid rgba(255,255,255,0.08);

  padding:20px 0;
}

.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.logo{
  color:white;
  font-size:30px;
  font-weight:800;
  letter-spacing:1px;
}

nav a{
  color:white;
  text-decoration:none;
  margin-left:30px;
  font-size:15px;
  font-weight:500;
  transition:0.3s;
}

nav a:hover{
  color:#93c5fd;
}

/* HERO */
.hero{
  padding:120px 0;

  background:
  linear-gradient(
    135deg,
    #eff6ff,
    #dbeafe
  );
}

.hero-content{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:70px;
  align-items:center;
}

.badge{
  display:inline-block;

  padding:10px 18px;

  border-radius:999px;

  background:#dbeafe;

  color:#2563eb;

  font-size:14px;
  font-weight:600;

  margin-bottom:24px;
}

.hero h1{
  font-size:64px;
  line-height:1.1;
  font-weight:800;

  letter-spacing:-2px;

  margin-bottom:24px;
}

.hero p{
  font-size:18px;
  color:#475569;

  margin-bottom:35px;

  max-width:550px;
}

.hero img{
  width:100%;
  border-radius:28px;

  box-shadow:
  0 20px 50px rgba(37,99,235,0.18);
}

/* BUTTON */
button{
  border:none;
  cursor:pointer;

  padding:16px 34px;

  border-radius:14px;

  background:
  linear-gradient(
    90deg,
    #2563eb,
    #1d4ed8
  );

  color:white;

  font-size:16px;
  font-weight:600;

  transition:0.3s;
}

button:hover{
  transform:translateY(-4px);

  box-shadow:
  0 15px 35px rgba(37,99,235,0.3);
}

/* SECTION */
.section{
  padding:110px 0;
}

.section-title{
  text-align:center;

  font-size:48px;
  font-weight:700;

  letter-spacing:-1px;

  margin-bottom:70px;
}

.gray{
  background:#eff6ff;
}

/* ABOUT */
.about-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:70px;
  align-items:center;
}

.about-grid img{
  width:100%;
  border-radius:24px;

  box-shadow:
  0 12px 40px rgba(0,0,0,0.08);
}

.about-grid h3{
  font-size:36px;
  margin-bottom:20px;
}

.about-grid p{
  color:#475569;
  font-size:17px;
}

/* STATS */
.stats{
  display:flex;
  gap:50px;
  margin-top:40px;
}

.stats h2{
  color:#2563eb;
  font-size:40px;
  font-weight:700;
}

.stats p{
  font-size:15px;
}

/* CARDS */
.card-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

.card{
  background:white;

  padding:45px;

  border-radius:24px;

  text-align:center;

  transition:0.35s;

  border:1px solid #e2e8f0;

  box-shadow:
  0 10px 30px rgba(0,0,0,0.04);
}

.card:hover{
  transform:translateY(-10px);

  box-shadow:
  0 20px 40px rgba(37,99,235,0.12);
}

.card i{
  font-size:58px;
  color:#2563eb;

  margin-bottom:20px;
}

.card h3{
  font-size:24px;
  font-weight:600;

  margin-bottom:14px;
}

.card p{
  color:#64748b;
}

/* PROJECTS */
.project-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

.project-card{
  overflow:hidden;

  background:white;

  border-radius:24px;

  transition:0.35s;

  box-shadow:
  0 10px 30px rgba(0,0,0,0.05);
}

.project-card:hover{
  transform:translateY(-8px);
}

.project-card img{
  width:100%;
  height:250px;

  object-fit:cover;
}

.project-card h3{
  padding:24px;

  font-size:22px;
  font-weight:600;
}

/* FOOTER */
.footer{
  background:#0f172a;
  color:white;

  text-align:center;

  padding:35px;
}

/* RESPONSIVE */
@media(max-width:768px){

  .hero-content,
  .about-grid,
  .card-grid,
  .project-grid{
    grid-template-columns:1fr;
  }

  .hero h1{
    font-size:42px;
  }

  .section-title{
    font-size:36px;
  }

  nav{
    display:none;
  }

  .stats{
    flex-direction:column;
    gap:20px;
  }

}