* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
    color: #1a1a2e;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 스크롤 페이드인 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }
/* 헤더 */
.header {
    background: #1a1a2e;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

        /* 🌟 로고 이미지 크기 강력 고정 🌟 */
        .header .container img,
        .logo img {
            height: 60px !important; /* 무조건 40px로 고정하도록 명령 */
            width: auto;
            display: block;
        }

/* 로고를 <a> 태그로 감쌌을 때를 위한 정렬 */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* 네비게이션(메뉴) 정렬 */
.nav {
    display: flex;
    align-items: center;
}

    .nav a {
        color: #ccc;
        text-decoration: none;
        margin-left: 28px;
        font-size: 18px;
        transition: color 0.2s;
    }

        .nav a:hover {
            color: #00d4ff;
        }
/* 히어로 */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    text-align: center;
    padding: 120px 0 100px;
}

    .hero h1 {
        font-size: 42px;
        margin-bottom: 16px;
    }

        .hero h1 span {
            color: #00d4ff;
        }

    .hero p {
        font-size: 18px;
        color: #a0aec0;
        margin-bottom: 36px;
    }

.btn {
    display: inline-block;
    background: #00d4ff;
    color: #1a1a2e;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: background 0.2s;
}

    .btn:hover {
        background: #00b8e6;
    }

/* 회사소개 */
.about {
    padding: 80px 0;
    background: #fff;
}

    .about h2 {
        font-size: 30px;
        margin-bottom: 24px;
        color: #1a1a2e;
        text-align: center;
    }

    .about p {
        font-size: 16px;
        color: #5a6577;
        line-height: 1.8;
        text-align: center;
        max-width: 700px;
        margin: 0 auto 16px;
    }

/* 사업분야 */
.services {
    padding: 80px 0;
    background: #f7f9fc;
}

    .services h2 {
        text-align: center;
        font-size: 30px;
        margin-bottom: 48px;
    }

.cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.card {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.2s;
}

    .card:hover {
        transform: translateY(-4px);
    }

/* 카드 stagger */
.services .fade-in .card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.services .fade-in.visible .card {
    opacity: 1;
    transform: translateY(0);
}

    .services .fade-in.visible .card:nth-child(1) {
        transition-delay: 0.1s;
    }

    .services .fade-in.visible .card:nth-child(2) {
        transition-delay: 0.2s;
    }

    .services .fade-in.visible .card:nth-child(3) {
        transition-delay: 0.3s;
    }

    .services .fade-in.visible .card:nth-child(4) {
        transition-delay: 0.4s;
    }

.card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #1a1a2e;
}

.card p {
    color: #5a6577;
    font-size: 15px;
}

/* 문의 */
.contact {
    padding: 80px 0;
    background: #fff;
    text-align: center;
}

    .contact h2 {
        font-size: 30px;
        margin-bottom: 16px;
        color: #1a1a2e;
    }

    .contact > .container > p {
        font-size: 16px;
        color: #5a6577;
        margin-bottom: 48px;
    }

.contact-info {
    display: flex;
    justify-content: center;
    gap: 64px;
}

.contact-item h4 {
    font-size: 16px;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.contact-item p {
    font-size: 15px;
    color: #00d4ff;
    font-weight: 600;
}

/* 푸터 */
.footer {
    background: #1a1a2e;
    color: #667;
    text-align: center;
    padding: 32px 0;
    font-size: 14px;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 12px;
    }

    .nav a {
        margin-left: 16px;
        margin-right: 16px;
        font-size: 14px;
    }

    .hero {
        padding: 80px 0 60px;
    }

        .hero h1 {
            font-size: 28px;
        }

        .hero p {
            font-size: 15px;
        }

    .cards {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
        gap: 32px;
    }
}

/* 히어로 애니메이션 */
.hero .container {
    opacity: 0;
    animation: heroFade 1s ease forwards;
}

@keyframes heroFade {
    to {
        opacity: 1;
    }
}
