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

body {
  font-family: "Segoe UI", "Noto Sans Thai", sans-serif;
  color: #1e2a1e;
  background: #f6fbf6;
  line-height: 1.6;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 30px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
}

.nav-logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: #1e8449;
}

.nav-links a {
  margin-left: 20px;
  text-decoration: none;
  color: #1e2a1e;
  font-size: 0.9rem;
}

.hero {
  text-align: center;
  padding: 80px 20px 60px;
  background: linear-gradient(135deg, #27ae60, #1e8449);
  color: #fff;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.tagline {
  font-size: 1.05rem;
  opacity: 0.95;
  margin-bottom: 24px;
}

.cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-line {
  background: #06c755;
  color: #fff;
}

.btn-call {
  background: #fff;
  color: #1e8449;
}

main {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 20px;
}

section {
  margin-bottom: 60px;
}

h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.6rem;
  color: #1e8449;
}

.course-list {
  list-style: none;
}

.course-list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed #d4efdf;
}

.price {
  font-weight: 600;
  color: #1e8449;
}

.teacher-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.teacher-card {
  text-align: center;
  background: #fff;
  border: 1px solid #d4efdf;
  border-radius: 12px;
  padding: 20px;
}

.teacher-avatar {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.teacher-card h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.teacher-card p {
  font-size: 0.8rem;
  color: #5c7a5c;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.schedule-table th,
.schedule-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #d4efdf;
}

.schedule-table th {
  background: #1e8449;
  color: #fff;
}

.contact {
  text-align: center;
}

.contact p {
  margin-bottom: 8px;
}

.signup-form {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.signup-form input {
  padding: 10px 14px;
  border: 1px solid #d4efdf;
  border-radius: 8px;
  font-size: 0.9rem;
}

.signup-form button {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  background: #1e8449;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}

footer {
  text-align: center;
  padding: 20px;
  color: #5c7a5c;
  font-size: 0.85rem;
  background: #fff;
}
