@charset "utf-8";

@import "reset.css";
@import "setup.css";
@import "layout.css";
@import "webfont.css";

/* =========================
   COLOR SYSTEM
========================= */
:root {
  --main-color: #0F172A;
  --sub-color: #1E293B;
  --point-color-1: #3B82F6;
  --point-color-2: #00b2d2;
  --point-color-3: #0ea774;
  --text-color: #111827;
}

/* =========================
   BASE
========================= */
html, body {
  overflow-x: hidden;
}

body {
  font-size: 14px;
  font-family: 'GmarketSansMedium';
  color: #555;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

/* * {
  outline: 1px solid red;
} */

.full-section {
  width: 100%;
  padding: 0; 
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.sect {
  padding: 80px 0 50px;
}

.bg-white {
  background: #ffffff;
}

.bg-gray {
  background: #f5f5f5;
}

/* =========================
   HEADER
========================= */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.header-inner {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 22px;
  font-weight: bold;
}

/* =========================
   NAV
========================= */
.nav {
  display: flex;
  gap: 30px;
  white-space: nowrap;
}

.nav a {
  text-decoration: none;
  color: #111;
  font-weight: 500;
}

.user-menu {
  display: flex;
  gap: 10px;
}

.user-menu a,
.mobile-user-menu a {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
}

.btn-mypage {
  border: 1px solid #ddd;
  color: #111;
}

.btn-login {
  background: #00b2d2;
  color: #fff;
}

/* =========================
   햄버거 버튼
========================= */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
  cursor: pointer;
}

.menu-toggle svg {
  width: 32px;
  height: 32px;
}

.icon-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.menu-close-icon {
  display: none;
}

.menu-toggle.active .menu-open-icon {
  display: none;
}

.menu-toggle.active .menu-close-icon {
  display: block;
}

/* =========================
   MOBILE
========================= */
.mobile-user-menu {
  display: none;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .user-menu {
    display: none;
  }

  .nav {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #1E293B;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px 0;
    display: none;
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    color: #fff;
    font-size: 18px;
  }

  .mobile-user-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  .mobile-user-menu a {
    width: 160px;
    text-align: center;
  }
}

/* =========================
    Swiper 스타일
========================= */
.swiper-section {
  position: relative;
  width: 100%;
  height: 70vh;         
  max-height: 720px;     
  min-height: 480px; 
  overflow: hidden;
}

.swiper,
.swiper-wrapper,
.swiper-slide {
  height: 100%;
}

.swiper-slide {
  width: 100%;
  height: 100%;
}

/* BACKGROUND SLIDE */
.slide-bg {
  background-size: cover;
  background-position: center;
  position: relative;
}

.slide-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

/*  TEXT CONTENT */
.hero-inner {
  position: absolute;
  top: 53%;
  left: 50%;
  transform: translate(-50%, -50%);  
  width: 100%;
  max-width: 1200px; 
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  z-index: 10;
}

.global-content {
  position: static;
  transform: none;
  z-index: 10;
  color: #fff;
  max-width: 600px;
}

.content-badge {
  display: inline-block;
  background: #2ecc71;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 20px;
}

.global-content h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.global-content p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 30px;
}

/* bg-btn-group */
.bg-btn-group {
  display: flex;
  gap: 12px;
}

.bg-btn {
  padding: 14px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  transition: all 0.3s ease;
}

.bg-btn.primary {
  background: #2ecc71;
  color: #fff;
}

.bg-btn.primary:hover {
  background: #27ae60;
}

.bg-btn.outline {
  border: 1px solid #fff;
  color: #fff;
}

.bg-btn.outline:hover {
  background: rgba(255,255,255,0.1);
}

.global-card {
  position: static;
  transform: none;
  width: 260px;
  padding: 20px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
}

.global-card p {
  margin: 6px 0;
  font-size: 14px;
}

.card-title {
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 16px;
}

.status {
  display: inline-block;
  margin-top: 10px;
  background: #2ecc71;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
}

