:root {
    --bg-color: #101010;
    --padding: 32px;
    --sky-gray:#E8F2FF;
    --dark-navy:#241D56;
    --header-height: 70px;
    --header-height-mobile: 60px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: auto;
    /* iOS Safari에서 뷰포트 높이 이슈 해결 */
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #fff;
    background: var(--bg-color);
    overflow-x: hidden;
    font-weight: 400;
    /* 브라우저별 일관성을 위한 추가 스타일 */
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Paperlogy', 'Pretendard', sans-serif;
    font-weight: 700;
}
/* Intro Animation Styles */
#intro-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

#intro-container.fade-out {
    opacity: 0;
    pointer-events: none;
}

#intro-animation {
    width: 100%;
    height: 100%;
    max-width: 100vw;
    max-height: 100vh;
}

@media (max-width: 768px) {

    #intro-animation {
        width: 100%;
        height: 100%;
    }
}

body.intro-active {
    overflow: hidden;
}

.container {
    height: 100vh;
    height: 100dvh; /* 동적 뷰포트 높이 (최신 브라우저) */
    overflow-y: scroll;
    scroll-behavior: smooth;
}

.section {
    height: 100vh;
    height: 100dvh; /* 동적 뷰포트 높이 (최신 브라우저) */
    min-height: 100vh; /* 폴백 */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--padding);
    scroll-snap-align: start;
    margin-top: 0; /* 기본적으로 마진 없음 */
}

.section:not(:first-child) {
    margin-top: 0; /* 첫 번째 섹션 이후는 마진 제거 */
}

.content {
    display: flex;
    flex-direction: column;
    max-width: calc(100% - var(--padding) * 2);
    width: 100%;
    z-index: 2;
    height: 100%;
}

.content img {
    animation: fadeInUp 1s ease-out;
}

/* Section 1 - Hero */
.section1 {
    background: var(--bg-color);
    color: white;
    position: relative;
    overflow: hidden; /* 콘텐츠가 넘치지 않도록 */
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    min-height: calc(100vh - var(--header-height));
    margin-top: var(--header-height); /* 헤더 아래에서 시작 */
}

.section1 .content {
    align-items: flex-start;
    justify-content: flex-end;
    height: 100%;
    gap: 1rem;
    overflow: hidden; /* 콘텐츠 넘침 방지 */
    padding: var(--padding) 0;
}

.section1 .content img {
    animation: fadeInUp 1s ease-out 5s both;
    animation-delay: 5s;
    max-height: 40vh; /* 로고 이미지 최대 높이 제한 */
    width: auto;
    opacity: 0;
}

.section1 .shortcuts {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
    color: black;
    max-height: 50vh; /* shortcuts 최대 높이 제한 */
    overflow: hidden; /* 넘침 방지 */
}

.section1 .shortcuts ul {
list-style: none;
text-decoration: none;
display: flex;
flex-direction: column;
gap: 2rem;
font-family: 'Paperlogy', sans-serif;
font-size: 0.8rem;
font-weight: 700;
}

