/* 기본 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

body.menu-open {
    overflow: hidden;
}

body.menu-open::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 998;
}

/* 헤더 스타일 */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.nav_act {
    color: #007bff !important;
}

.red_c {
    color: #c4122c;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.logo-t {
    color: #c4122c;
}

.logo:hover {
    color: #007bff;
}

.logo:hover .logo-t {
    color: #c4122c;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.8rem 0;
    font-size: 1.1rem;
}

.pc_none {
    display: none;
}

/* HOME 메뉴 숨김 */
.nav-links li:first-child {
    display: block;
}

/* CONTACT US 텍스트 숨김 */
.nav-links .quote-btn {
    font-size: 0;
    position: relative;
}

/* CONTACT US 아이콘 추가 */
.nav-links .quote-btn::before {
    content: '\f0e0';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.1rem;
}

.nav-links > li > a:hover, .nav-links > li > a:focus {
    color: #007bff;
    background-color: transparent;
    border-radius: 0;
    transition: color 0.2s;
}

.quote-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    margin-left: -6rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

.quote-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.quote-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.quote-btn:hover::before {
    left: 100%;
}

.quote-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.2);
}

/* 히어로 섹션 */
#hero {
    height: 100vh;
    background: linear-gradient(rgba(40, 40, 40, 0.5), rgba(40, 40, 40, 0.5)), url('img/main_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease-out;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    transform: scale(1.1);
    transition: all 0.5s ease-out;
    z-index: -1;
}

#hero.scrolled::before {
    transform: scale(1.05);
    filter: brightness(0.8);
}

#hero.scrolled {
    background-position: center 20%;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    
    margin-top: 10%;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.hero-left, .hero-center, .hero-right {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    
    min-height: 100%;
}

.hero-left-en {
    flex: 0.8;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    
    min-height: 100%;
}

.hero-content p.hide {
    display: none;
}

.hero-right.en {
    display: flex;
    flex-direction: row;
}

.hero-right {
    margin-bottom: 100px;
}

.hero-logo {
    max-width: 80%;
    height: auto;
    margin: 0 auto;
}

.hero-left p, .hero-center p, .hero-right p {
    font-size: 1.2rem;
    
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    
}

.cta-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
}

/* 서비스 섹션 */
#services {
    padding: 5rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

#services h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.service-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.service-card i {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.services-title-line2 {
    display: inline;
}

.services-title-line3 {
    display: inline;
}
@media (max-width: 964px) {
    .services-title-line2 {
        display: block;
        margin-top: 0.3em;
    }

    .services-title-line3 {
        display: block;
        margin-top: 0.3em;
    }
}

/* 포트폴리오 섹션 */
#portfolio {
    padding: 5rem 1rem;
    background-color: #f8f9fa;
}

#portfolio h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-item {
    height: 300px;
    background-color: #ddd;
    border-radius: 10px;
}

/* 고객 후기 섹션 */
#testimonials {
    padding: 5rem 1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

/* CTA 섹션 */
#cta {
    padding: 5rem 1rem;
    background-color: #007bff;
    color: white;
    text-align: center;
}

#cta h2 {
    margin-bottom: 2rem;
}

/* 푸터 */
footer {
    background-color: #333;
    color: white;
    padding: 4rem 1rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #fff;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 1px;
    background-color: #5b5b5b;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 0.8rem;
}

.footer-section a:hover {
    color: #007bff;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #ccc;
}

.contact-info i {
    color: #007bff;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #007bff;
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
}

/* 드롭다운 메뉴 스타일 */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 0.8rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

