/** Home **/
/* header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(0px);
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

header.scrolled {
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 5%;
}

header .logo a img {
  width: 200px;
}

.gnb-mobile,
.btn-gnb-toggle {
  display: none;
}

header .gnb .gnb__list {
  display: flex;
  align-items: center;
  gap: 40px;
}

header .gnb .gnb__list .gnb__link {
  font-weight: 600;
  position: relative;
  padding: 10px;
  z-index: 1;
}

header .gnb .gnb__list .gnb__link::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scaleX(0);
  width: 100%;
  height: 2px;
  background-color: rgba(30, 47, 77, 0.3);
  transition: transform 0.3s ease;
  transform-origin: right;
  z-index: -1;
}

header .gnb .gnb__list .gnb__link:hover::before {
  transform: translate(-50%, -50%) scaleX(1);
  transform-origin: left;
}

header .gnb .gnb__list .gnb__link.active::before {
  transform: translate(-50%, -50%) scaleX(1);
  transform-origin: left;
}

/* sub menu */
header .mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 40px 0;
  display: flex;
  justify-content: center;
  gap: 100px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 1;
}

header .mega-column {
  min-width: 200px;
}

header .mega-column ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

header .mega-column ul li {
  position: relative;
}

header .mega-column ul li::before {
  position: absolute;
  top: 2px;
  right: -27px;
  content: "";
  width: 3px;
  height: 21px;
  background-color: #1e2f4d;
}

header .mega-column ul li:last-child::before {
  display: none;
}

header .mega-column ul li a {
  text-decoration: none;
  color: #1e2f4d;
  font-weight: 500;
  transition: color 0.2s;
}

header .mega-column ul li a:hover {
  font-weight: 700;
}

header .gnb__item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
}

/* main visual */
.main-visual {
  background-image: linear-gradient(to right, #c3ccdd, #ecf1f8, #c3ccdd);
  font-family: "Paperlogy";
}
.main-visual__wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 0;
  text-align: center;
  color: #9aa8c0;
}
.main-visual__title {
  padding: 15px 50px;
  border-radius: 15px;
  background-color: rgba(255, 255, 255, 0.4);
  font-size: 50px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}
.main-visual__desc {
  margin-top: 20px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.6;
}
.main-visual__desc .highlight--txt {
  position: relative;
  z-index: 1;
}
.main-visual__desc .highlight--txt::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 40%;
  background-color: #fff;
  z-index: -1;
}

/* color card */
.color-card {
  padding: 50px 0;
  text-align: center;
  background-color: #fff;
}

.color-card__title {
  font-size: 28px;
  font-weight: 700;
  color: #1e2f4d;
  margin-bottom: 50px;
}

.color-card__llists {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* PC: 4열 */
  gap: 30px;
  justify-items: center;
}

.color-card__list {
  width: 250px;
  padding: 30px 20px;
  background-color: #f5f9ff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: transform 0.2s ease;
}
.color-card__list:hover {
  transform: translateY(-4px);
}

.color-path__icon {
  width: 60px;
  height: 60px;
}

