﻿/* Lock body scrolling during first stage */
body.scroll-locked {
    overflow: hidden;
    height: 100vh;
}

/* After release, ensure sections overlay hero */
body.content-released .hero { z-index: -1; pointer-events: none; }

/* Desktop-only line breaks */
.desktop-only {
    display: inline;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    height: auto;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
    background: white;
    padding-top: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    top: calc(50% + 26px);
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1760px;
    height: 80vh;
    max-height: 760px;
    min-height: 400px;
    border-radius: 0 48px 48px 48px;
    overflow: hidden;
    z-index: 1;
}

/* Responsive Design - Ultra Large Desktop (2560px and above) */
@media (min-width: 2560px) {
    .hero {
        min-height: 100vh;
        height: auto;
    }
    
    .hero-bg {
        height: 114vh;
        max-height: 1287px;
        min-height: 858px;
        width: 95%;
        max-width: 2517px;
    }
    
    .business-section {
        margin-top: 0;
    }
    
    .hero-content h1 {
        font-size: 88px;
    }
    
    .hero-content p {
        font-size: 26px;
    }
    
    .business-container {
        width: 100%;
        max-width: 2000px;
    }
    
    .business-left h2 {
        font-size: 5rem;
    }
    
    .business-left p {
        font-size: 1.3rem;
    }
    
    .business-card {
        width: 550px;
        height: 700px;
    }
    
    .product-section h2 {
        font-size: 3.5rem;
    }
    
    .product-section p {
        font-size: 1.2rem;
    }
}

.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    padding: 0 20px;
    width: 100%;
    max-width: 1279px;
    opacity: 0;
    animation: heroTextIn 0.8s ease-out 0.6s forwards;
}

.hero-content h1 {
    font-family: 'Pretendard', sans-serif;
    font-size: 64px;
    font-weight: 650;
    line-height: 1.25;
    color: #FFFFFF;
    margin-bottom: 40px;
    transition: color 0.4s ease;
}

.hero-content p {
    font-family: 'Pretendard', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    color: #FFFFFF;
    transition: color 0.4s ease;
    opacity: 0;
    transform: translateY(16px);
    animation: heroLineUp 0.7s ease-out 1.1s forwards;
}

/* Hero line-by-line animation */
.hero-content .line {
    display: block;
    opacity: 0;
    transform: translateY(16px);
    animation: heroLineUp 0.7s ease-out forwards;
}

.hero-content .line:nth-child(1) {
    animation-delay: 0.6s; /* after video shows */
}

.hero-content .line:nth-child(2) {
    animation-delay: 0.85s;
}

@keyframes heroLineUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes textAppear {
    to {
        opacity: 1;
        transform: translate(-50%, -50%) translateY(0);
    }
}

@keyframes imageAppear {
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(-50%) scale(1);
    }
}

@keyframes textToWhite {
    to {
        color: white;
        text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    }
}

@keyframes heroTextIn {
    from { opacity: 0; transform: translate(-50%, -45%); }
    to   { opacity: 1; transform: translate(-50%, -50%); }
}