/* PC 모드에서만 마우스오버 효과 적용 */
@media (min-width: 769px) {
    .dropdown:hover .dropdown-content {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown:hover > a i {
        transform: rotate(180deg);
    }
}

.dropdown-content li {
    list-style: none;
}

.dropdown-content a {
    display: block;
    padding: 1rem 1.8rem;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    background-color: #f8f9fa;
    color: #007bff;
    padding-left: 2rem;
}

.dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown > a i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover > a i {
    transform: rotate(180deg);
}

/* 반응형 디자인 */
@media screen and (max-width: 964px) {
    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: white;
        z-index: 1000;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    nav {
        padding: 0.5rem 1rem;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .logo-img {
        height: 45px;
    }

    .mobile-toggle {
        display: block;
        margin-left: auto;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100%;
        background-color: white;
        flex-direction: column;
        padding: 5rem 1rem 1rem;
        transition: right 0.3s ease;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        gap: 0.8rem;
        z-index: 999;
        overflow-y: auto;
        margin: 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        margin: 0;
    }

    .nav-links a {
        display: block;
        padding: 0.8rem 0;
        font-size: 1.1rem;
        margin: 0;
    }

    .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        padding: 0.5rem 0;
        margin: 0.5rem 0 0 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background-color: #f8f9fa;
        border-radius: 8px;
    }

    .dropdown-content li {
        margin: 0;
    }

    .dropdown-content a {
        padding: 0.8rem 1rem;
        border-bottom: none;
        font-size: 1rem;
    }

    .dropdown-content li:last-child a {
        border-bottom: none;
    }

    .mb-ft-ms {
        font-size: 1.7rem !important;
    }
}

/* 밀리벳소개 섹션 */
.about-milivet-section {
    background: #f8fafc;
    padding: 8rem 1rem 4rem 1rem;
}
.about-milivet-container {
    display: flex;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    gap: 3rem;
    flex-wrap: wrap;
}

.about-milivet-image {
    flex: 1 1 300px;
    min-width: 260px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-milivet-image img {
    max-width: 260px;
    width: 100%;
    opacity: 0.8;
}


.about-ceo-image {
    flex: 1 1 300px;
    min-width: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-ceo-image img {
    max-width: 220px;
    width: 100%;
    opacity: 0.8;
}


.about-milivet-content {
    flex: 2 1 400px;
    min-width: 260px;
}
.about-milivet-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    color: #222;
}
.about-milivet-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #444;
}
.about-milivet-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}
.about-milivet-list li {
    font-size: 1rem;
    margin-bottom: 0.7rem;
    padding-left: 1.2rem;
    position: relative;
    color: #333;
}
.about-milivet-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #007bff;
    position: absolute;
    left: 0;
    top: 0.1rem;
    font-size: 1rem;
}
.about-milivet-since {
    font-size: 1rem;
    color: #888;
    margin-top: 1.5rem;
    font-style: italic;
}

@media (max-width: 900px) {
    .about-milivet-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    .about-milivet-image {
        justify-content: center;
    }
}

