/* ===== Reset / Base ===== */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  background: #f5f5f5;
  color: #111;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== Header ===== */
.site-header {
  background: #f5f5f5;
  border-bottom: 1px solid #e5e5e5;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo {
  height: 72px;
}

.brand-main {
  font-size: 2rem;
  font-weight: 800;
}

.brand-sub {
  font-size: 1rem;
  color: #666;
}

.main-nav {
  display: flex;
  gap: 14px;
}

.main-nav a {
  font-size: 16px;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 10px;
}

.main-nav a:hover {
  background: #ececec;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    width: 100%;
    height: 450px; /* 히어로 섹션의 높이 지정 */
    overflow: hidden;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 이미지가 비율을 유지하며 가득 채움 */
    object-position: center; /* 이미지를 항상 중앙으로 정렬 */
    z-index: 1;
}

.hero-overlay {
    position: relative;
    z-index: 2; /* 이미지 위로 텍스트 배치 */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.75); /* 글씨가 잘 보이도록 반투명 흰색 오버레이 */
}

.hero-overlay .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 15px;
}

.hero-desc {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
}

/* 반응형 대응 - Hero 섹션 */
@media (max-width: 900px) {
    .hero {
        height: 350px; /* 모바일에서는 높이를 조금 줄임 */
    }
    .hero .container {
        padding: 0 20px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-desc {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

/* ===== Section ===== */
.section {
  padding: 80px 16px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  text-align: center;
}

.section-desc {
  font-size: 18px;
  color: #555;
  text-align: center;
}

/* ===== Grid ===== */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* ===== Card ===== */
.card {
  background: #fff;
  border-radius: 18px;
  padding: 30px;
  border: 1px solid #eee;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card-title {
  font-size: 22px;
  font-weight: 800;
  color: #003366;
  margin-bottom: 12px;
}

/* ===== Strength ===== */
.icon {
  font-size: 28px;
  color: #FF6600;
  margin-bottom: 10px;
}

.text-muted {
  font-size: 14px;
  color: #666;
}

/* ===== Footer ===== */
.site-footer {
  margin-top: 60px;
  padding: 40px;
  background: #fafafa;
  text-align: center;
}

/* ===== Responsive (General) ===== */
@media (max-width: 768px) {
  .section-title { font-size: 28px; }
  .section-desc { font-size: 16px; }
}