@keyframes scrollIndicatorIn {
    from { opacity: 0; transform: translateX(50%) translateY(10px); }
    to   { opacity: 1; transform: translateX(50%) translateY(0); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 110px;
    right: 50%;
    transform: translateX(50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 10;
    opacity: 0;
    animation: scrollIndicatorIn 0.8s ease-out 1.4s forwards;
}

.scroll-indicator span {
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.57;
    color: #FFFFFF;
    text-align: center;
    transition: color 0.4s ease;
}

.scroll-arrow {
    width: 28px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-arrow img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: scrollBounce 2s ease-in-out infinite;
    transition: filter 0.4s ease, opacity 0.4s ease;
}

/* Hero state when text switches to dark colors during scroll */
.hero-dark .hero-content h1 { color: #1A1A1A; }
.hero-dark .hero-content p { color: #707070; }
/* Scroll indicator follows the same color tone */
.hero-dark .scroll-indicator span { color: #707070; }
.hero-dark .scroll-arrow img { filter: brightness(0); }

/* When hero should be covered by subsequent sections */
.hero-covered .hero-content { z-index: 0; pointer-events: none; }
.hero-covered .hero-bg { z-index: 0; }
/* Lower the hero itself when covered so following content naturally overlays */
.hero.hero-covered { z-index: 0; }

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Business Section */
.business-section {
    background: white;
    padding: 80px 0 160px 0;
    position: relative !important;
    overflow: visible !important;
    z-index: 1 !important;
    margin-top: 100vh;
}

.business-container {
    width: 90%;
    max-width: 1760px;
    margin: 100px auto 80px;
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
}

.business-left {
    width: calc(100% - 520px - 50px - 520px);
    height: 680px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.business-left h2 {
    font-size: 3.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.1;
}

.business-left p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

.business-right {
    display: flex;
    gap: 50px;
}

.business-card {
    position: relative;
    width: 520px;
    height: 680px;
    border-radius: 48px;
    overflow: hidden;
    cursor: default;
    transition: transform 0.3s ease;
    background: #f7f7f7;
}

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

.business-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #f7f7f7;
    display: block;
}

/* 鍮꾩쫰?덉뒪 移대뱶 諛곌꼍 ?대?吏 ?ㅼ젙 */
.business-card:first-child {
    background: url('/public/images/image_sub01.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.business-card:last-child {
    background: url('/public/images/image_sub02.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: white;
    padding-bottom: 80px;
}

.card-text {
    font-family: "Pretendard", sans-serif;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    line-height: 1.3;
}

/* Product Section */
.product-section {
    background: white;
    color: white;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 100px 0 80px;
}

/* Ensure full white fill behind product content and background image */
.product-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #FFFFFF;
    z-index: 0;
}

/* Ensure white background for all main sections */
#business,
#product,
#works {
    background: #FFFFFF;
}

/* Remove margin-collapses at section edges so sections visually touch */
#business > *:first-child,
#product > *:first-child,
#works > *:first-child { margin-top: 0; }

#business > *:last-child,
#product > *:last-child,
#works > *:last-child { margin-bottom: 0; }

/* Footer area background */
#footer-placeholder { background: #FFFFFF; }

.product-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 90%;
    max-width: 1760px;
    height: 70vh;
    max-height: 720px;
    min-height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('/public/images/image_g1cloud_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0 48px 48px 48px;
    z-index: 1;
}

.product-content {
    position: relative;
    z-index: 2;
    padding: 0;
    transform: translateY(30px);
}

.product-logo {
    display: block;
    margin: 0 auto 50px;
    padding: 0 50px 0 0;
    width: 680px;
    height: auto;
}

.product-section .badge {
    background: none;
    color: white;
    font-weight: bold;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 1rem;
    display: inline-block;
}

.product-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.product-section p {
    font-size: 1rem;
    color: white;
    margin-bottom: 80px;
}

.more-btn {
    background: transparent;
    border: none;
    color: white;
    padding: 15px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-size: 1rem;
}

.more-btn:hover {
    opacity: 0.7;
}

/* Ensure white background for works section wrapper */
#works { background: #FFFFFF; }

/* Portfolio Section */
.portfolio-container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 110px 0 80px;
    overflow: hidden; /* 洹몃━???몃????④? */
    position: relative;
    background: white;
    padding-left: 0;
}

.portfolio-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-30%);
    width: 60px;
    height: 80px;
    background: rgba(255, 255, 255, 0.6);
    border: none;
    border-radius: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: all 0.3s ease;
}

.portfolio-nav-btn img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.portfolio-nav-btn:hover {
    opacity: 0.7;
}

.portfolio-nav-btn.prev {
    left: 0;
}

.portfolio-nav-btn.next {
    right: 0;
}

.portfolio-grid {
    display: flex;
    gap: 50px;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding-left: 80px;
    margin-left: 0;
}

.portfolio-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.portfolio-item {
    position: relative;
    height: 442px;
    min-width: 442px;
    width: 442px;
    border-radius: 0 48px 48px 48px;
    overflow: hidden;
    transition: all 0.5s ease;
    flex-shrink: 0;
}

.portfolio-item:hover {
    width: 736px;
    min-width: 736px;
    z-index: 15;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), rgba(0, 0, 0, 1));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 15;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0 0 0 89px;
    width: 100%;
    max-width: 639px;
    position: relative;
    z-index: 10;
}