/* 비전 페이지 스타일 */
.vision-section {
    background: linear-gradient(120deg, #f8fafc 60%, #e3eafc 100%);
    min-height: 100vh;
    padding: 120px 0 60px 0; /* 상단 네비게이션 가림 방지, 하단도 넉넉하게 */
    display: flex;
    align-items: center;
}
.vision-container {
    display: flex;
    align-items: flex-start;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    gap: 3.5rem;
    flex-wrap: wrap;
    background: rgba(255,255,255,0.95);
    border-radius: 32px;
    box-shadow: 0 8px 32px rgba(30,60,120,0.08);
    padding: 3rem 2rem;
}
.vision-symbol {
    flex: 1 1 320px;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.vision-symbol img {
    max-width: 300px;
    width: 100%;
    opacity: 0.92;
    filter: drop-shadow(0 4px 16px rgba(30,60,120,0.10));
    border-radius: 16px;
    background: #e3eafc;
    padding: 1.5rem;
}
.vision-content {
    flex: 2 1 400px;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.vision-title {
    font-size: 2.1rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 2.2rem;
    line-height: 1.4;
    letter-spacing: -1px;
}
.vision-highlight {
    display: flex;
    align-items: baseline;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}
.vision-number {
    font-size: 2.2rem;
    color: #5a8dee;
    font-weight: 600;
    font-family: 'Montserrat', 'Pretendard', sans-serif;
}
.vision-milivet {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    font-family: 'Montserrat', 'Pretendard', sans-serif;
}
.vision-performance {
    font-size: 1.5rem;
    color: #222;
    font-weight: 600;
    margin-left: 0.5rem;
}
.vision-divider {
    border: none;
    border-top: 2px solid #e3eafc;
    margin: 1.5rem 0 2rem 0;
}
.vision-desc {
    font-size: 1.13rem;
    color: #333;
    margin-bottom: 1.2rem;
    line-height: 1.8;
}
.vision-red {
    color: #e53935;
    font-weight: 700;
}
.vision-bold {
    font-weight: 700;
    color: #1a3669;
}
.vision-green {
    color: #1db954;
    font-weight: 700;
}
.vision-blue {
    color: #1976d2;
    font-weight: 700;
}

/* 추가 시각적 요소: 배경 심볼 데코 */
.vision-section::before {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background: url('https://cdn.pixabay.com/photo/2017/01/31/13/14/arrow-2023449_1280.png') no-repeat left 40% top 10%/300px auto;
    opacity: 0.07;
    z-index: 0;
    pointer-events: none;
}
.vision-section {
    position: relative;
    z-index: 1;
}

@media (max-width: 900px) {
    .vision-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        padding: 2rem 1rem;
    }
    .vision-symbol {
        justify-content: center;
    }
    .vision-title {
        font-size: 1.3rem;
    }
    .vision-milivet {
        font-size: 1.5rem;
    }
    .vision-number {
        font-size: 1.3rem;
    }
}

/* 밀리벳소개 단일 페이지 스타일 (비전 페이지와 통일) */
.milivet-page-section {
    background: linear-gradient(120deg, #f8fafc 60%, #e3eafc 100%);
    min-height: 100vh;
    padding: 120px 0 60px 0;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}
.milivet-page-section::before {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background: url('https://cdn.pixabay.com/photo/2017/01/31/13/14/arrow-2023449_1280.png') no-repeat left 40% top 10%/300px auto;
    opacity: 0.07;
    z-index: 0;
    pointer-events: none;
}
.about-milivet-container {
    background: rgba(255,255,255,0.95);
    border-radius: 32px;
    box-shadow: 0 8px 32px rgba(30,60,120,0.08);
    padding: 3rem 2rem;
    position: relative;
    z-index: 1;
}
@media (max-width: 900px) {
    .milivet-page-section {
        padding: 100px 0 40px 0;
    }
    .about-milivet-container {
        padding: 2rem 1rem;
    }
}

.footer-email-compact {
    margin-top: -0.4rem;
    margin-bottom: 0.2rem;
    margin-left: 0;
    padding-left: 28px;
    font-size: 1em;
    color: #ccc;
    display: block;
}

/* 모바일 토글 메뉴 */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-toggle span {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* 반응형 디자인 */
@media (max-width: 964px) {
    nav {
        position: relative;
        padding-right: 60px;
    }

    .mobile-toggle {
        display: flex;
        position: absolute;
        right: 25px;
        top: 50%;
        transform: translateY(-50%);
    }


    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 0.8rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid #eee;
    }

    .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        padding: 0.5rem 0;
        margin-top: 0.5rem;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background-color: #f8f9fa;
        border-radius: 8px;
    }

    .dropdown-content li {
        margin: 0;
    }

    .dropdown-content a {
        padding: 0.8rem 1.5rem;
        border-bottom: none;
        font-size: 1rem;
    }

    .dropdown-content li:last-child a {
        border-bottom: none;
    }

    .bb_none {
        border-bottom: 0px !important;
    }

    .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        background: #f8f8f8;
        margin-top: 10px;
        padding: 10px;
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        padding: 8px 15px;
        display: block;
    }

    .dropdown-content li {
        margin: 5px 0;
    }

    .dropdown-content a:hover {
        background-color: #f0f0f0;
        padding-left: 2rem;
    }

    .dropdown > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .dropdown > a i {
        transition: transform 0.3s ease;
    }

    .dropdown.active > a i {
        transform: rotate(180deg);
    }

    /* 토글 버튼 애니메이션 */
    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* 오버레이 */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        z-index: 999;
    }

    .nav-overlay.active {
        display: block;
    }

    /* PC 모드 quote-btn 숨김 */
    nav .quote-btn {
        display: none;
    }

    /* 모바일 메뉴 CONTACT US 기본 숨김 */
    .mobile-contact {
        display: none;
    }

    .hero-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .hero-left, .hero-center, .hero-right {
        width: 100%;
        font-family: 'Poppins', sans-serif;
        font-size: 0.8rem !important;
        line-height: 1.4;
        font-weight: 300;
        color: #ffffff;
        margin: 0;
        text-align: center;
        letter-spacing: -0.01em;
    }
    
    #hero {
        background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('img/main_img_mo.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .hero-content .hide {
        display: none;
    }

    .hero-content .show {
        text-align: center;
    }

    .hero-content .hero-left p {
        display: block;
        text-align: center;
    }

    .hero-left-en p {
    display: block;
    text-align: center;
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    }

    .mo_on {
        display: block !important;
    }
}

/* 사업분야(비즈니스) 페이지 전용 스타일 */
.business-hero {
    text-align: center;
    padding: 150px 20px 80px 20px;  /* 상단 여백을 100px로 늘림 */
    background: #f7fafd;
}
.business-hero h1 {
    font-size: 2.5rem;
    color: #1a3669;
    margin-bottom: 10px;
    font-weight: 700;
}
.business-intro {
    color: #555;
    font-size: 1.15rem;
    margin-bottom: 0;
}