.section1 .shortcuts ul li a{
    color: black;
    text-decoration: none;
    font-family: 'Paperlogy', monospace;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.section1 h1 {
    font-size: 4rem;
    font-family: 'Paperlogy', sans-serif;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.section1 p {
    font-size: 1.5rem;
    font-family: 'Pretendard', sans-serif;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.cta-button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-family: 'Pretendard', sans-serif;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-button:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

/* Vehicle 3D 아이소메트릭 배치 */
.vehicle {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* 3개의 얇은 경로 라인 */
.vehicle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        /* 경로 1: 상단 - 매우 얇은 라인 */
        linear-gradient(30deg, transparent 24.9%, rgba(255, 255, 255, 0.12) 25%, rgba(255, 255, 255, 0.12) 25.1%, transparent 25.2%),
        /* 경로 2: 중간 - 매우 얇은 라인 */
        linear-gradient(30deg, transparent 49.9%, rgba(255, 255, 255, 0.10) 50%, rgba(255, 255, 255, 0.10) 50.1%, transparent 50.2%),
        /* 경로 3: 하단 - 매우 얇은 라인 */
        linear-gradient(30deg, transparent 74.9%, rgba(255, 255, 255, 0.12) 75%, rgba(255, 255, 255, 0.12) 75.1%, transparent 75.2%);
    z-index: -1;
}

/* 배경 그래픽 제거 */
.vehicle::after {
    display: none;
}

.vehicle-item {
    position: absolute;
    opacity: 1; /* 바로 등장 */
}

.vehicle-item img {
    width: auto;
    height: auto;
    max-width: 240px; /* 180px에서 240px로 증가 (33% 증가) */
    max-height: 240px; /* 180px에서 240px로 증가 (33% 증가) */
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.vehicle-item:hover img {
    transform: scale(1.1);
}

/* === 경로 1 (상단 경로) === */
.vehicle-bus1 {
    top: -60%;
    left: -15%;
    animation: vehicleRoute1 16s linear infinite;
    animation-delay: 1s;
}

.vehicle-delivery {
    top: -60%;
    left: -15%;
    animation: vehicleRoute1 16s linear infinite;
    animation-delay: 6s;
}

.vehicle-truck {
    top: -60%;
    left: -15%;
    animation: vehicleRoute1 16s linear infinite;
    animation-delay: 11s;
}

/* === 경로 2 (중간 경로) === */
.vehicle-taxi {
    top: -30%;
    left: -20%;
    animation: vehicleRoute2 14s linear infinite;
    animation-delay: 2s;
}

.vehicle-car {
    top: -30%;
    left: -20%;
    animation: vehicleRoute2 14s linear infinite;
    animation-delay: 7s;
}

.vehicle-pizza {
    top: -30%;
    left: -20%;
    animation: vehicleRoute2 14s linear infinite;
    animation-delay: 12s;
}

/* === 경로 3 (하단 경로) === */
.vehicle-cart {
    top: -10%;
    left: -25%;
    animation: vehicleRoute3 18s linear infinite;
    animation-delay: 3s;
}

.vehicle-bus2 {
    top: -10%;
    left: -25%;
    animation: vehicleRoute3 18s linear infinite;
    animation-delay: 9s;
}

.vehicle-drone {
    top: -10%;
    left: -25%;
    animation: vehicleRoute3 18s linear infinite;
    animation-delay: 15s;
}

@media (max-width: 768px) {
/* === 경로 1 (상단 경로) === */
    .vehicle-bus1 {
        top: -40%;
        left: -65%;
        animation: vehicleRoute1 16s linear infinite;
        animation-delay: 1s;
    }

    .vehicle-delivery {
        top: -40%;
        left: -65%;
        animation: vehicleRoute1 16s linear infinite;
        animation-delay: 6s;
    }

    .vehicle-truck {
        top: -40%;
        left: -65%;
        animation: vehicleRoute1 16s linear infinite;
        animation-delay: 11s;
    }

    /* === 경로 2 (중간 경로) === */
    .vehicle-taxi {
        top: -10%;
        left: -65%;
        animation: vehicleRoute2 14s linear infinite;
        animation-delay: 2s;
    }

    .vehicle-car {
        top: -10%;
        left: -65%;
        animation: vehicleRoute2 14s linear infinite;
        animation-delay: 7s;
    }

    .vehicle-pizza {
        top: -10%;
        left: -65%;
        animation: vehicleRoute2 14s linear infinite;
        animation-delay: 12s;
    }

    /* === 경로 3 (하단 경로) === */
    .vehicle-cart {
        top: 20%;
        left: -65%;
        animation: vehicleRoute3 18s linear infinite;
        animation-delay: 3s;
    }

    .vehicle-bus2 {
        top: 20%;
        left: -65%;
        animation: vehicleRoute3 18s linear infinite;
        animation-delay: 9s;
    }

    .vehicle-drone {
        top: 20%;
        left: -65%;
        animation: vehicleRoute3 18s linear infinite;
        animation-delay: 15s;
    }
}

/* 경로 1 애니메이션 (상단) - 화면 상단을 가로질러 이동 */
@keyframes vehicleRoute1 {
    0% {
        transform: translateX(-300px) translateY(0px);
    }
    100% {
        transform: translateX(calc(100vw + 300px)) translateY(calc((100vw + 600px) * 0.577));
    }
}

/* 경로 2 애니메이션 (중간) - 화면 중간을 가로질러 이동 */
@keyframes vehicleRoute2 {
    0% {
        transform: translateX(-300px) translateY(0px);
    }
    100% {
        transform: translateX(calc(100vw + 300px)) translateY(calc((100vw + 600px) * 0.577));
    }
}

/* 경로 3 애니메이션 (하단) - 화면 하단을 가로질러 이동 */
@keyframes vehicleRoute3 {
    0% {
        transform: translateX(-300px) translateY(0px);
    }
    100% {
        transform: translateX(calc(100vw + 300px)) translateY(calc((100vw + 600px) * 0.577));
    }
}

/* Section 2 - About */
.section2 {
    background: var(--bg-color);
    color: white;
    padding: 0;
}

.section2 .content {
    height: 100%;
    padding: var(--padding) var(--padding) 0 var(--padding);
    display: flex;
    flex-direction: row;
}

.left-border {
    height: 100%;
    width: 1px;
    background: white;
}

/* 움직이는 파란색 박스 스타일 */
.moving-blue-box {
    position: absolute;
    width: 4px;
    height: 6rem;
    background: #4A9EFF;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(74, 158, 255, 0.6);
    pointer-events: none;
    z-index: 2;
}

/* 가로로 움직이는 파란색 박스 스타일 (vertical-border용) */
.moving-blue-box-horizontal {
    position: absolute;
    width: 48px;
    height: 4px;
    background: #4A9EFF;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(74, 158, 255, 0.6);
    pointer-events: none;
    z-index: 2;
}

.vertical-border {
    height: 1px;
    width: 100%;
    background: white;
}

.knx-column {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100%;
    flex: 1;
    position: relative;
}
.knx-card {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;   
    gap: 1.5rem;
}

.knx-card:first-child {
    padding-top: calc(var(--padding) + 2rem);
}

.vertical-border + .knx-card {
    padding-top: 2rem;
}

.knx-card-caption {
    font-size: .8rem;
    font-family: 'Paperlogy', sans-serif;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: flex-end;
    justify-content: space-between;
}
.knx-card-caption img {
    width: 2rem;
    height: 2rem;
}
.knx-card-title {
    font-size: 2rem;
    font-family: 'Pretendard', sans-serif;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.1;
}
.knx-card-title span {
    font-size: 1.5rem;
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    line-height: 1.5;
}
.knx-card-content {
    font-size: 1rem;
    font-family: 'Pretendard', sans-serif;
    margin-bottom: 1rem;
    font-weight: 500;
    line-height: 1.5;

}

.knx-card-tag {
    font-size: .8rem;
    font-family: 'Pretendard', sans-serif;
    margin-bottom: 1rem;
    font-weight: 400;
    opacity: 0;
}

.knx-right-vehicle {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    /* GSAP 애니메이션으로 제어되므로 CSS 애니메이션 비활성화 */
    /* transform: translateX(150px);
    opacity: 0;
    animation: vehicleSlideIn 1.8s ease-out forwards, vehicleShake 0.8s ease-in-out 2s infinite; */
}

.knx-right-vehicle img {
    /* GSAP 애니메이션으로 제어 */
}

.knx-marquee {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: nowrap;
    width: 100%;
    position: absolute;
    bottom: 2rem;
    left:0;
    overflow: hidden;
}

.knx-marquee:last-child {
    bottom: 5.5rem;
}

.knx-marquee p {
    font-size: 1rem;
    font-family: 'Pretendard', sans-serif;
    font-weight: 600;
    width: fit-content;
    line-height: 1.5;
    background: var(--sky-gray);
    color: var(--dark-navy);
    padding: 0.5rem 1rem;
    white-space: nowrap;
}

/* Marquee 애니메이션 효과 */
.knx-marquee::before,
.knx-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.knx-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-color), transparent);
}

.knx-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-color), transparent);
}