.portfolio-title {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.portfolio-title h3 {
    font-family: "Pretendard", sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.5;
    color: white;
    margin: 0;
}

.portfolio-title p {
    font-family: "Pretendard", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    color: white;
    margin: 0;
}

.portfolio-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    background: none;
    border: none;
    color: white;
    font-family: "Pretendard", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.3s ease;
}

.portfolio-btn:hover {
    opacity: 0.7;
}

.arrow-icon {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    flex-shrink: 0;
    transform: scale(1);
}

/* Responsive Design - Large Desktop (1600px to 2499px) */
@media (min-width: 1600px) and (max-width: 2499px) {
    .hero-bg {
        height: 85vh;
    }
    
    .hero-content h1 {
        font-size: 72px;
    }
    
    .hero-content p {
        font-size: 22px;
    }
    
    .business-container {
        width: 100%;
        max-width: 1760px;
    }
    
    .business-left h2 {
        font-size: 4.5rem;
    }
    
    .business-left p {
        font-size: 1.2rem;
    }
    
    .business-card {
        width: 500px;
        height: 640px;
    }
    
    .product-section h2 {
        font-size: 3rem;
    }
    
    .product-section p {
        font-size: 1.1rem;
    }

    .portfolio-nav-btn {
        transform: translateY(-30%);
    }
}