.business-section {
    max-width: 1100px;
    margin: 0 auto 80px auto;      /* 하단 여백을 80px로 늘림 */
    padding: 60px 20px 0 20px;     /* 상단 여백을 60px로 늘림 */
}
.business-section h2 {
    font-size: 1.5rem;
    color: #1a3669;
    margin-bottom: 30px;
    font-weight: 700;
    border-left: 5px solid #e53935;
    padding-left: 12px;
}
.business-section .sub {
    font-size: 1rem;
    color: #888;
    font-weight: 400;
    margin-left: 8px;
}

.business-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    margin-bottom: 32px;
}
.business-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(30,60,120,0.08);
    padding: 32px 24px 24px 24px;
    text-align: center;
    transition: box-shadow 0.2s;
    border: 1px solid #e6eaf3;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
    will-change: opacity, transform;
}
.business-card:hover {
    box-shadow: 0 8px 32px rgba(30,60,120,0.13);
}
.business-card i {
    font-size: 2.5rem;
    color: #1a3669;
    margin-bottom: 16px;
}
.business-card h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
}
.business-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.business-card ul li {
    color: #444;
    font-size: 1rem;
    margin-bottom: 7px;
    line-height: 1.5;
}

.business-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    align-items: center;
    margin: 30px 0 0 0;
}
.business-logos img {
    height: 38px;
    background: #fff;
    border-radius: 8px;
    padding: 6px 12px;
    box-shadow: 0 2px 8px rgba(30,60,120,0.07);
    object-fit: contain;
}

.business-region-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}
.region-card {
    background: #f7fafd;
    border-radius: 14px;
    padding: 24px 18px 18px 18px;
    box-shadow: 0 2px 10px rgba(30,60,120,0.06);
    text-align: left;
    border: 1px solid #e6eaf3;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
    will-change: opacity, transform;
}
.region-card:hover {
    box-shadow: 0 8px 32px rgba(30,60,120,0.13);
}
.region-card h3 {
    color: #1a3669;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 700;
}
.region-card ul {
    padding-left: 18px;
    margin: 0;
}
.region-card ul li {
    color: #444;
    font-size: 0.98rem;
    margin-bottom: 6px;
    line-height: 1.5;
}

.business-card.visible, .region-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 반응형 */
@media (max-width: 700px) {

    .business-card, .region-card {
        padding: 18px 8px 14px 8px;
    }
    .business-logos img {
        height: 28px;
        padding: 4px 6px;
    }
}

/* 오시는길(about-location.html) 전용 스타일 */
.location-hero {
    text-align: center;
    padding: 130px 20px 40px 20px;
    background: #f7fafd;
}
.location-hero h1 {
    font-size: 2.3rem;
    color: #1a3669;
    margin-bottom: 10px;
    font-weight: 700;
}
.location-intro {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.location-section {
    max-width: 900px;
    margin: 0 auto 60px auto;
    padding: 40px 20px 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: flex-start;
    justify-content: center;
}

.location-info-box {
    flex: 1 1 320px;
    min-width: 260px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(30,60,120,0.08);
    padding: 32px 24px 24px 24px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    font-size: 1.05rem;
}
.location-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #1a3669;
    font-weight: 500;
    font-size: 1.08rem;
}
.location-info-item i {
    color: #007bff;
    font-size: 1.3rem;
    min-width: 24px;
}

