body {
    font-family: 'Malgun Gothic', '맑은 고딕', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
    font-size: 16px;
}

a { color: inherit; text-decoration: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Header */
header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px; /* 로고와 슬로건 사이 간격 */
}

.logo img {
    height: 40px;
}

.slogan {
    font-size: 0.9em;
    color: #666;
    font-style: italic;
    white-space: nowrap; /* 줄바꿈 방지 */
}

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

nav ul li a {
    padding: 10px 20px;
    font-weight: bold;
    color: #555;
    transition: color 0.3s;
}

nav ul li a:hover, nav ul li a.active {
    color: #007bff;
}

/* Hero Section (Main Page) */
.hero {
    width: 100%;
    height: 400px;
    background-image: url('../Images/main_img.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-text {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
}

.hero h1 { font-size: 2.8em; margin: 0; }
.hero p { font-size: 1.4em; margin: 10px 0 0; }

/* Sub Page Header */
.sub-header {
    width: 100%;
    height: 280px; /* Slightly taller */
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%); /* Diagonal gradient */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.sub-header h1 {
    font-size: 3.5em; /* Larger */
    font-weight: 700; /* Bolder */
    letter-spacing: 1px; /* Slight letter spacing */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Text shadow */
    margin: 0;
}

/* Content Sections */
.content-section { padding: 20px 0 60px 0; }
.section-title { text-align: center; font-size: 2.2em; color: #333; margin-bottom: 50px; }

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.solution-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.solution-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #007bff;
    position: relative;
    padding-left: 25px; /* 아이콘 공간 확보 */
}
.solution-card h3::before {
    content: '';
    width: 15px;
    height: 15px;
    background-color: #007bff;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.solution-card p { line-height: 1.6; color: #666; }

/* Company Info Section */
.company-info-flex {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.company-info-text {
    flex: 1;
}
.company-info-map {
    flex: 1;
    height: 400px;
    background-color: #e9ecef;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

/* Footer */
footer {
    background: #343a40;
    color: #fff;
    padding: 40px 0;
    margin-top: 40px;
    text-align: center;
}

footer p { margin: 5px 0; color: #ccc; }