/* Responsive Design - Medium Desktop (1200px to 1599px) */
@media (max-width: 1599px) and (min-width: 1200px) {
    .hero-bg {
        width: calc(100% - 160px);
        height: 80vh;
        max-height: 760px;
        top: calc(50% + 26px);
    }
    
    .hero-content h1 {
        font-size: 58px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .business-section {
        padding: 80px 0 40px 0;
    }
    
    .business-container {
        width: 90%;
        max-width: 1360px;
    }
    
    .business-left {
        width: 55%;
        height: 600px;
    }
    
    .business-card {
        width: 400px;
        height: 533px;
    }
    
    .product-bg {
        width: 90%;
        max-width: 1360px;
        height: 75vh;
        max-height: 650px;
    }
    
    .product-logo {
        width: 500px;
        transform: translateX(10px);
    }
    
    .more-btn {
        transform: translateY(-30px);
    }
    
    .portfolio-container {
        padding: 0 0 80px 0;
    }
    
    .portfolio-item {
        min-width: 400px;
        width: 400px;
        height: 400px;
    }
    
    .portfolio-item img {
        height: 400px;
    }
    
    .portfolio-item:hover img {
        height: 400px;
    }
    
    .portfolio-overlay {
        height: 400px;
    }
    
    .portfolio-title h3 {
        font-size: 32px;
    }
    
    .portfolio-title p {
        font-size: 16px;
    }
    
    .portfolio-nav-btn {
        transform: translateY(-100%);
    }
}

/* Responsive Design - Small Desktop (1025px to 1199px) */
@media (max-width: 1199px) and (min-width: 1025px) {
    .hero-bg {
        width: 92%;
        height: 100vh;
        max-height: 600px;
    }
    
    .hero-content h1 {
        font-size: 52px;
    }
    
    .hero-content p {
        font-size: 17px;
    }
    
    .business-container {
        width: 95%;
        max-width: 1000px;
        flex-direction: column;
        gap: 60px;
    }
    
    .business-left {
        width: 100%;
        height: auto;
        padding: 0 20px;
    }
    
    .business-left h2 {
        font-size: 3.5rem;
    }
    
    .business-right {
        justify-content: flex-end;
        gap: 40px;
    }
    
    .business-card {
        width: 472px;
        height: 400px;
    }
    
    .card-text {
        font-size: 28px;
    }
    
    .product-bg {
        width: 90%;
        height: 90vh;
        max-height: 600px;
    }
    
    .product-logo {
        width: 400px;
    }
    
    .product-section h2 {
        font-size: 2.2rem;
    }
    
    .portfolio-item {
        height: 307px;
        min-width: 307px;
        width: 307px;
    }
    
    .portfolio-item:hover {
        width: 480px;
        min-width: 480px;
    }
    
    .portfolio-content {
        padding: 0 0 0 50px !important;
    }

    .portfolio-title h3 {
        font-size: 28px;
    }
    
    .portfolio-title p {
        font-size: 15px;
    }
    
    .portfolio-title h3 {
        font-size: 28px;
    }
    
    .portfolio-title p {
        font-size: 15px;
    }
}

/* Responsive Design - Tablet (768px to 1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
    .hero {
        min-height: 100vh;
        height: auto;
        padding: 120px 0 0;
    }

    .hero-bg {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: calc(100% - 40px);
        height: calc(100vh - 120px);
        max-height: calc(100vh - 120px);
        min-height: 400px;
        border-radius: 0 40px 40px 40px;
        overflow: hidden;
    }

    .hero-content h1 {
        line-height: 1.3;
        font-size: 48px;
        margin-bottom: 40px;
        color: white;
    }

    .hero-content p {
        font-size: 18px;
        line-height: 1.6;
        color: white;
    }

    .business-section {
        padding: 120px 0 200px 0 !important;
        overflow: visible !important;
        position: relative !important;
    }

    .business-container {
        width: 100% !important;
        max-width: 100% !important;
        flex-direction: column !important;
        padding: 0 20px !important;
        gap: 40px !important;
        position: relative !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    .business-left {
        width: 100% !important;
        height: auto !important;
        text-align: center !important;
    }

    .business-left h2 {
        font-size: 3rem !important;
    }

    .business-left p {
        font-size: 16px !important;
    }

    .business-right {
        flex-direction: row !important;
        gap: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        display: flex !important;
        justify-content: space-between !important;
        padding: 0 !important;
    }

    .business-card {
        width: calc(50% - 10px) !important;
        min-width: auto !important;
        max-width: none !important;
        height: 520px !important;
        border-radius: 24px !important;
        flex: 1 !important;
    }

    .card-text {
        font-size: 28px !important;
    }

    .product-section {
        padding: 120px 0 20px 0 !important;
    }

    .product-bg {
        width: 100% !important;
        height: 60vh !important;
        max-width: 100% !important;
        max-height: 600px !important;
        min-height: 400px !important;
        border-radius: 0 !important;
    }

    .product-logo {
        width: 350px !important;
        height: auto !important;
        margin: 0 auto 50px !important;
        padding: 0 !important;
        max-width: 350px !important;
    }

    .product-section h2 {
        font-size: 32px !important;
    }

    .product-section p {
        font-size: 16px !important;
    }

    .portfolio-container {
        padding: 120px 15px 80px 15px !important;
    }

    .portfolio-nav-btn {
        display: none !important;
    }

    .portfolio-grid {
        flex-direction: row !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-behavior: smooth !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
        gap: 20px !important;
    }

    .portfolio-item {
        min-width: 320px !important;
        width: 320px !important;
        height: 480px !important;
        flex-shrink: 0 !important;
        border-radius: 0 24px 24px 24px !important;
        display: flex !important;
        flex-direction: column !important;
        background: white !important;
        overflow: hidden !important;
        cursor: default !important;
        transition: none !important;
    }

    .portfolio-item img {
        width: 100% !important;
        height: 280px !important;
        object-fit: cover !important;
        flex-shrink: 0 !important;
        transition: none !important;
        transform: none !important;
    }

    .portfolio-content {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        padding: 20px 10px 20px 0 !important;
        background: white !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: relative !important;
        z-index: 10 !important;
        gap: 30px !important;
        width: 100% !important;
        max-width: none !important;
    }

    .portfolio-title h3 {
        font-size: 20px !important;
        font-weight: 700 !important;
        color: #333 !important;
        margin-bottom: 8px !important;
        line-height: 1.4 !important;
        opacity: 1 !important;
        visibility: visible !important;
        font-family: "Pretendard", sans-serif !important;
    }

    .portfolio-title p {
        font-size: 14px !important;
        color: #666 !important;
        line-height: 1.5 !important;
        opacity: 1 !important;
        visibility: visible !important;
        font-family: "Pretendard", sans-serif !important;
    }

    .portfolio-btn {
        align-self: flex-start !important;
        font-size: 14px !important;
        color: #333 !important;
        font-weight: 600 !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        background: none !important;
        border: none !important;
        cursor: pointer !important;
        padding: 0 !important;
        pointer-events: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        font-family: "Pretendard", sans-serif !important;
        margin-top: 0 !important;
        min-height: 20px !important;
        line-height: 1.2 !important;
    }

    .portfolio-btn img {
        width: 16px !important;
        height: 16px !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        filter: brightness(0) !important;
    }

    .portfolio-overlay {
        display: flex !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        background: none !important;
        opacity: 1 !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        z-index: 1 !important;
        height: auto !important;
        width: auto !important;
    }

    /* Hide desktop-only line breaks on tablet */
    .desktop-only {
        display: none;
    }
}