.location-map-box {
    flex: 2 1 400px;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.location-map-box iframe {
    width: 100%;
    min-width: 260px;
    height: 350px;
    border: 0;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(30,60,120,0.08);
}

@media (max-width: 900px) {
    .location-section {
        flex-direction: column;
        gap: 2rem;
        padding: 24px 6px 0 6px;
    }
    .location-info-box, .location-map-box {
        flex: 1 1 1px;
        min-width: 0;
        width: 100%;
        padding: 18px 10px 14px 10px;
    }
    .location-map-box iframe {
        height: 250px;
    }
}

/* 제품군 페이지 전용 스타일 */
.products-hero {
    text-align: center;
    padding: 150px 20px 80px 20px;
    background: #f7fafd;
}
.products-hero h1 {
    font-size: 2.3rem;
    color: #1a3669;
    margin-bottom: 10px;
    font-weight: 700;
}
.products-intro {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.products-section {
    max-width: 1100px;
    margin: 0 auto 60px auto;
    padding: 40px 20px 0 20px;
}
.products-section h2 {
    font-size: 1.4rem;
    color: #1a3669;
    margin-bottom: 30px;
    font-weight: 700;
    border-left: 5px solid #e53935;
    padding-left: 12px;
}

.products-table-wrap {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(30,60,120,0.08);
    padding: 32px 18px 24px 18px;
    margin-bottom: 32px;
}
.products-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 18px;
    font-size: 1rem;
}
.products-table th, .products-table td {
    border: 1px solid #e6eaf3;
    padding: 16px 10px;
    text-align: center;
    background: #f7fafd;
}
.products-table th {
    background: #1a3669;
    color: #fff;
    font-size: 1.08rem;
    font-weight: 700;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.products-table .table-sub {
    font-size: 0.95em;
    color: #e3eafc;
    font-weight: 400;
}
.products-table td {
    color: #333;
    background: #fff;
    font-size: 0.98rem;
}
.products-table-note {
    background: #f8f9fa;
    color: #1a3669;
    font-size: 0.98rem;
    text-align: left;
    padding: 14px 18px;
    border-radius: 8px;
    border: none;
}
.products-table-desc {
    margin: 0 0 10px 0;
    padding-left: 18px;
    color: #444;
    font-size: 0.98rem;
}
.products-table-desc li {
    margin-bottom: 6px;
    line-height: 1.6;
}
.products-quote {
    text-align: center;
    color: #e53935;
    font-weight: 700;
    font-size: 1.08rem;
    margin-top: 18px;
    letter-spacing: -1px;
}

.industry-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 32px;
}
.industry-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(30,60,120,0.08);
    padding: 32px 24px 24px 24px;
    text-align: center;
    transition: box-shadow 0.2s;
    border: 1px solid #e6eaf3;
}
.industry-card:first-child {
    grid-column: 1 / -1;
    text-align: left;
}
.industry-logo {
    height: 38px;
    margin-bottom: 12px;
}
.industry-card h3 {
    font-size: 1.15rem;
    color: #1a3669;
    margin-bottom: 12px;
    font-weight: 700;
}
.industry-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.industry-card ul li {
    color: #444;
    font-size: 0.98rem;
    margin-bottom: 7px;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .industry-products-grid {
        grid-template-columns: 1fr;
    }
    
    .industry-card:first-child {
        grid-column: 1;
    }
}

/* 사업방향(roadmap.html) 전용 스타일 */
.roadmap-hero {
    text-align: center;
    padding: 150px 20px 80px 20px;
    background: #f7fafd;
}
.roadmap-hero h1 {
    font-size: 2.3rem;
    color: #1a3669;
    margin-bottom: 10px;
    font-weight: 700;
}
.roadmap-hero p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.roadmap-main-section {
    max-width: 1100px;
    margin: 0 auto 60px auto;
    padding: 40px 20px 0 20px;
    
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.roadmap-main-section h2 {
    font-size: 1.4rem;
    color: #1a3669;
    margin-bottom: 18px;
    font-weight: 700;
}
.roadmap-main-section p {
    color: #444;
    font-size: 1.05rem;
    margin-bottom: 10px;
}
.roadmap-main-section .roadmap-key {
    font-weight: 700;
    color: #1a3669;
}
.roadmap-main-section .roadmap-partner {
    color: #e53935;
    font-weight: 700;
}
.roadmap-main-section img {
    max-width: 260px;
    margin: 0 auto;
    display: block;
}
.roadmap-main-section .roadmap-icons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1.5rem;
}
.roadmap-main-section .roadmap-icons i {
    font-size: 2.5rem;
}

.roadmap-cards-section {
    max-width: 900px;
    margin: 0 auto 60px auto;
    padding: 40px 20px 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}
.roadmap-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(30,60,120,0.08);
    padding: 32px 24px 24px 24px;
    transition: box-shadow 0.2s;
    border: 1px solid #e6eaf3;
}
.roadmap-card:hover {
    box-shadow: 0 8px 32px rgba(30,60,120,0.13);
}
.roadmap-card h3 {
    font-size: 1.1rem;
    color: #1a3669;
    margin-bottom: 12px;
    font-weight: 700;
}
.roadmap-card ul {
    list-style: disc;
    padding-left: 1.2rem;
    color: #444;
    font-size: 0.98rem;
}
.roadmap-card ul li {
    margin-bottom: 7px;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .roadmap-main-section, .roadmap-cards-section {
        grid-template-columns: 1fr;
        padding: 24px 6px 0 6px;
        gap: 1.5rem;
    }
    .roadmap-main-section img {
        max-width: 180px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 3% auto;
    padding: 26px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #e53935;
}

.modal h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #1976d2;
    outline: none;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    background-color: #1976d2;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.submit-btn i {
    margin-right: 8px;
}

