/* ===========================
   Root / Theme
=========================== */
:root{
  --bg: #f7fffd;
  --bg2: #effffb;

  --text: #0f172a;
  --muted: #475569;

  --card: #ffffff;
  --border: rgba(2, 132, 199, 0.12);

  --mint: #22c55e;
  --mint2: #14b8a6;
  --accent: #0ea5e9;

  --shadow: 0 12px 32px rgba(2, 6, 23, 0.08);
}

/* ===========================
   Base
=========================== */
body{
  background: radial-gradient(1200px 700px at 15% 10%, rgba(20,184,166,.20), transparent 55%),
              radial-gradient(1100px 650px at 85% 15%, rgba(34,197,94,.18), transparent 52%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
}

a{ text-decoration: none; }


/* ===========================
   Navbar
=========================== */
.nav-main{
  background: rgba(247, 255, 253, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(2, 132, 199, 0.12);
}

.navbar-brand{
  color: var(--text) !important;
  font-weight: 900;
}

.nav-link{
  color: var(--muted) !important;
  font-weight: 700;
  opacity: .85;
}

.nav-link:hover{
  opacity: 1;
  color: #0f766e !important;
}


/* ===========================
   Hero
=========================== */
.hero{
  padding: 78px 0 70px;
}

.hero-badge{
  display:inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(20,184,166,.12);
  border: 1px solid rgba(20,184,166,.22);
  color: #0f766e;
  font-size: 13px;
  font-weight: 900;
}

.hero-title{
  font-size: 40px;
  font-weight: 1000;
  letter-spacing: -0.6px;
  line-height: 1.15;
  margin-top: 14px;
}

.hero-accent{
  background: linear-gradient(90deg, var(--accent), var(--mint2), var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub{
  color: var(--muted);
  margin-top: 14px;
  max-width: 760px;
  font-size: 15.5px;
  line-height: 1.7;
}

.hero-keywords{
  margin-top: 16px;
  margin-bottom: 16px;
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
}



.hero-profile{
  margin-top: 0;
  padding-top: 28px;
}
@media (max-width: 992px){
  .hero-title{ font-size: 38px; }
}


/* ===========================
   Buttons
=========================== */
.btn-main{
  background: linear-gradient(90deg, var(--mint2), var(--mint));
  border: none;
  box-shadow: 0 10px 22px rgba(20,184,166,.18);
  font-weight: 900;
}

.btn-main:hover{
  filter: brightness(0.97);
}

.btn-outline-light{
  border: 1px solid rgba(2, 132, 199, 0.22) !important;
  color: #0f766e !important;
  font-weight: 900;
  background: rgba(255,255,255,.55);
}

.btn-outline-light:hover{
  background: rgba(20,184,166,.10);
}

.hero-links{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}


/* ===========================
   Tags
=========================== */
.tag{
  display:inline-block;
  font-size: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(20,184,166,.10);
  border: 1px solid rgba(20,184,166,.22);
  color: #0f766e;
  font-weight: 800;
}


/* ===========================
   Cards (Common)
=========================== */
.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.card-title{
  font-weight: 1000;
  color: var(--text);
}

.section-title{
  font-size: 28px;
  font-weight: 1000;
  margin-bottom: 18px;
  letter-spacing: -0.4px;
  color: var(--text);
}

.muted{ color: var(--muted); }

img.img-fluid.rounded{
  border: 1px solid rgba(2,132,199,.12);
}


/* ===========================
   About / Profile Card
=========================== */
.about-card{
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(20,184,166,.20);
  border-radius: 18px;
  padding: 26px 28px;
  box-shadow: 0 10px 24px rgba(2,6,23,.06);
}

/* 프로필 카드 폭 */
 .profile-card{
  margin: 0 auto;
} 

/* 프로필 상단 2컬럼 */
.profile-top{
  display:flex;
  gap: 26px;
  align-items:flex-start;
}

/* 왼쪽 사진 영역 */
.profile-left{
  flex: 0 0 auto;
}

/* 오른쪽 정보 영역 */
.profile-right{
  flex: 1;
  min-width: 0; /* 긴 텍스트 있을 때 깨짐 방지 */
}

/* 사진: 증명사진 잘 보이게 사각형 크게 */
.resume-photo{
  width: 170px;
  height: 215px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(2,132,199,.12);
  box-shadow: 0 12px 26px rgba(2,6,23,.08);
  background: #fff;
}

/* 오른쪽 상단 이름/직무 */
.profile-id h2{
  font-size: 22px;
  font-weight: 1000;
  margin: 0;
  letter-spacing: -0.4px;
}

.profile-id .desc{
  margin: 6px 0 0 0;
  font-size: 14px;
  font-weight: 800;
  opacity: 0.9;
}



/* 소개 텍스트 블럭 */
.profile-desc{
  margin-top: 18px;
}

/* Certificates 블럭 */
.profile-cert{
  margin-top: 22px;
}

.profile-cert h2{
  font-size: 18px;
  font-weight: 1000;
  margin: 0 0 12px 0;
}

/* 설명 텍스트 공통 */
.desc{
  margin: 0;
  color: var(--muted);
  font-size: 14.8px;
  line-height: 1.7;
}

/* tag-row */
.tag-row{
  display:flex;
  flex-wrap:wrap;
  gap: 6px;
  margin-bottom: 10px;
}

/* 버튼 크기 통일 */
.profile-card .btn{
  font-size: 14px;
  padding: 10px 18px;
}

/* 반응형: 모바일에서는 사진 위로 */


@media (max-width: 768px){
  .profile-top{
    flex-direction: column;
    gap: 14px;
  }

  .resume-photo{
    width: 140px;
    height: 180px;
    border-radius: 14px;
  }

  .profile-right .hero-links .btn{
    width: 100%;
  }
}

/* ===========================
   Skills
=========================== */
.skill-title{
  font-weight: 1000;
  margin: 0;
  color: var(--text);
}

.skill{
  padding: 13px 13px;
  border-radius: 14px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(2,132,199,.12);
  box-shadow: 0 10px 22px rgba(2,6,23,.05);
  display:flex;
  gap: 10px;
  align-items:center;
}

.skill img{
  width: 22px;
  height: 22px;
  filter: grayscale(100%);
  opacity: .9;
}

.skill-sub{
  font-size: 13px;
  margin-top: 2px;
  color: var(--muted);
}

/* markdown badges */
.badge-wrap{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}

.md-badge{
  height:32px;
  width:auto;
  border-radius:10px;
}


/* ===========================
   Footer
=========================== */
footer{
  color: var(--muted);
  padding: 44px 0;
}

/* Certificates - 핵심/추가 구분 */
.profile-cert .tag-row{
  align-items: center;
}

/* ➕ 라인(추가 자격증)은 톤다운 */
.profile-cert .cert-plus{
  opacity: 0.78;
}

/* ➕ 아이콘도 tag처럼 보이지 않게 */
.profile-cert .cert-plus-icon{
  font-weight: 1000;
  color: var(--muted);
  margin-right: 4px;
  opacity: 0.9;
}

/* 추가 자격증 태그는 색/테두리 연하게 */
.profile-cert .cert-plus .tag{
  background: rgba(148, 163, 184, 0.10);  /* slate 계열 */
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #334155;
  font-weight: 800;
}