.knx-marquee-content {
    display: flex;
    /* animation: marqueeScroll 25s linear infinite; */ /* 물리 기반 애니메이션으로 대체 */
    gap: 20px;
    width: max-content;
}

/* .knx-marquee:last-child .knx-marquee-content {
    animation-direction: reverse;
    animation-duration: 30s;
}

.knx-marquee:hover .knx-marquee-content {
    animation-play-state: paused;
} */ /* 물리 기반 애니메이션으로 대체 */

@keyframes marqueeScroll {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Right Vehicle 애니메이션 */
@keyframes vehicleSlideIn {
    0% {
        transform: translateX(150px);
        opacity: 0;
    }
    70% {
        transform: translateX(-5px);
        opacity: 1;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes vehicleShake {
    0%, 100% {
        transform: translateX(0px) translateY(0px);
    }
    25% {
        transform: translateX(1px) translateY(-0.5px);
    }
    50% {
        transform: translateX(-1px) translateY(0.5px);
    }
    75% {
        transform: translateX(0.5px) translateY(-1px);
    }
}

@keyframes vehicleVibrate {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-0.5px) rotate(0.2deg);
    }
    50% {
        transform: translateY(0.5px) rotate(-0.1deg);
    }
    75% {
        transform: translateY(-0.3px) rotate(0.1deg);
    }
}

/* Section 3 - Services */
.section3 {
    padding: 0;
    position: relative;
}

.section3 .content {
    padding: var(--padding);
}

.section3 .knx-column {
    justify-content: flex-start;
}

.section3 .knx-card:first-child {
    padding: 6rem 4rem 2rem;
    flex: 0;
}

.knx-business {
    display: flex;
    flex-direction: row;
    gap: 0;
    padding: 0 4rem;
    flex: .9;
    max-height: calc(100% - 8rem);
}

.knx-business-item {
    flex: 1; /* 기본 1:1:1 비율 */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    gap: 1rem;
    transition: flex 0.5s cubic-bezier(0.25, 0.1, 0.25, 1); /* 부드러운 크기 변화 */
    cursor: pointer;
}

/* 호버 시 2배 크기로 확장 (1:1:2 비율) */
.knx-business-item:hover {
    flex: 2;
}

.knx-business .knx-business-item:nth-child(2) {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%), url('../img/business/business1.jpg') no-repeat center center;
    background-size: cover;
    transition: flex 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), background 0.3s ease;
}
.knx-business .knx-business-item:nth-child(4) {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%), url('../img/business/business2.jpg') no-repeat center center;
    background-size: cover;
    transition: flex 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), background 0.3s ease;
}