.submit-btn:hover {
    background-color: #1154a2;
}

@media (max-width: 964px) {
    .products-table-wrap {
        padding: 20px 10px;
    }

    .products-table {
        display: block;
        width: 100%;
    }

    .products-table thead {
        display: none;
    }

    .products-table tbody {
        display: block;
        width: 100%;
    }

    .products-table tr {
        display: block;
        width: 100%;
        margin-bottom: 20px;
        border: 1px solid #e6eaf3;
        border-radius: 8px;
        background: #fff;
    }

    .products-table td {
        display: block;
        width: 100%;
        text-align: left;
        padding: 12px;
        border: none;
        border-bottom: 1px solid #e6eaf3;
        position: relative;
        padding-left: 120px;
    }

    .products-table td:last-child {
        border-bottom: none;
    }

    .products-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 12px;
        width: 100px;
        font-weight: bold;
        color: #1a3669;
    }

    .products-table-note {
        margin-top: 20px;
        padding: 15px;
        padding-left: 20px !important;
    }

    .products-table-desc {
        padding-left: 12px;
    }
}

.about-milivet-details {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 0rem;
}

.about-milivet-details h3 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: #333;
}

.about-milivet-details h4 {
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
    color: #444;
}

.about-milivet-details h5 {
    font-size: 1.2rem;
    margin: 1.2rem 0 0.8rem;
    color: #555;
}

.about-milivet-details p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #666;
}

.about-milivet-details ul {
    list-style: none;
    
    margin-bottom: 1.5rem;
}

.about-milivet-details ul li {
    position: relative;    
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
}


.about-milivet-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
    margin: 2rem 0;
}

.about-milivet-values {
    list-style: none;
    padding: 0;
}

.about-milivet-values li {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0.8rem;
    color: #666;
}

.about-milivet-mission {
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: center;
    color: #333;
    font-weight: 500;
}