.color-card__list-title {
  font-weight: 600;
  font-size: 18px;
  color: #1e2f4d;
}
.color-card__list-icon {
  width: 100px;
  height: 100px;
  border-radius: 100%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.color-card__list-icon .material-symbols-outlined {
  font-size: 45px;
}
.color-card__list:first-child .color-card__list-icon {
  border: 2px solid #fadadd;
}
.color-card__list:first-child
  .color-card__list-icon
  .material-symbols-outlined {
  color: #fadadd;
}
.color-card__list:nth-child(2) .color-card__list-icon {
  border: 2px solid #5c6bc0;
}
.color-card__list:nth-child(2)
  .color-card__list-icon
  .material-symbols-outlined {
  color: #5c6bc0;
}
.color-card__list:nth-child(3) .color-card__list-icon {
  border: 2px solid #81c784;
}
.color-card__list:nth-child(3)
  .color-card__list-icon
  .material-symbols-outlined {
  color: #81c784;
}
.color-card__list:nth-child(4) .color-card__list-icon {
  border: 2px solid #51207c;
}
.color-card__list:nth-child(4)
  .color-card__list-icon
  .material-symbols-outlined {
  color: #51207c;
}

.color-card__btn {
  padding: 8px 16px;
  font-size: 18px;
  border-radius: 4px;
  font-weight: 600;
}

/* color description */
.color-description {
  background-color: #fff4ed;
  padding: 60px 0;
  text-align: center;
}

.color-description__text {
  font-family: "Paperlogy";
  font-size: 28px;
  font-weight: 600;
  text-align: left;
  line-height: 1.8;
  color: #373737;
}

/* color cta */
.color-cta {
  padding: 80px 0;
  text-align: center;
}

.color-cta__text {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #1e2f4d;
}

.color-cta__btn-wrap {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.color-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 320px;
  height: 80px;
  border-radius: 15px;
  background-color: #1e2f4d;
  border: 3px solid transparent;
  color: #fff;
  font-weight: 600;
  font-size: 24px;
  transition: 0.5s;
}
.color-cta__btn:hover {
  background-color: #fff;
  border-color: #1e2f4d;
  color: #1e2f4d;
}

/** About **/
/* 공통 */
.sub-visual {
  margin-top: 150px;
  background-color: #e9ecf2;
  font-family: "Paperlogy";
}
.sub-visual__wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 325px;
}
.sub-visual__wrap h2 {
  font-size: 50px;
  font-weight: 700;
  color: #1e2f4d;
}
.sub-visual__wrap p {
  font-size: 40px;
  font-weight: 600;
  color: #4c5664;
  text-align: center;
}

/* sub-content */
.sub-content__wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 30px;
}

/* sub-content__head */
.sub-content__head {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  margin: 30px auto 0;
  color: #1e2f4d;
}
.sub-content__head .sub-content__title {
  font-size: 24px;
  font-weight: 700;
}
.sub-content__head .sub-contnet__list ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
}
.sub-content__head .sub-contnet__list ul li {
  position: relative;
  font-size: 22px;
  font-weight: 600;
}
.sub-content__head .sub-contnet__list ul li::before {
  position: absolute;
  top: 9px;
  right: -28px;
  content: "";
  width: 4px;
  height: 20px;
}
.sub-content__head .sub-contnet__list.about-list ul li::before {
  background-color: #edcbd1;
}
.sub-content__head .sub-contnet__list ul li:last-child::before {
  display: none;
}
.sub-content__head .sub-content__summary {
  font-size: 22px;
  font-weight: 600;
  text-align: center;
}

/* sub-content__body */
.sub-content__body {
  margin: 0 auto 30px;
}
.sub-cards ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 30px;
}
/* 카드 */
.sub-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  background-color: #e9ecf2;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.sub-card:hover {
  transform: translateY(-5px);
}

.sub-card__icon span {
  font-size: 100px;
}

.sub-card__title {
  font-size: 24px;
  color: #333;
  font-weight: 600;
  margin-bottom: 10px;
}

.sub-card__desc {
  font-size: 18px;
  color: #333;
  line-height: 1.5;
}

/* About */
/* company card css */
.sub-cards--company ul li:first-child .sub-card__icon span {
  color: #1f51a2;
}
.sub-cards--company ul li:nth-child(2) .sub-card__icon span {
  color: #f0ec5e;
}
.sub-cards--company ul li:nth-child(3) .sub-card__icon span {
  color: #f8cbd3;
}
.sub-cards--company ul li:last-child .sub-card__icon span {
  color: #9470b4;
}

/* colorpsy card css*/
.sub-cards--colorpsy ul li:first-child .sub-card__icon span {
  color: #1e52a5;
}
.sub-cards--colorpsy ul li:nth-child(2) .sub-card__icon span {
  color: #f8cbd3;
}
.sub-cards--colorpsy ul li:nth-child(3) .sub-card__icon span {
  color: #f0ec5e;
}
.sub-cards--colorpsy ul li:last-child .sub-card__icon span {
  color: #117a66;
}