.knx-business .knx-business-item:nth-child(6) {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%), url('../img/business/business3.jpg') no-repeat center center;
    background-size: cover;
    transition: flex 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), background 0.3s ease;
}

/* 호버 시 그라디언트 연하게 */
.knx-business .knx-business-item:nth-child(2):hover {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.2) 100%), url('../img/business/business1.jpg') no-repeat center center;
    background-size: cover;
}
.knx-business .knx-business-item:nth-child(4):hover {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.2) 100%), url('../img/business/business2.jpg') no-repeat center center;
    background-size: cover;
}
.knx-business .knx-business-item:nth-child(6):hover {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.2) 100%), url('../img/business/business3.jpg') no-repeat center center;
    background-size: cover;
}

.knx-business-item-title {
    font-size: 1.5rem;
    font-family: 'Pretendard', sans-serif;
    font-weight: 600;
    line-height: 1.5;
}

.knx-business-item-content {
    font-size: 1rem;
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

/* 호버 시 내용 표시 */
.knx-business-item:hover .knx-business-item-content {
    opacity: 1;
    max-height: 200px; /* 충분한 높이 */
    transform: translateY(0);
    margin-top: 1rem;
}


/* Section 4 - Portfolio */
.section4 {
}

.knx-partners {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
}

.knx-partners img {
    width: calc(25% - 1rem);
}
.section4 h2 {
    font-size: 3rem;
    font-family: 'Paperlogy', sans-serif;
    margin-bottom: 3rem;
    color: white;
}


/* Section 5 - Contact */
.section5 {
    align-items: flex-start;
}

.section5 .bg-card{
    background: url('../img//contact.jpg') no-repeat center center;
    flex:1;
    display: flex;
}

.section5 .knx-column:first-child .knx-card{
    justify-content: space-between;
    padding: 0 2rem;}
.section5 .knx-column:first-child .knx-card img:first-child{
    flex:1;
    object-fit: cover;
    width: 100%;
    height: auto;
}
.section5 .knx-column:last-child {
    margin-top: 5rem;
    background: white;
    color: var(--dark-navy);
    height: calc(100% - 5rem);
}
.section5 .knx-column:last-child .knx-card {
    flex:1;
    justify-content: space-between;
}

.section5 .knx-column:last-child .knx-card .knx-column {
    flex:0;}
.section5 .knx-card img{width:100%;}

.knx-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.knx-contact-name {
    display: flex;
    flex-direction: row;
    gap: .5rem;
    font-size: 2rem;
    font-weight: 700;
    align-items: center;
}


.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 15px;
}

