/* 공통 스타일 */
body {
  margin: 0;
  font-family: 'Pretendard', sans-serif;
  background: #fff;
  color: #222;
  line-height: 1.6;
}

h1, h2, h3 {
  margin: 0.5em 0;
  font-weight: 700;
}

p {
  margin: 0.5em 0 1.5em;
  color: #444;
}

ul {
  padding-left: 1.2em;
  color: #444;
}

a {
  text-decoration: none;
  color: inherit;
}

/* 헤더 */
header {
  background: #111;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header img {
  height: 32px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: white;
  font-weight: bold;
}

/* 메인 배너 */
.hero {
  background: #ffe167;
  text-align: center;
  padding: 4rem 1rem;
}

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

.hero p {
  color: #555;
  font-size: 1.1rem;
}

.btn {
  display: inline-block;
  background: #111;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 2rem;
  font-weight: bold;
  margin-top: 1rem;
}

/* 커리큘럼 + 코칭: 2단 배치 */
.section-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: auto;
}

.section-flex.reverse {
  flex-direction: row-reverse;
}

.section-text {
  flex: 1;
  min-width: 300px;
}

.section-text h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.section-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.section-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 1rem;
}

.section-box {
  flex: 1 1 400px;
  max-width: 500px;
  text-align: center;
}

.section-box img {
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: 1rem;
  margin-top: 1rem;
}

.section-box ul {
  list-style-type: none;  /* 점 제거 */
  padding-left: 0;        /* 왼쪽 여백 제거 */
  margin-bottom: 1rem;
}


/* 강사진 */
#teachers {
  padding: 4rem 2rem;
  background: #f8f8f8;
  text-align: center;
}

.teacher-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.teacher-grid div {
  max-width: 200px;
}

.teacher-grid img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

/* 무료 수업 */
#freeclass {
  text-align: center;
  padding: 4rem 2rem;
}

/* 푸터 */
footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
}