/* Responsive Design - Mobile (767px and below) */
@media (max-width: 767px) {
    .hero {
        min-height: 100vh;
        height: auto;
        padding: 100px 0 0;
    }

    .hero-bg {
        position: absolute;
        top: calc(50% + 10px);
        left: 50%;
        transform: translate(-50%, -50%);
        width: calc(100% - 20px);
        height: calc(100vh - 100px);
        max-height: calc(100vh - 100px);
        min-height: 300px;
        border-radius: 0 20px 20px 20px;
        overflow: hidden;
    }

    .hero-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: calc(100% - 20px);
        max-width: calc(100% - 20px);
        text-align: center;
        color: white;
        text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
        word-wrap: break-word;
        word-break: keep-all;
        overflow-wrap: break-word;
        margin: 0;
    }

    .hero-content h1 {
        line-height: 1.3;
        font-size: 44px;
        margin-bottom: 30px;
        color: white;
        width: 100%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-content p {
        font-size: 18px;
        line-height: 1.6;
        color: white;
    }

    .scroll-indicator {
        bottom: 80px;
    }

    .scroll-indicator span {
        font-size: 12px;
    }

    .scroll-arrow {
        width: 24px;
        height: 32px;
    }

    .business-section {
        padding: 50px 0 75px 0 !important;
    }

    .business-container {
        width: 100% !important;
        max-width: 100% !important;
        flex-direction: column !important;
        padding: 0 15px !important;
        gap: 30px !important;
        margin: 50px auto 50px !important;
    }

    .business-left {
        width: 100% !important;
        height: auto !important;
        text-align: center !important;
    }

    .business-left h2 {
        font-size: 2.5rem !important;
        margin-bottom: 20px !important;
    }

    .business-left p {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    .business-right {
        flex-direction: row !important;
        gap: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        display: flex !important;
        justify-content: space-between !important;
        padding: 0 !important;
    }

    .business-card {
        width: calc(50% - 7.5px) !important;
        min-width: auto !important;
        max-width: none !important;
        height: 400px !important;
        border-radius: 16px !important;
        flex: 1 !important;
    }

    .card-overlay {
        height: 200px !important;
        padding-bottom: 40px !important;
    }

    .card-text {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }

    .product-section {
        padding: 100px 0 20px 0 !important;
    }

    .product-bg {
        width: 100% !important;
        height: 600px !important;
        max-width: 100% !important;
        max-height: 600px !important;
        min-height: 600px !important;
        border-radius: 0 !important;
    }

    .product-logo {
        width: 250px !important;
        height: auto !important;
        margin: 0 auto 40px !important;
        padding: 0 !important;
        max-width: 250px !important;
    }

    .product-section h2 {
        font-size: 24px !important;
        margin-bottom: 15px !important;
    }

    .product-section p {
        font-size: 14px !important;
        margin-bottom: 60px !important;
    }

    .portfolio-container {
        padding: 20px 15px 60px 15px !important;
    }

    .portfolio-grid {
        flex-direction: row !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-behavior: smooth !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        gap: 15px !important;
    }

    .portfolio-item {
        min-width: 280px !important;
        width: 280px !important;
        height: 480px !important;
        flex-shrink: 0 !important;
        border-radius: 0 16px 16px 16px !important;
        display: flex !important;
        flex-direction: column !important;
        background: white !important;
        overflow: hidden !important;
        cursor: default !important;
        transition: none !important;
    }

    .portfolio-item img {
        width: 100% !important;
        height: 280px !important;
        object-fit: cover !important;
        flex-shrink: 0 !important;
        transition: none !important;
        transform: none !important;
        border-radius: 0 24px 24px 24px !important;
    }

    .portfolio-nav-btn {
        transform: translateY(-100%);
    } 

    .portfolio-content {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        padding: 15px 10px 15px 0 !important;
        background: white !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: relative !important;
        z-index: 10 !important;
        gap: 30px !important;
        width: 100% !important;
        max-width: none !important;
    }

    .portfolio-title h3 {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #333 !important;
        margin-bottom: 6px !important;
        line-height: 1.4 !important;
        opacity: 1 !important;
        visibility: visible !important;
        font-family: "Pretendard", sans-serif !important;
    }

    .portfolio-title p {
        font-size: 12px !important;
        color: #666 !important;
        line-height: 1.5 !important;
        opacity: 1 !important;
        visibility: visible !important;
        font-family: "Pretendard", sans-serif !important;
    }

    .portfolio-btn {
        align-self: flex-start !important;
        font-size: 12px !important;
        color: #333 !important;
        font-weight: 600 !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        background: none !important;
        border: none !important;
        cursor: pointer !important;
        padding: 0 !important;
        pointer-events: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        font-family: "Pretendard", sans-serif !important;
        margin-top: 0 !important;
        min-height: 18px !important;
        line-height: 1.2 !important;
    }

    .portfolio-btn img {
        width: 14px !important;
        height: 14px !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        filter: brightness(0) !important;
    }

    .portfolio-overlay {
        display: flex !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        background: none !important;
        opacity: 1 !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        z-index: 1 !important;
        height: auto !important;
        width: auto !important;
    }

    /* Hide desktop-only line breaks on mobile */
    .desktop-only {
        display: none;
    }
}

/* Responsive Design - Small Mobile (480px and below) */
@media (max-width: 480px) {
    .business-section {
        padding: 50px 0 50px 0 !important;
    }

    .business-right {
        flex-direction: row !important;
        gap: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-behavior: smooth !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        padding-bottom: 10px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .business-card {
        width: 250px !important;
        min-width: 250px !important;
        max-width: 250px !important;
        height: 350px !important;
        border-radius: 16px !important;
        flex-shrink: 0 !important;
    }

    .portfolio-container {
        padding: 0 15px 0 15px !important;
    }

    .portfolio-item img {
        height: 300px !important;
        border-radius: 0 24px 24px 24px !important;
    }

    .portfolio-nav-btn {
        transform: translateY(-100%);
    } 

    .hero-content h1 {
        font-size: 44px;
        margin-bottom: 25px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .business-left h2 {
        font-size: 2rem !important;
    }

    .business-left p {
        font-size: 13px !important;
    }

    .business-card {
        width: 250px !important;
        min-width: 250px !important;
        max-width: 250px !important;
        height: 350px !important;
    }

    .card-text {
        font-size: 18px !important;
    }

    .product-bg {
        width: 100% !important;
        height: 560px !important;
        max-width: 100% !important;
        max-height: 560px !important;
        min-height: 560px !important;
        border-radius: 0 !important;
        padding-bottom: 100px !important;
    }

    .product-section h2 {
        font-size: 22px !important;
    }

    .product-section p {
        font-size: 13px !important;
    }

    .product-logo {
        width: 200px !important;
        max-width: 200px !important;
    }

    .portfolio-item {
        min-width: 250px !important;
        width: 250px !important;
        height: 450px !important;
    }

    .portfolio-item img {
        height: 280px !important;
    }

    .portfolio-title h3 {
        font-size: 18px !important;
    }

    .portfolio-title p {
        font-size: 14px !important;
    }

    .portfolio-btn {
        font-size: 11px !important;
    }

    .portfolio-btn img {
        width: 12px !important;
        height: 12px !important;
    }
}

/* Container responsive adjustments */
.container {
    padding: 0 15px !important;
}

.section {
    padding: 110px 0 80px 0 !important;
}

/* Mobile Scroll Indicator */
.scroll-indicator {
    display: flex;
}