.about-milivet-contact {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

.about-milivet-contact a {
    color: #c4122c;
    text-decoration: none;
    font-weight: 500;
}

.about-milivet-contact a:hover {
    text-decoration: underline;
}

.partner-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.partner-list li {
    font-size: 1.1rem;
    color: #333;
    background-color: #e9ecef;
    padding: 10px 15px;
    border-radius: 5px;
    white-space: nowrap;
}

.center-video {
    display: block;
    margin: 20px auto; /* Add some vertical margin for spacing */
    max-width: 100%; /* Ensure it's responsive */
    height: auto;
}

.company-image {
    display: block;
}

.company-image-mobile {
    display: none;
}

.wbka {
    word-break: keep-all;
}

@media (max-width: 964px) {
    .company-image {
        display: none;
    }
    
    .company-image-mobile {
        display: block;
    }

    .about-milivet-image {
        flex: 1 1 120px;
        min-width: 260px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    
}

.mobile-br {
    display: none;
}

.pc-br {
    display: contents;;
}

@media (max-width: 964px) {
    .mobile-br {
        display: inline;
    }

    .pc-br {
        display: none;
    }
}



.vision-symbol-pc {
    display: block;
}

.vision-symbol-mobile {
    display: none;
}

@media (max-width: 964px) {
    .vision-symbol-pc {
        display: none;
    }
    
    .vision-symbol-mobile {
        display: block;
    }
    .vision-symbol {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .vision-symbol {
    flex: 1 1 120px;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    }

    .vision-highlight {
    display: block;
    align-items: baseline;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
    justify-content: center;
    }
}

.about-mc-desc .about-mc-line1,
.about-mc-desc .about-mc-line2,
.about-mc-desc .about-mc-line3,
.about-mc-desc .about-mc-line4,
.about-mc-desc .about-mc-line5,
.about-mc-desc .about-mc-line6,
.about-mc-desc .about-mc-line7 {
    display: inline;
    word-break: keep-all;
}
@media (max-width: 964px) {
    .about-mc-desc .about-mc-line1,
    .about-mc-desc .about-mc-line2,
    .about-mc-desc .about-mc-line3,
    .about-mc-desc .about-mc-line4,
    .about-mc-desc .about-mc-line5,
    .about-mc-desc .about-mc-line6,
    .about-mc-desc .about-mc-line7 {
        display: block;
        margin-top: 0.25em;
        line-height: 1.7;
    }
    .about-mc-desc {
        font-size: 1.08em;
    }

    .mobile-none {
        display: none;
    }

    .mobile-bold {
        font-weight: 700;
    }

    .mo_wbka {
        word-break: keep-all;
    }

    .mo_smallfont {
        font-size: 0.99em;
    }
}

.about-mc-activated,
.about-mc-diatomaceous,
.about-mc-cc,
.about-mc-starch,
.about-mc-additives,
.about-mc-coffee,
.about-mc-feed,
.about-mc-glo
.about-mc-wbka {
    word-break: keep-all;
}

.language-switch {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin-left: auto;
}

.ls-kr {
    margin-left: 3em;
}

.lang-btn {
    background: none;
    border: none;
    color: #333;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    padding: 0.2em 0.7em;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}
.lang-btn.active,
.lang-btn:hover {
    background: #007bff;
    color: #fff;
}
.lang-divider {
    color: #bbb;
    font-size: 1em;
    user-select: none;
}
@media (max-width: 964px) {
    .language-switch {
        margin-left: 0;
        justify-content: center;
        gap: 0.3em;
        margin-left: auto;
    }
    .lang-btn {
        font-size: 1em;
        padding: 0.2em 0.8em;
    }
    .lang-divider {
        font-size: 1em;
    }

}

.nav-links.active {
    z-index: 999;
}

/* 모달이 열렸을 때 body 스크롤 방지 */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

.hero-center-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem !important;
    line-height: 1.4;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
    text-align: left;
    letter-spacing: -0.01em;
}

/* PC 버전에서의 언어 변경 스위치 스타일 */
@media screen and (min-width: 769px) {
    .language-switch {
        position: relative;
        z-index: 1000;
    }

    @media screen and (max-width: 1307px) {
        .nav-links {
            display: flex;
            align-items: center;
            gap: 30px;
            margin-left: 30px;
        }

        .language-switch {
            margin-left: 10px;
            order: 1;
        }

        .quote-btn {
            order: 2;
            margin-left: 10px;
        }

        .pc_none.mo_on {
            order: 3;
        }
    }
}

/* PC 버전 스타일 */
@media screen and (min-width: 965px) {
    header {
        width: 100%;
        max-width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
        height: 80px;
    }

    nav {
        width: 100%;
        max-width: 100%;
        
        box-sizing: border-box;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        
        height: 100%;
    }

    .logo {
        flex-shrink: 0;
    }

    .nav-links {
        width: auto;
        max-width: none;
        display: flex;
        justify-content:space-around;
        align-items: center;
        gap: 3em;
        flex-shrink: 0;
    }

    .quote-btn {
        flex-shrink: 0;
    }
}

/* 제품군 카드형 UI 개선 - 카드 세로 확장 및 이미지 확대 */
.pro_in ul.flex1 {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    align-items: flex-start;
    padding: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
}

.pro_in ul.flex1 li {
    background: #fff;
    border-radius: 18px;
    /* border: none; */
    box-shadow: 0 6px 24px 0 rgba(30, 34, 90, 0.10), 0 1.5px 6px 0 rgba(30, 34, 90, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    width: 320px;
    min-height: 390px;
    height: 100%;
    list-style: none;
    padding: 10px 8px 14px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    justify-content: flex-start;
}

.pro_in ul.flex1 li:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 36px 0 rgba(30, 34, 90, 0.16), 0 2px 8px 0 rgba(30, 34, 90, 0.10);
}

.pro_in ul.flex1 img {
    width: 100%;
    max-width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 0px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.pro_in ul.flex1 h4 {
    font-size: 1.13rem;
    font-weight: 600;
    text-align: center;
    color: #222;
    min-height: 54px;
    flex: 0 0 auto;
}

.pro_in ul.flex1 h4 a {
    text-decoration: none;
    color: inherit;
}

.pro_in ul.flex1 .pr_more1 {
    margin-top: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.pro_in ul.flex1 .pr_more1 a {
    display: inline-block;
    margin-top: 0;
    padding: 4px 20px;
    background: #250e9a;
    color: #fff;
    border-radius: 20px;
    font-size: 1.01rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
    margin-left: 0px !important;
    box-shadow: 0 2px 8px rgba(255,87,34,0.08);
}

/* Hero 섹션 PC/모바일 구분 */
.pc-only {
    display: flex; /* hero-content의 기본값이 flex이므로 유지 */
}

.mobile-only {
    display: block; /* 기본적으로 보이도록 설정 */
}

/* 모바일 Swiper 스타일 */
.hero-swiper-container {
    width: 100%;
    height: 100vh; /* 모바일 화면 전체 높이 */
    height: 100dvh; /* 동적 뷰포트 높이 사용 */
    position: relative;
    overflow: hidden;
}

.heroSwiper {
    width: 100%;
    height: 100%;
}

.heroSwiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
}

.heroSwiper .swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: zoomInBg 20s infinite;
    transform-origin: center;
    z-index: -1;
}

.heroSwiper .swiper-slide:nth-child(1)::before {
    background-image: url('img/main_img_mo.jpg');
    animation: zoomInBg 20s infinite;
}
.heroSwiper .swiper-slide:nth-child(2)::before {
    background-image: url('img/main_img_mo.jpg');
    animation: zoomOutBg 20s infinite;
}

/* 기존 배경 이미지 설정 제거 */
.heroSwiper .swiper-slide:nth-child(1),
.heroSwiper .swiper-slide:nth-child(2) {
    background-image: none;
}

@keyframes zoomInBg {
    0% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes zoomOutBg {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.3);
    }
}

.heroSwiper .slide-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.heroSwiper .slide-content p {
    font-size: 1.5em;
    line-height: 1.6;
    font-weight: 400;
}

.heroSwiper .slide-content.en p {
    font-size: 1.2em;
    line-height: 1.6;
    font-weight: 400;
}

.heroSwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #fff;
    opacity: 0.7;
}

.heroSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #e53935;
}

