/* 기본 공통 설정 */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: 'Montserrat', 'Noto Sans KR', sans-serif; 
    background-color: #fff; 
    color: #333; 
    line-height: 1.8; 
}

/* 네비게이션 */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 10%;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;  
    top: 0;            
    z-index: 1000;
}

.logo a {
    font-size: 1.3rem;
    font-weight: bold;
    text-decoration: none;
    color: #7d7dff;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: #888;
}

nav ul li a:hover {
    color: #7d7dff;
}


/* 메인 전용 헤더 */
.dual-header { 
    background: linear-gradient(135deg, #b0bfff 0%, #d1d9ff 100%); 
    padding: 120px 0; 
    text-align: center; 
}
.main-title { 
    font-family: "DM Serif Display", serif;
    font-size: 4rem; 
    color: #fff; 
    letter-spacing: 3px;
    margin-bottom: 15px; 
}

.main-subtitle { 
    color: rgba(255, 255, 255, 0.9); 
    font-size: 1.2rem; 
    font-weight: 300; 
}

/* 본문 레이아웃 */
.container { 
    max-width: 1200px; 
    margin: 6rem auto; 
    padding: 0 20px; 
    text-align: center; 
}

/* 타이틀 얇고 긴 선 스타일 */
.underlined-title { 
    font-size: 2.5rem; 
    color: rgb(43, 216, 202);
    position: relative; 
    padding-bottom: 25px; 
    margin-bottom: 60px; 
}
.underlined-title::after { 
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 200px; 
    height: 1px; 
    background: rgba(43, 216, 202, 0.6); 
}

/* 메인 카드 레이아웃 */
.main-cards { 
    display: flex; 
    justify-content: center; 
    gap: 30px; 
    margin-top: 50px; 
}

.card { 
    flex: 1; 
    background: #f8f9ff; 
    padding: 60px 30px; 
    border-radius: 40px; 
    text-decoration: none; 
    color: #333; 
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.card:hover { 
    background: #fff;
    transform: translateY(-15px); 
    box-shadow: 0 20px 40px rgba(125, 125, 255, 0.1); 
    border: 1px solid #d1d9ff;
}

.card-icon { 
    font-size: 3rem;
    margin-bottom: 20px; 
    display: block; 
}

.card h3 { 
    font-size: 1.8rem; 
    color: #444;
    margin-bottom: 15px; 
}

.card p { 
    color: #888; 
    font-size: 0.95rem; 
    margin-bottom: 25px; 
    line-height: 1.6; 
}

.card-more { 
    display: inline-block; 
    padding: 8px 20px; 
    background: #7d7dff; 
    color: #fff; 
    border-radius: 20px; 
    font-size: 0.8rem; 
    font-weight: bold; 
}

/* 푸터 */
footer {
    background-color: rgb(98, 205, 212);
    text-align: center;
    color: white;
    padding: 50px;
}

footer a {
    color:white;
}

footer a:hover {
    opacity: 0.5;
    background-color: transparent;
}