.contact-item h3 {
    font-size: 1.3rem;
    font-family: 'Paperlogy', sans-serif;
    margin-bottom: 0.5rem;
    color: #555;
}

.contact-item p {
    font-family: 'Pretendard', sans-serif;
}

.contact-form {
    width: 100%;
}

.contact-form input,
.contact-form textarea {
    width: 200px;
    padding: 15px;
    margin-bottom: 1rem;
    border: none;
    font-size: 2rem;
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    background: #0051FF;
    color: white;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: white;
    opacity: 1;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-family: 'Pretendard', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #5a67d8;
}

/* Navigation Dots */
.nav-dots {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.dot {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    margin: 10px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.3);
}

.dot:hover {
    background: white;
    transform: scale(1.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CSS 초기 숨김 완전 제거 - 섹션2처럼 */

/* 스크롤 진행률 인디케이터 스타일 */
.scroll-indicator {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 무거운 스크롤 기능을 위한 스타일 */
.container {
    scroll-snap-type: none; /* 무거운 스크롤과 충돌 방지 */
}

/* Responsive Design */
@media (max-width: 768px) {
    .section {
        padding: 2rem 1rem;
        height: auto; /* 내용에 따라 높이 자동 조정 */
        min-height: auto; /* 최소 높이도 자동 */
        margin-top: 0;
    }
    
    /* 모바일에서 Section1 */
    .section1 {
        height: auto; /* 내용에 따라 높이 자동 조정 */
        min-height: calc(100vh - var(--header-height-mobile)); /* 최소한 화면만큼은 확보 */
        margin-top: var(--header-height-mobile);
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    /* 모바일에서 shortcuts 숨기기 */
    .section1 .shortcuts {
        display: none;
    }
    
    /* 모바일에서 로고 크기 조정 */
    .section1 .content img {
        max-width: 90%;
        height: auto;
        width: auto;
        margin: 0 auto;
    }
    
    .section1 h1 {
        font-size: 2.5rem;
    }
    
    .section1 p {
        font-size: 1.2rem;
    }
    
    .section2 h2,
    .section3 h2,
    .section4 h2,
    .section5 h2 {
        font-size: 2rem;
    }
    
    .features,
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .nav-dots {
        display: none; /* 모바일에서 네비게이션 도트 완전히 숨기기 */
    }
    .content{max-width: 100%;}
    /* Section2 모바일 반응형 */
    .section2 .content {
        flex-direction: column; /* 세로 배치 */
        gap: 2rem;
        padding: 0; /* 패딩 제거 */
    }
    
    .knx-column {
        flex-direction: column; /* 세로 배치 */
        width: 100%;
        gap: 2rem;
    }
    
    /* 모바일에서 left-border를 가로 구분선으로 변경 */
    .left-border {
        width: 100%;
        height: 1px;
        background: white;
        margin: 1rem 0;
    }
    
    
    /* 카드 여백 조정 */
    .knx-card {
        padding: 0;
        margin-bottom: 1rem;
    }
        .knx-card:first-child{
            padding-top:0;
        }
    /* Right Vehicle 모바일에서 중앙 정렬 */
    .knx-right-vehicle {
        justify-content: center;
        margin: 1rem 0;
    }
    
    /* Section2 폰트 크기 조정 */
    .knx-card-title {
        font-size: 1.35rem;
        line-height: 1.4;
    }
        .knx-card-title span{font-size: 1rem;}
    .knx-card-content {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .knx-card-caption {
        font-size: 0.8rem;
    }
    
    .knx-card-tag {
        font-size: 0.8rem;
    }
    .knx-business{
        flex-direction: column;
        padding:0;
    }

    .knx-business-item{
        padding: 10rem 1rem 1rem;
    }
    .section3 .vertical-border{
        display: none;
    }

        .knx-partners{
            gap: 0.25rem;
        }
        .knx-partners img{
            width: calc(50% - 0.25rem);
        }
    .section5 {
        flex-direction: column;
        padding:2rem 1rem;
    }
    .knx-contact-name{
        flex-direction: column;
        align-items: flex-start;
        font-size: 1.35rem;
    }
    .section5 .knx-column:last-child .knx-card{
        padding: 1rem;

    }
    .section5 .knx-column:last-child .knx-card .knx-column{gap:.25rem;
        }
        .contact-form input,
        .contact-form textarea{
            font-size: 1.35rem;
        }

    /* Marquee 모바일 조정 */
    .knx-marquee {
        position: relative;
        bottom: auto;
        margin-top: 1rem;
    }
    
    .knx-marquee:last-child {
        bottom: auto;
        margin-top: 0.5rem;
    }
    
    .knx-marquee p {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
    
    .knx-marquee-content {
        gap: 10px;
        animation-duration: 15s;
    }
    
    .knx-marquee:last-child .knx-marquee-content {
        animation-duration: 18s;
    }
    
    .knx-marquee::before,
    .knx-marquee::after {
        width: 20px;
    }
    
    /* Right Vehicle 모바일 반응형 */
    .knx-right-vehicle {
        gap: 0.5rem;
        transform: translateX(100px);
        opacity: 0;
        animation: vehicleSlideInMobile 1.5s ease-out forwards, vehicleShakeMobile 1s ease-in-out 1.8s infinite;
    }
    
    .knx-right-vehicle img {
        animation: vehicleVibrateMobile 1.5s ease-in-out infinite;
        max-width: 30%;
    }
    
    @keyframes vehicleSlideInMobile {
        0% {
            transform: translateX(100px);
            opacity: 0;
        }
        70% {
            transform: translateX(-3px);
            opacity: 1;
        }
        100% {
            transform: translateX(0);
            opacity: 1;
        }
    }
    
    @keyframes vehicleShakeMobile {
        0%, 100% {
            transform: translateX(0px) translateY(0px);
        }
        50% {
            transform: translateX(0.5px) translateY(-0.3px);
        }
    }
    
    @keyframes vehicleVibrateMobile {
        0%, 100% {
            transform: translateY(0px) rotate(0deg);
        }
        50% {
            transform: translateY(-0.3px) rotate(0.1deg);
        }
    }

        .section3 .knx-card:first-child{padding:0;}
}

/* 태블릿 크기 (769px ~ 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .section1 .shortcuts {
        display: none; /* 태블릿에서도 shortcuts 숨기기 */
    }
    
    .section1 .content img {
        max-width: 85%;
        height: auto;
    }
}

/* Font Imports */
/* Pretendard 폰트 */
@font-face {
    font-family: 'Pretendard';
    font-weight: 100;
    font-style: normal;
    src: url('../font/Pretendard-Thin.woff') format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 200;
    font-style: normal;
    src: url('../font/Pretendard-ExtraLight.woff') format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 300;
    font-style: normal;
    src: url('../font/Pretendard-Light.woff') format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 400;
    font-style: normal;
    src: url('../font/Pretendard-Regular.woff') format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 500;
    font-style: normal;
    src: url('../font/Pretendard-Medium.woff') format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 600;
    font-style: normal;
    src: url('../font/Pretendard-SemiBold.woff') format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 700;
    font-style: normal;
    src: url('../font/Pretendard-Bold.woff') format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 800;
    font-style: normal;
    src: url('../font/Pretendard-ExtraBold.woff') format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 900;
    font-style: normal;
    src: url('../font/Pretendard-Black.woff') format('woff');
}

/* Paperlogy 폰트 */
@font-face {
    font-family: 'Paperlogy';
    font-weight: 100;
    font-style: normal;
    src: url('../font/Paperlogy-1Thin.ttf') format('truetype');
}

@font-face {
    font-family: 'Paperlogy';
    font-weight: 200;
    font-style: normal;
    src: url('../font/Paperlogy-2ExtraLight.ttf') format('truetype');
}

@font-face {
    font-family: 'Paperlogy';
    font-weight: 300;
    font-style: normal;
    src: url('../font/Paperlogy-3Light.ttf') format('truetype');
}

@font-face {
    font-family: 'Paperlogy';
    font-weight: 400;
    font-style: normal;
    src: url('../font/Paperlogy-4Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Paperlogy';
    font-weight: 500;
    font-style: normal;
    src: url('../font/Paperlogy-5Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'Paperlogy';
    font-weight: 600;
    font-style: normal;
    src: url('../font/Paperlogy-6SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Paperlogy';
    font-weight: 700;
    font-style: normal;
    src: url('../font/Paperlogy-7Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Paperlogy';
    font-weight: 800;
    font-style: normal;
    src: url('../font/Paperlogy-8ExtraBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Paperlogy';
    font-weight: 900;
    font-style: normal;
    src: url('../font/Paperlogy-9Black.ttf') format('truetype');
}