@media (max-width: 1024px) {
  .swiper-section {
    height: 60vh;
  }

  .hero-inner {
    gap: 20px;
  }

  .global-content h1 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .swiper-section {
      height: 60vh;
      min-height: 500px;
  }

  .hero-inner {
    position: absolute;
    top: 56%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 100%;
    padding: 0 20px;

    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .global-content {
    max-width: 100%;
  }

  .global-content h1 {
    font-size: 28px;
  }

  .global-content p {
    font-size: 15px;
  }

  .bg-btn-group {
    flex-direction: column;
    width: 100%;
  }

  .bg-btn {
    width: 100%;
    text-align: center;
  }

  .global-card {
    display: none;
  }
}

@media (max-width: 480px) {
  .swiper-section {
    height: 55vh;
    min-height: 460px;
  }

  .hero-inner {
    top: 58%; 
  }

  .global-content h1 {
    font-size: 24px;
  }
}

/* =========================
   PAGINATION
========================= */
.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.4;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

@media (max-width: 768px) {
  .global-content {
    left: 20px;
    right: 20px;
  }

  .global-content h1 {
    font-size: 32px;
  }

  .global-content p {
    font-size: 16px;
  }

  .btn-group {
    flex-direction: column;
  }

  .global-card {
    display: none; 
  }
}

/* =========================
    LOGIN 스타일
========================= */
.login-wrap {
  height: 100vh;
  padding: 0 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-box {
  width: 100%;
  max-width: 600px;
  padding: 40px 10px 40px;
  border-radius: 10px;
  position: relative;
  margin: 0px auto 40px;
  background: #ffffff;
}

.login-inner {
  padding: 20px;
}

.login-title {
  font-size: 26px;
  font-weight: 700;
  color: #374151;
  line-height: 1.4;
  margin-bottom: 60px;
}

.login-title span {
  color: #0ea774;
  font-weight: 700;
}

.social-btn {
  width: 100%;
  height: 56px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  border: none;
  border-radius: 12px;

  font-size: 16px;
  font-weight: 600;
  cursor: pointer;

  margin-bottom: 15px;
  transition: 0.2s;
}

.social-btn.naver {
  background: #03C75A;
  color: #fff;
}

.social-btn.kakao {
  background: #FEE500;
  color: #3c1e1e;
}

.social-btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.kakao-icon {
  width: 22px;
  height: 22px;
  transform: translateY(-2px);
}

.naver-icon {
  width: 26px;
  height: 26px;
  transform: translateY(-2px); 
}

/* login modal */
.login-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.login-modal.active {
  display: flex;
}

.modal-box {
  width: 300px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  color: #111827;
}

.modal-buttons {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  justify-content: center;

}

.modal-buttons .modal-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 14px;
}
.modal-buttons .modal-login-btn {
  background: #10B981;
  color: #fff;
}

.modal-buttons .modal-close-btn {
  background: #f1f5f9;
  color: #111827;
}

/* =========================
   APPLY 
========================= */
.info-apply-wrap {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cert-info,
.apply-box {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.cert-info {
  background: #e6effd;
  border: 3px solid #1e293b;
}

.apply-box {
  background: #dcfbec;
  border: 3px solid #10B981;
  color: #111827;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #111827;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  margin-bottom: 20px;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-item .label {
  font-size: 13px;
  color: #6b7280;
}

.info-item .value {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

.verify-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  color: #00b2d2;
  text-decoration: none;
  font-weight: 500;
}

.verify-link:hover {
  text-decoration: underline;
}

/* 상담 신청 스타일 */
label.agree {
  display: flex;
  flex-wrap: wrap;
  align-items: center; 
  gap: 6px;
  margin-bottom: 20px;
  font-size: 14px;
}

label.agree input {
  width: 16px;
  height: 16px;
  margin: 0; 
}

label.agree input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #10B981; 
  cursor: pointer;
}

label.agree a {
  color: #10B981;
  margin-left: 4px;
}

.apply-box .form-row {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.apply-box .form-row input {
  flex: 1;
  width: 100%;
  min-width: 0;
  height: 44px;
  line-height: 44px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.2s ease;
}

.apply-box .form-row input::placeholder {
  color: #9ca3af;
}

.apply-box .form-row input:focus {
  border-color: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.apply-box .form-row input:disabled {
  background: #f3f4f6;
  cursor: not-allowed;
}

.apply-box .btn-submit {
  width: 100%;
  height: 50px;
  background: #10B981;
  color: #fff;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

@media (max-width: 768px) {
  .apply-box .form-row {
    flex-direction: column;
    gap: 10px;
  }

  .apply-box .form-row input {
    width: 100%;
  }

}

/* =========================
   APPLY MODAL
========================= */
.apply-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.apply-modal.show {
  display: flex;
}

.apply-modal-content {
  background: #fff;
  padding: 30px 20px;
  border-radius: 16px;
  text-align: center;
  width: 90%;
  max-width: 320px;

  animation: applyFadeUp 0.3s ease;
}

.apply-modal-content p {
  font-size: 16px;
  margin-bottom: 20px;
}

/* 버튼 */
.apply-modal-content button {
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 10px;
  background: #10B981;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

@keyframes applyFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   VERIFY BANNER
========================= */
.verify-banner {
  padding: 40px 20px;
  background: #f8fafc;
}

.verify-inner {
  max-width: 1200px;
  margin: 0 auto;
  background: #cbd5e1;
  border-radius: 16px;
  padding: 40px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.verify-text {
  font-size: 14px;
  color: #334155;
  line-height: 1.6;
}

.verify-text strong {
  color: #111827;
  font-weight: 700;
  font-size: 20px;
}

.verify-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  background: #6b7280;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
  white-space: nowrap;
}

.verify-btn:hover {
  background: #4b5563;
}

@media (max-width: 768px) {
  .verify-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .verify-btn {
    width: 100%;
    margin-top: 10px;
  }

}

/* =========================
   QUICK ACCESS
========================= */
.quick-section {
  padding: 40px 0; 
  background: #f8fafc;
  text-align: center;
}

.quick-header .quick-sub {
  font-size: 12px;
  letter-spacing: 2px;
  color: #10b981;
  font-weight: 600;
}

.quick-header h2 {
  font-size: 32px;
  margin: 10px 0;
  color: #111827;
}

.quick-header p {
  color: #6b7280;
  margin-bottom: 50px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.quick-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.quick-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.quick-card h3 {
  margin: 15px 0 10px;
  font-size: 16px;
  color: #111827;
}

.quick-card p {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 15px;
}

.quick-card a {
  font-size: 13px;
  color: #10b981;
  text-decoration: none;
  font-weight: 500;
}

.icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto;
}

.bg-green { background: #e6f9f0; color: #10b981; }
.bg-orange { background: #fff4e6; color: #f59e0b; }
.bg-red { background: #ffecec; color: #ef4444; }
.bg-purple { background: #f3e8ff; color: #8b5cf6; }


@media (max-width: 1024px) {
  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .quick-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
    inquiry-banner
========================= */
.inquiry-banner {
  padding: 60px 20px;
}

.inquiry-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.inquiry-left {
  flex: 1;
}

.inquiry-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.inquiry-phone {
  font-size: 30px;
  font-weight: 800;
  color: #3B82F6;
  margin-bottom: 12px;
}

.inquiry-info p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 2px 0;
}

.inquiry-right {
  display: flex;
  align-items: center;
}

.call-btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.4); 
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.call-btn:hover {
  background: rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

.call-btn:active {
  transform: scale(0.97);
}

@media (max-width: 768px) {
  .inquiry-inner {
    padding: 28px;
  }

  .inquiry-phone {
    font-size: 26px;
  }

  .call-btn {
    padding: 14px 24px;
  }
}

@media (max-width: 600px) {
  .inquiry-inner {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }

  .inquiry-left {
    width: 100%;
  }

  .inquiry-phone {
    font-size: 24px;
  }

  .inquiry-info p {
    font-size: 13px;
  }

  .inquiry-right {
    width: 100%;
  }

  .call-btn {
    width: 100%;
    padding: 16px;
  }
}

@media (max-width: 400px) {
  .inquiry-title {
    font-size: 18px;
  }

  .inquiry-phone {
    font-size: 22px;
  }
}

/* =========================
    bg-section 스타일
========================= */
.bg-section {
  padding: 90px 0 10px;
  background: #0f172a;
}

.section-header {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

.section-header .section-header-text-1 {
  font-size: 16px;
  color: #fffc;
  padding: 8px 12px;
  background-color: rgba(255, 255, 255, 0.102);
  border-radius: 9999px;
}

.section-header .section-header-text-2 {
  font-size: 2.0rem;
  line-height: 2.3rem;
  margin-top: 20px;
  margin-bottom: 24px;
  color: #fff;
}

.section-header .section-header-text-2 > span {
  display: block;
  color: #fbbf24;
  font-weight: 600;
}

.section-header .section-header-text-3 {
  font-size: 1rem;
  line-height: 1.4rem;
  color: rgba(255, 255, 255, 0.702);
}

/* =========================
    EXAM 스타일
========================= */
.exam-section {
  background: #ffffff;
}

.exam-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.exam-top h2 {
  font-size: 20px;
  font-weight: 700;
}

.exam-top .total {
  font-size: 14px;
  color: #6b7280;
}

.exam-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.exam-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.exam-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.card-img {
  position: relative;
  height: 180px;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================
   BADGE
========================= */
.badge-group {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.badge {
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 999px;
}

.badge.type-myeongri { 
  background: #fef3c7;
  color: #92400e; }

.badge.type-tarot { 
  background: #f3e8ff;
  color:  #6b21a8;
}

.badge.type-pet { 
  background: #ffe4e6; 
  color: #9f1239;
}

.badge.type-name { 
  background: #d1fae5;
  color:  #065f46;
}

.badge.type-interior { 
  background: #e0f2fe;
  color: #3b82f6; ;
}

.badge.level { 
  background: #64748b;
  color: #fff; 
}

.badge.hot { 
  background: #f97316; 
  color: #fff; 
}

.badge.new { 
  background: #22c55e;
  color: #fff; 
}

.badge.free {
  background: #e6f9f0;
  color: #10b99e;
}

.badge.recommend {
  background: #f59e0b;
  color: #fff;
}

.badge.exam { 
  background: #e6f9f0; 
  color: #10b981; 
}

.badge.pass { 
  background: #fff4e6; 
  color: #f59e0b; 
}

.badge.notice { 
  background: #e5e7eb; 
  color: #374151; 
}

.badge.etc { 
  background: #ffecec; 
  color: #ef4444; 
}

.badge.important {
  background: #ef4444;
  color: #fff;
}

.card-body {
  padding: 20px;
  flex-grow: 1;
}

.card-body h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #111827;
}

.card-body p {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}

.card-footer {
  border-top: 1px solid #f1f5f9;
  padding: 14px 20px;
}

.detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #111827;
}

.arrow {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 28px;
  height: 28px;

  border-radius: 50%;
  background: #f1f5f9;

  transition: 0.2s;
}

/* Lucide 아이콘 크기 */
.arrow svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
  color: #111827;
}

.detail:hover .arrow {
  background: #10B981;
  transform: translateX(4px);
}

.detail:hover .arrow svg {
  color: #fff;
}

@media (max-width: 1024px) {
  .exam-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .exam-grid {
    grid-template-columns: 1fr;
  }

  .card-img {
    height: 160px;
  }
}

/* =========================
   DETAIL SECTION
========================= */
.exam-detail-section {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-card {
  position: relative;
  background: #fff;
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.detail-card .detail-card-tit {
  position: relative;
  padding-left: 15px;
  font-size: 22px;
  margin-bottom: 15px;
  color: #111827;
}

.detail-card .detail-card-tit::before {
  position: absolute;
  content: '';
  width: 4px;
  height: 20px;
  background-color: #111827;
  top: 50%;
  left: 0;
  transform: translateY(-58%);
}

.detail-card p {
  color: #4b5563;
  line-height: 1.6;
}

.subject-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.subject-tags span {
  background: #e2e8f0;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
}

.course-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.course-item {
  display: flex;
  align-items: center;
  background: #f8fafc;
  padding: 14px;
  border-radius: 12px;
}

.course-num {
  width: 40px;
  height: 40px;
  background: #1e293b;
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 12px;
}

.course-text {
  flex: 1;
}

.course-text p {
  font-size: 14px;
}

.course-time {
  font-size: 13px;
  color: #6b7280;
}

.total-time {
  margin-top: 20px;
  background: #1e293b;
  color: #fff;
  padding: 16px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  font-size: 15px;
}

/* =========================
   CTA SECTION
========================= */
.exam-cta-section {
  padding: 40px 0;
}

.exam-cta-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  border: 3px solid #059669;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cta-info .cert-number {
  font-size: 12px;
  color: #6b7280;
}

.cta-info h3 {
  font-size: 22px;
  margin: 6px 0;
}

.cta-info .ministry {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 10px;
}

.verify-link:hover {
  text-decoration: underline;
}

.cta-action {
  text-align: right;
}

.price {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 12px;
}

.price strong {
  padding-left: 20px;
  font-size: 20px;
  color: #111827;
}

.cta-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.cta-buttons .cta-btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: 0.2s;
}

.btn-share {
  background: #f1f5f9;
  color: #111827;
}

.btn-share:hover {
  background: #e2e8f0;
}

.btn-apply {
  background: #10B981;
  color: #fff;
  font-weight: 600;
}

.btn-apply:hover {
  background: #059669;
}

@media (max-width: 768px) {
  .exam-cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-action {
    width: 100%;
    text-align: left;
  }

  .cta-action .price {
    text-align: center;
  }

  .cta-buttons {
    width: 100%;
    justify-content: space-between;
  }

  .btn-apply {
    flex: 1;
    justify-content: center;
  }
}

/* =========================
   HERO CARD
========================= */
.exam-hero {
  margin-top: 100px;
  margin-bottom: 50px;
}

.exam-hero-card {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.hero-image {
  position: relative;
  height: 280px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badges {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  gap: 8px;
}

.hero-content {
  padding: 25px;
}

.hero-content h1 {
  font-size: 26px;
  margin-bottom: 10px;
  color: #111827;
}

.hero-content p {
  color: #6b7280;
  margin-bottom: 15px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .hero-image {
    height: 180px;
  }

  .hero-content h1 {
    font-size: 22px;
  }

  .hero-meta {
    flex-direction: column;
    gap: 6px;
  }
}

/* =========================
   NOTICE
========================= */
.notice-section {
  padding: 80px 0;
}

.total-count {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 15px;
}

.total-count strong {
  color: #10B981;
}

.fixed-info {
  font-size: 13px;
}

.notice-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid #111827;
}

.notice-item {
  display: grid;
  grid-template-columns: 160px 1fr 120px;
  align-items: center;
  padding: 18px 10px;
  border-bottom: 1px solid #e5e7eb;
  transition: 0.2s;
}

.notice-item:hover {
  background: #f9fafb;
}

.notice-item.fixed {
  background: #f8fafc;
  font-weight: 500;
}

.col-category {
  display: flex;
  gap: 6px;
}

.col-title a {
  font-size: 15px;
  color: #111827;
  text-decoration: none;
}

.col-title a:hover {
  text-decoration: underline;
}

.meta {
  font-size: 13px;
  color: #9ca3af;
  margin-top: 4px;
}

.col-date {
  font-size: 13px;
  color: #6b7280;
  text-align: right;
}

@media (max-width: 768px) {
  .notice-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .col-date {
    text-align: left;
  }

  .col-category {
    margin-bottom: 4px;
  }
}

/* =========================
   NOTICE-DETAIL
========================= */
.notice-detail-section {
  padding: 80px 0;
}

.detail-header {
  border-bottom: 2px solid #111827;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.detail-title {
  font-size: 26px;
  margin-bottom: 10px;
}

.detail-meta {
  font-size: 14px;
  color: #6b7280;
  display: flex;
  gap: 15px;
}

.detail-content {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.detail-content ul {
  margin-top: 15px;
  padding-left: 20px;
}

.detail-attach {
  margin-top: 40px;
  background: #f8fafc;
  padding: 20px;
  border-radius: 16px;
}

.attach-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #111827;
}

.attach-header svg {
  width: 18px;
  height: 18px;
  color: #10B981;
}

.attach-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.attach-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  transition: 0.2s;
}

.attach-item:hover {
  background: #f9fafb;
}

.file-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.file-icon {
  width: 20px;
  height: 20px;
  color: #ef4444; 
}

.file-name {
  font-size: 14px;
  color: #111827;
}

.file-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.file-size {
  font-size: 13px;
  color: #6b7280;
}

.file-download {
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-download svg {
  width: 18px;
  height: 18px;
  color: #6b7280;
}

.file-download:hover svg {
  color: #10B981;
}

.detail-actions {
  margin-top: 30px;
  text-align: right;
}

.btn-list {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-decoration: none;
  color: #111;
}

/* =========================
   교육자료 
========================= */
.edu-section {
  padding: 80px 0;
}

.edu-table {
  width: 100%;
  border-top: 2px solid #111827;
}

.edu-row {
  display: grid;
  grid-template-columns: 60px 2fr 3fr 1fr;
  align-items: center;
  padding: 14px 10px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
}

.edu-head {
  background: #f9fafb;
  font-weight: 600;
  color: #374151;
}

.edu-col-num {
  text-align: center;
}

.edu-col-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.edu-col-meta {
  text-align: center;
}

.edu-col-file {
  text-align: center;
}

.edu-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #6b7280;
}

.edu-meta span::after {
  content: " | ";
  color: #d1d5db;
}

.edu-meta span:last-child::after {
  content: "";
}

.edu-col-use.free {
  color: #10B981;
  font-weight: 600;
}

.edu-col-use.paid {
  color: #ef4444;
}

.edu-download {
  margin-left: 6px;
}

.edu-download svg {
  width: 16px;
  height: 16px;
  color: #6b7280;
}

.edu-download:hover svg {
  color: #10B981;
}

@media (max-width: 768px) {

  .edu-head {
    display: none;
  }

  .edu-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 10px;
  }

  .edu-col-num {
    display: none;
  }

  .edu-col-title {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
  }

  .edu-meta {
    justify-content: flex-start;
    font-size: 12px;
  }

  .edu-col-file {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-top: 4px;
  }

  .edu-download {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #10B981;
    font-weight: 500;
  }

}

/* =========================
   PAGINATION
========================= */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 40px;
}

.page-num,
.page-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
  color: #374151;
  border: 1px solid #e5e7eb;
  background: #fff;
  transition: 0.2s;
}

.page-num:hover,
.page-btn:hover {
  border-color: #10B981;
  color: #10B981;
}

.page-num.active {
  background: #10B981;
  color: #fff;
  border-color: #10B981;
  font-weight: 600;
}

.page-btn svg {
  width: 18px;
  height: 18px;
}

/* =========================
   시험일정
========================= */
.schedule-section {
  padding: 80px 0;
}

.schedule-table {
  width: 100%;
  border-top: 2px solid #111827;
}

.schedule-row {
  display: grid;
  grid-template-columns: 2fr 2fr 1fr 1fr 1fr;
  align-items: center;
  padding: 14px 10px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
}

.schedule-head {
  background: #f9fafb;
  font-weight: 600;
  color: #374151;
}

.schedule-row span {
  text-align: center;
}

.col-title {
  text-align: left;
}

.col-status {
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-block;

  position: relative;
  z-index: 10;
  cursor: pointer;
  user-select: none; 
  transition: 0.2s;
}

.col-status.open {
  color: #10B981;
  background: #ecfdf5;
}

.col-status.upcoming {
  color: #3B82F6;
  background: #eff6ff;
  pointer-events: none;
}

.col-status.end {
  color: #9ca3af;
  background: #f3f4f6;
  pointer-events: none;
}

@media (max-width: 768px) {
  .schedule-head {
    display: none;
  }

  .schedule-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 10px;
  }

  .col-title {
    font-weight: 600;
    font-size: 15px;
  }

  .col-period,
  .col-date,
  .col-result {
    font-size: 12px;
    color: #6b7280;
  }

  .col-status {
    margin-top: 4px;
    width: fit-content;
  }

}

/* =========================
    footer 스타일
========================= */
.footer {
  background: linear-gradient(135deg, #0F172A, #134E4A);
  color: #cbd5e1;
  padding-top: 60px;
  position: relative;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.footer-logo {
  font-size: 16px;
  margin-bottom: 15px;
}

.footer-logo strong {
  font-size: 20px;
  color: #ffffff;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.sns span {
  display: inline-block;
  margin-right: 10px;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.footer-col h4 {
  color: #ffffff;
  margin-bottom: 15px;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  color: #cbd5e1;
  text-decoration: none;
}

.footer-col a:hover {
  color: #3B82F6;
}

.newsletter {
  display: flex;
  margin-top: 10px;
}

.newsletter input {
  flex: 1;
  padding: 10px;
  border-radius: 20px 0 0 20px;
  border: none;
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.newsletter input::placeholder {
  color: #94a3b8;
}

.newsletter button {
  padding: 10px 15px;
  border: none;
  background: #10B981;
  color: white;
  border-radius: 0 20px 20px 0;
  cursor: pointer;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 50px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-links a {
  margin-left: 15px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 13px;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

.newsletter {
  display: flex;
  margin-top: 10px;
}

.newsletter input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 20px 0 0 20px;
  border: none;
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* =========================
    Lucide icon 스타일
========================= */
.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  border: none;
  background: #10B981;
  border-radius: 0 20px 20px 0;
  cursor: pointer;
  transition: 0.3s;
}

.icon-btn:hover {
  background: #059669;
}

.icon-btn i {
  width: 18px;
  height: 18px;
  color: #fff;
}