@media screen and (max-width: 768px) {
    header nav {
        justify-content: space-between;
        padding: 1rem 5%;
    }

    .pc-only {
        display: none; /* 모바일에서 숨김 */
    }

    .mobile-only {
        display: block; /* 모바일에서 보임 */
    }

    #hero {
        padding: 0;
        height: 100vh;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }
}

@media screen and (min-width: 769px) {
    .mobile-only {
        display: none; /* PC에서 숨김 */
    }

    .pc-only {
        display: flex; /* PC에서 보임 */
    }
}

@media (max-width: 964px) {
    /* 모바일 슬라이더 내부의 hero-left-en, hero-right-en 스타일 오버라이드 */
    .mobile-only .hero-left-en,
    .mobile-only .hero-right-en {
        width: 100%;
        flex: 1;
    }

    .mobile-only .hero-right-en {
        display: flex;
        flex-direction: row;
    }

    .hero-logo {
        max-width: 80%;
        height: 25vh;
        margin: 0;
    }

    .hero-logo_kr {
        max-width: 80%;
        height: 40vh;
        margin: 0;
    }

    /* 모바일에서 hero 섹션 높이 조정 */
    #hero {
        height: 100vh;
        height: 100dvh;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero-swiper-container {
        height: 100vh;
        height: 100dvh;
        min-height: 100vh;
        min-height: 100dvh;
    }
}

@keyframes fadeInUpHero {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.fadein1 { opacity: 0; animation: fadeInUpHero 0.7s forwards; animation-delay: 0.1s; }
.fadein2 { opacity: 0; animation: fadeInUpHero 0.7s forwards; animation-delay: 0.2s; }
.fadein3 { opacity: 0; animation: fadeInUpHero 0.7s forwards; animation-delay: 0.3s; }
.fadein4 { opacity: 0; animation: fadeInUpHero 0.7s forwards; animation-delay: 0.4s; }
.fadein5 { opacity: 0; animation: fadeInUpHero 0.7s forwards; animation-delay: 0.5s; }
.fadein6 { opacity: 0; animation: fadeInUpHero 0.7s forwards; animation-delay: 0.6s; }
.fadein7 { opacity: 0; animation: fadeInUpHero 0.7s forwards; animation-delay: 0.7s; }
.fadein8 { opacity: 0; animation: fadeInUpHero 0.7s forwards; animation-delay: 0.8s; }
.fadein9 { opacity: 0; animation: fadeInUpHero 0.7s forwards; animation-delay: 0.9s; }
.fadein10 { opacity: 0; animation: fadeInUpHero 0.7s forwards; animation-delay: 1.0s; }
.fadein11 { opacity: 0; animation: fadeInUpHero 0.7s forwards; animation-delay: 1.1s; }
