
/* =========================
   TOPBAR
========================= */

.topbar{
  width:100%;
  border-bottom:1px solid #000;
  background:#fff;
}

.container{
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
}

.inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:70px;
}

/* 로고 */
.brand{
  font-size:22px;
  font-weight:700;
  display:flex;
  align-items:center;
  gap:8px;
}

.dot{
  width:10px;
  height:10px;
  background:#000;
  border-radius:50%;
}

/* 메뉴 */
.nav{
  display:flex;
  gap:40px;
}

.nav a{
  text-decoration:none;
  color:#000;
  font-size:15px;
  font-weight:500;
}

.nav a:hover{
  opacity:0.6;
}

/* 버튼 */
.btn.primary{
  background:#000;
  color:#fff;
  padding:10px 22px;
  border-radius:8px;
  text-decoration:none;
  font-size:14px;
  transition:.3s;
}

.btn.primary:hover{
  background:#333;
}

/* =========================
   MOBILE
========================= */

@media (max-width:768px){

  .nav{
    display:none;
  }

  .btn.primary{
    padding:8px 14px;
    font-size:13px;
  }

  .brand{
    font-size:18px;
  }

}




.review-header{
text-align:center;
padding:80px 20px;
border-bottom:1px solid #000;
}

.review-summary{
display:flex;
justify-content:center;
gap:60px;
margin-top:40px;
}

.review-summary strong{
font-size:36px;
display:block;
}

/* BEST 슬라이드 */

.best-review{
margin:100px auto;
max-width:1200px;
text-align:center;
}
.review-list{text-align:center;}

.slider{
overflow:hidden;
}

.slider-track{
display:flex;
gap:20px;
animation:slide 20s linear infinite;
}

.review-card{
min-width:300px;
border:1px solid #000;
padding:30px;
border-radius:20px;
background:#fff;
}

@keyframes slide{
0%{transform:translateX(0);}
100%{transform:translateX(-50%);}
}

/* 후기 리스트 */

.review-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
max-width:1100px;
margin:60px auto;
}

.list-card{
border:1px solid #000;
padding:25px;
border-radius:16px;
}

/* CTA */

.review-cta{
text-align:center;
margin:120px 0;
}
/* =====================
   성장 그래프 좌우 배치
===================== */

.growth-section{
  text-align:center;
}

.growth-wrapper{
    display:flex;
  align-items:center;
  justify-content:space-between; /* ⭐ 핵심 */
  max-width:1000px;
  margin:60px auto;
}


.growth-title{
  font-size:36px;
  margin-bottom:60px;
}

.growth-graph{
  position:relative;
  width:320px;
  height:320px;
  margin:0 auto;
  border:2px solid #000;
  border-radius:20px;
  display:flex;
  justify-content:center;
  align-items:center;
  overflow:hidden;
}

/* 성장 바 */
.graph-bar{
  position:absolute;
  bottom:0;
  width:100%;
  height:100%;
}

.graph-fill{
  position:absolute;
  bottom:0;
  width:100%;
  height:0%;
  background:#000;
  animation:growth 2s ease forwards;
}

/* 가운데 메시지 */
.growth-center{
  position:absolute;
  z-index:2;
  color:#fff;
  text-align:center;
}

.growth-center span{
  font-size:40px;
}

.growth-center p{
  font-size:20px;
  font-weight:700;
  margin-top:10px;
}

/* 애니메이션 */
@keyframes growth{
  from{height:0;}
  to{height:75%;}
}

/* 오른쪽 영역 */
.growth-stats{
  width:300px;
}

.stat-item{
  margin-bottom:25px;
}

.stat-item span{
  font-size:14px;
  font-weight:600;
}

.stat-bar{
  height:10px;
  background:#eee;
  border-radius:10px;
  margin-top:6px;
  overflow:hidden;
}

.stat-fill{
  height:100%;
  background:#000;
  width:0;
  animation:fillBar 1.5s forwards;
}

@keyframes fillBar{
  from{width:0;}
}

/* 모바일 */
@media(max-width:900px){
  .growth-wrapper{
    flex-direction:column;
  }
}

/* =====================
   공부 이미지 슬라이드
===================== */

.study-gallery{
  padding:100px 20px;
  text-align:center;
}

.gallery-slider{
  overflow:hidden;
  max-width:1100px;
  margin:40px auto;
}

.gallery-track{
  display:flex;
  gap:20px;
  animation:slideGallery 25s linear infinite;
}

.gallery-track img{
  width:320px;
  height:220px;
  object-fit:cover;
  border-radius:14px;
  flex-shrink:0;
}

/* 자동 슬라이드 */
@keyframes slideGallery{
  0%{transform:translateX(0);}
  100%{transform:translateX(-50%);}
}