/* personalcolor card css*/
.sub-cards--personalcolor ul li:first-child .sub-card__icon span {
  color: #5da8a7;
}
.sub-cards--personalcolor ul li:nth-child(2) .sub-card__icon span {
  color: #d36b8c;
}
.sub-cards--personalcolor ul li:nth-child(3) .sub-card__icon span {
  color: #4d7da9;
}
.sub-cards--personalcolor ul li:last-child .sub-card__icon span {
  color: #a67ac5;
}

/* profile */
.profile-lists {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.profile-lists__ourteam {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 50px;
  width: 900px;
  height: 845px;
  background-color: #dae0eb;
}
.profile-lists__ourteam img:not(.ourteam-logo) {
  max-width: 70%;
  max-height: 70%;
  height: auto;
  object-fit: contain;
}

.profile-lists__ourteam .ourteam-logo {
  width: 180px;
}
.profile-lists__ourteam .ourteam {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  bottom: 0;
  width: 100%;
  height: 90px;
  background-color: #1e2f4d;
}
.profile-lists__ourteam .ourteam p {
  text-align: center;
  font-size: 30px;
  color: #fff;
}
.profile-lists__wrap {
  margin: 20px auto;
}
.profile-lists__wrap ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.profile-list {
  position: relative;
  background-color: #e9ecf2;
  height: 588px;
}
.profile-list .profile-list__contents {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-list .profile-list__contents .profile-logo {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 35%;
}
.profile-list .profile-list__contents .profile-img {
  margin-top: 50px;
}
.profile-list__name {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  margin: 10px auto;
  color: #fff;
}
.profile-list__name h3 {
  font-size: 28px;
}
.profile-list__name p {
  font-size: 22px;
}
.profile-list__texts {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 267px;
  background-color: #1e2f4d;
}
.profile-list__text ul {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  margin: 10px 30px;
}
.profile-list__text ul li {
  position: relative;
  color: #fff;
  font-size: 18px;
}
.profile-list__text ul li::before {
  position: absolute;
  top: 10px;
  left: -13px;
  content: "";
  width: 5px;
  height: 10px;
  border-radius: 50%;
  background-color: #fff;
  transform: rotate(20deg);
}

/* 자격증 전체 섹션 스타일 */
.qualification {
  padding: 60px 20px;
}

/* 카드들을 감싸는 그리드 */
.qualification-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* 개별 카드 스타일 */
.qualification-card {
  background-color: #fff;
  border-top: 5px solid #1e2f4d;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 24px;
  display: block;
  min-height: 260px;
}

/* 넓은 카드 (마지막 항목 등) */
.qualification-card.wide {
  grid-column: span 2;
}

/* 카드 제목 */
.card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #b93b69;
  margin-bottom: 12px;
  border-bottom: 1px solid #e4cfd3;
  padding-bottom: 6px;
}

/* 카드 본문 텍스트 */
.card-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333;
}

/* 카드 내부 리스트 */
.card-list {
  list-style: disc;
  padding-left: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

/* 강의 */
.program-section {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 50px;
}
.program-section__list {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}
.program-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.program-info .program-info__title,
.program-section__table .program-table__title {
  font-size: 20px;
  font-weight: 600;
  color: #1e2f4d;
}
.program-info .program-info__text,
.program-info .program-info__list {
  font-size: 18px;
  font-weight: 500;
  color: #333;
}
.program-info .program-info__list {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}
.program-info .program-info__list li {
  position: relative;
  padding-left: 20px;
}
.program-info .program-info__list li::before {
  position: absolute;
  top: 11px;
  left: 7px;
  content: "";
  width: 6px;
  height: 9px;
  border-radius: 50%;
  background-color: #1e2f4d;
  transform: rotate(20deg);
}
.program-section__table {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.program-section__table .program-table__title {
  font-size: 22px;
}

.program-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #1e2f4d;
}

.program-table th {
  background-color: #1e2f4d;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  border: 1px solid #1e2f4d;
  padding: 16px;
  text-align: center;
}

.program-table td {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  border: 1px solid #1e2f4d;
  padding: 16px;
  vertical-align: top;
  text-align: center;
}

/* 컨설팅 프로세스 */

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.consult-card {
  background: #fff;
  border: 1px solid #ccc;
  border-top: 5px solid #1e2f4d;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  color: #1e2f4d;
  margin-bottom: 12px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 6px;
}

.card-list {
  padding-left: 20px;
  font-size: 15px;
  color: #333;
}

.card-list li {
  position: relative;
  margin-bottom: 8px;
}
.card-list li::before {
  position: absolute;
  top: 9px;
  left: -15px;
  content: "";
  width: 5px;
  height: 9px;
  border-radius: 50%;
  background-color: #1e2f4d;
  transform: rotate(20deg);
}

/* 스타일링 */
.style-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.style-box {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  border: 1px solid #ccc;
  border-radius: 12px;
  background-color: #f9f9f9;
  transition: box-shadow 0.3s ease;
}

.style-box:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.material-symbols-outlined.icon-style {
  font-size: 48px;
  color: #1e2f4d;
  flex-shrink: 0;
}

.style-content h4 {
  font-size: 20px;
  margin-bottom: 0.5rem;
  color: #1e2f4d;
  font-weight: 600;
}

.style-content p {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

/* contact */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 40px;
}

.contact-info {
  flex: 1;
  min-width: 280px;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  font-size: 18px;
  color: #333;
}

.contact-info .material-symbols-outlined {
  font-size: 24px;
  color: #1e2f4d;
  margin-right: 10px;
}

.contact-map {
  flex: 1;
  min-width: 504px;
  max-width: 100%;
}

.contact-map img {
  width: 100%;
  height: auto;
  display: block;
}

.kakao-btn-wrap {
  margin-top: 24px;
}

.kakao-btn {
  display: inline-flex;
  align-items: center;
  background-color: #fee500;
  color: #000;
  font-weight: bold;
  font-size: 16px;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.kakao-btn:hover {
  background-color: #ffeb00;
}

.kakao-btn .material-symbols-outlined {
  margin-right: 8px;
  font-size: 22px;
}

/* footer */
footer {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1e2f4d;
  height: 645px;
}
footer h1 img {
  width: 335px;
  filter: brightness(0) saturate(100%) invert(97%) sepia(96%) saturate(9%)
    hue-rotate(272deg) brightness(103%) contrast(100%);
}
footer .footer__conts {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin: 80px auto;
  border-bottom: 3px solid #fff;
  padding-bottom: 50px;
}
footer .footer__left-cont {
  display: flex;
  flex-direction: column;
}

footer .footer__left-cont ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__left-cont ul li {
  display: flex;
  align-items: center;
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
}

.footer__left-cont ul li span:first-child {
  display: inline-flex;
  align-items: center;
  border-right: 1px solid #fff;
  padding-right: 15px;
  min-width: 80px;
}

.footer__left-cont ul li span:last-child {
  margin-left: 35px;
}

.footer__right-cont ul {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}
.footer__right-cont ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 18px;
  color: #fff;
}
.footer__right-cont ul li:first-child:hover a {
  color: #c01d3a;
}
.footer__right-cont ul li:nth-child(2):hover a {
  color: #5580c4;
}
.footer__right-cont ul li:last-child:hover a {
  color: #f0ec5e;
}

.footer__right-cont ul li a .material-symbols-outlined {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.footer__right-cont ul li a:hover .material-symbols-outlined {
  transform: translate(2px, -2px);
}
.footer__right-cont ul li:first-child:hover a {
  color: #c01d3a;
}
footer .copyright {
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  color: #fff;
}
