/* ===== Font ===== */
/* Noto Sans KR - loaded via Google Fonts in HTML */

/* ===== CSS Variables ===== */
:root {
    --primary-color: #153070;
    --primary-light: #295bac;
    --primary-dark: #152961;
    --secondary-color: #0ea5e9;
    --accent-color: #06b6d4;
    
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    
    --border-color: #e5e7eb;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-light {
    background-color: var(--bg-white);
    color: var(--primary-color);
}

.btn-light:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

/* ===== Header ===== */
/* Navigation styles are in navigation.css */

/* ===== Hero Section ===== */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
    padding-left: calc((100% - 1400px) / 2 + 2rem);
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
    transition: opacity 0.5s ease;
}

.hero-video.hidden {
    opacity: 0;
    pointer-events: none;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-position: center;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.8s ease, opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.hero-slide.prev {
    opacity: 0;
    transform: translateX(-100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-label {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 30px;
    color: #fff;
}

.hero-subtitle {
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.25;
    color: #fff;
    
}

.hero-desc {
    font-size: 20px;
    margin-bottom: 45px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero-scroll-hint i {
    font-size: 28px;
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-7px);
    }
}

/* ===== Section Common ===== */
.section {
    padding: 180px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-title.light {
    color: var(--bg-white);
}

.section-desc {
    font-size: 16px;
    color: var(--text-gray);
}

.section-desc.light {
    color: rgba(255, 255, 255, 0.8);
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--bg-dark);
}

/* ===== Company Intro Section ===== */
.company-intro {
    padding: 120px 0 80px 0;
    background-color: #fff;
    position: relative;
}

.company-intro::before {
    display: none;
}

.intro-wrapper {
    display: block;
    position: relative;
    z-index: 1;
    text-align: center;
}

.intro-label {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards 0.1s;
}

.intro-heading {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards 0.2s;
}

.highlight-text {
    position: relative;
    display: inline-block;
    color: var(--text-dark);
    animation: highlightColorChange 0.5s ease forwards 0.5s;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    animation: underlineGrow 0.8s ease forwards 1s;
}

@keyframes highlightColorChange {
    to {
        color: var(--primary-color);
    }
}

@keyframes underlineGrow {
    to {
        transform: scaleX(1);
    }
}
}

.intro-text {
    margin-bottom: 0;
    max-width: 900px;
    margin: 0 auto 60px;
}

.intro-text h3 {
    font-size: 26px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards 0.3s;
}

.intro-text p {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards 0.4s;
}

.intro-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--primary-color);
    margin-top: 50px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards 0.9s;
}

.intro-more i {
    font-size: 4px;
    animation: arrowBounce 1s ease-in-out infinite;
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.intro-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    transition: all 0.3s;
    flex: 1;
}

.intro-feature:hover {
    background: var(--primary-color);
}

.intro-feature:hover i,
.intro-feature:hover strong,
.intro-feature:hover p {
    color: #fff;
}

.intro-feature i {
    font-size: 28px;
    color: var(--primary-color);
    transition: color 0.3s;
}

.intro-feature > div {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.intro-feature .intro-more {
    margin-top: auto;
    padding-top: 15px;
    font-size: 14px;
    opacity: 1;
    transform: none;
    animation: none;
    align-self: center;
}

.intro-feature:hover .intro-more {
    color: #fff;
}

.intro-feature .intro-more i {
    font-size: 12px;
}

.intro-feature strong {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    transition: color 0.3s;
}

.intro-feature p {
    font-size: 15px;
    color: var(--text-gray);
    margin: 0;
    transition: color 0.3s;
}

.intro-feature:nth-child(1) {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards 0.6s;
}

.intro-feature:nth-child(2) {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards 0.7s;
}

.intro-feature:nth-child(3) {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards 0.8s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 조감도 섹션 */
.intro-jogam {
    margin-top: 60px;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.jogam-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.jogam-toggle {
    display: none;
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 15px 30px;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.jogam-toggle:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.jogam-image-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 1.5rem;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
}

.jogam-thumb {
    position: relative;
    flex: 1;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
}

.jogam-thumb img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.jogam-thumb:hover img {
    transform: scale(1.05);
}

.jogam-zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.jogam-zoom i {
    color: white;
    font-size: 1.2rem;
}

.jogam-thumb:hover .jogam-zoom {
    opacity: 1;
}

/* 조감도 모달 */
.jogam-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.jogam-modal.active {
    display: flex;
}

.jogam-modal-content {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
}

.jogam-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
}

.jogam-slides {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.jogam-slide {
    display: none;
    max-width: 95vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    min-width: 60vw;
    object-fit: contain;
}

.jogam-slide.active {
    display: block;
}

.jogam-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10;
}

.jogam-nav:hover {
    background: rgba(255, 255, 255, 0.4);
}

.jogam-prev {
    left: 10px;
}

.jogam-next {
    right: 10px;
}

.jogam-dots {
    text-align: center;
    margin-top: 1rem;
}

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

.jogam-dot.active,
.jogam-dot:hover {
    background: white;
}

/* 모바일 조감도 */
@media (max-width: 768px) {
    .jogam-toggle {
        display: inline-flex;
    }
    
    .intro-jogam {
        padding: 0 1rem;
    }
}

.pc-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .pc-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }
}

/* Fade In Animation Class */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@keyframes arrowBounce {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(8px);
    }
}

/* Hero Buttons & Animations */
.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 0.8s ease forwards 0.9s;
}

.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #fff;
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--primary-color);
    border-color: #fff;
}

/* Hero Animations */
.hero-label {
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 0.8s ease forwards 0.3s, shimmer 2s ease-in-out infinite 1.5s;
}

.hero-title {
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 0.8s ease forwards 0.5s;
}

.hero-desc {
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 0.8s ease forwards 0.7s;
}

.hero-btns {
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 0.8s ease forwards 0.9s;
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* Hero Highlight */
.hero-highlight {
    position: relative;
    display: inline-block;
    color: #fff;
    animation: heroColorChange 0.5s ease forwards 1s;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left;
    animation: heroUnderline 0.8s ease forwards 1.2s;
}

.hero-desc .hero-highlight::after {
    height: 3px;
    bottom: 2px;
    animation-delay: 1.8s;
}

.hero-desc .hero-highlight {
    animation-delay: 1.5s;
}

@keyframes heroColorChange {
    to {
        color: #fff;
    }
}

@keyframes heroUnderline {
    to {
        transform: scaleX(1);
    }
}
}

/* ===== Procedure Section ===== */
.procedure {
    padding: 120px 0;
    background: #fff;
}

/* Procedure Tabs */
.procedure-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 60px;
}

.procedure-tab {
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text-gray);
}

.procedure-tab:hover {
    color: var(--primary-color);
}

.procedure-tab.active {
    background: var(--primary-color);
    color: #fff;
}

.procedure-panel {
    display: none;
}

.procedure-panel.active {
    display: block;
}

.procedure-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 70px;
}

.procedure-title .text-primary {
    color: var(--primary-color);
}

.procedure-icons {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 80px;
}

.procedure-icon-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.procedure-circle {
    width: 120px;
    height: 120px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    background: #fff;
    transition: all 0.3s;
}

.procedure-circle::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    border: 3px solid #e5e7eb;
    z-index: -1;
}

.procedure-circle i {
    font-size: 40px;
    color: var(--primary-color);
    transition: all 0.3s;
}

#overseas .procedure-icon-item:first-child .procedure-circle i {
    margin-left: 13px;
}

.procedure-icon-item:hover .procedure-circle {
    background: var(--primary-color);
}

.procedure-icon-item:hover .procedure-circle i {
    color: #fff;
}

/* Flow animation for circles */
.procedure-icon-item:nth-child(1) .procedure-circle {
    animation: circleFlow 8s ease-in-out infinite 0s;
}

.procedure-icon-item:nth-child(2) .procedure-circle {
    animation: circleFlow 8s ease-in-out infinite 2s;
}

.procedure-icon-item:nth-child(3) .procedure-circle {
    animation: circleFlow 8s ease-in-out infinite 4s;
}

.procedure-icon-item:nth-child(4) .procedure-circle {
    animation: circleFlow 8s ease-in-out infinite 6s;
}

.procedure-icon-item:nth-child(1) .procedure-circle i {
    animation: circleFlowIcon 8s ease-in-out infinite 0s;
}

.procedure-icon-item:nth-child(2) .procedure-circle i {
    animation: circleFlowIcon 8s ease-in-out infinite 2s;
}

.procedure-icon-item:nth-child(3) .procedure-circle i {
    animation: circleFlowIcon 8s ease-in-out infinite 4s;
}

.procedure-icon-item:nth-child(4) .procedure-circle i {
    animation: circleFlowIcon 8s ease-in-out infinite 6s;
}

@keyframes circleFlow {
    0%, 20% {
        background: var(--primary-color);
    }
    25%, 100% {
        background: #fff;
    }
}

@keyframes circleFlowIcon {
    0%, 20% {
        color: #fff;
    }
    25%, 100% {
        color: var(--primary-color);
    }
}
    25%, 100% {
        color: var(--primary-color);
    }
}

.procedure-icon-item p {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.procedure-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.procedure-detail-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s;
    text-align: center;
}

.procedure-detail-item:hover {
    box-shadow: var(--shadow-md);
}

.procedure-number {
    font-size: 36px;
    font-weight: 700;
    color: #e5e7eb;
    line-height: 1;
}

.procedure-detail-item:hover .procedure-number {
    color: var(--primary-color);
}

/* Flow animation for numbers */
.procedure-detail-item:nth-child(1) .procedure-number {
    animation: numberFlow 8s ease-in-out infinite 0s;
}

.procedure-detail-item:nth-child(2) .procedure-number {
    animation: numberFlow 8s ease-in-out infinite 2s;
}

.procedure-detail-item:nth-child(3) .procedure-number {
    animation: numberFlow 8s ease-in-out infinite 4s;
}

.procedure-detail-item:nth-child(4) .procedure-number {
    animation: numberFlow 8s ease-in-out infinite 6s;
}

@keyframes numberFlow {
    0%, 20% {
        color: var(--primary-color);
    }
    25%, 100% {
        color: #e5e7eb;
    }
}

/* Five columns for domestic */
.procedure-details.five-cols {
    grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1200px) {
    .procedure-details.five-cols {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .procedure-details.five-cols {
        grid-template-columns: repeat(2, 1fr);
    }
}

.procedure-panel {
    text-align: center;
}

.procedure-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
}

.procedure-btn i {
    animation: arrowBounce 1s ease-in-out infinite;
}

/* Three columns for shipping */
.procedure-details.three-cols {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 968px) {
    .procedure-details.three-cols {
        grid-template-columns: 1fr;
    }
}

/* ===== Award Section ===== */
.award-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.award-item {
    text-align: center;
    padding: 40px;
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.award-year {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.award-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.award-item p {
    font-size: 14px;
    color: var(--text-gray);
}

/* ===== Services Section ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-item {
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    height: 160px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.service-item h3 {
    font-size: 16px;
    font-weight: 600;
    padding: 20px 15px 8px;
}

.service-item p {
    font-size: 13px;
    color: var(--text-gray);
    padding: 0 15px 20px;
}

/* ===== Services Section ===== */
.services {
    background: var(--bg-light);
    text-align: center;
}

.services-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 70px;
}

.services-title .text-primary {
    color: var(--primary-color);
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-card {
    display: flex;
    flex-direction: row;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    text-decoration: none;
}

.service-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.service-card-image {
    flex: 0 0 300px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.service-card:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: #fff;
}

.service-icon {
    width: 100px;
    height: 100px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.service-icon i {
    font-size: 48px;
    color: var(--primary-color);
    transition: color 0.3s;
}

.service-card:hover .service-icon i {
    color: #fff;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.service-card-btns {
    display: flex;
    gap: 10px;
    margin-top: auto;
    justify-content: center;
    width: 100%;
}

.service-card-btns .btn {
    flex: none;
}

.btn-primary-sm {
    padding: 10px 20px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary-sm:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline-sm {
    padding: 10px 20px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-outline-sm:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* 서비스 카드 버튼 - 초록색 (견적문의하기) */
.btn-service-primary {
    padding: 6px 12px;
    min-width: auto;
    background: #1e3a8a;
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s;
    border: none;
}

.btn-service-primary:hover {
    background: #1e40af;
    transform: translateY(-2px);
}

.btn-service-outline {
    padding: 6px 12px;
    min-width: auto;
    background: #FF9800;
    color: #fff;
    border: 2px solid #FF9800;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s;
}

.btn-service-outline:hover {
    background: #F57C00;
    border-color: #F57C00;
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .service-card {
        flex-direction: column;
    }
    
    .service-card-image {
        flex: 0 0 200px;
        height: 200px;
    }
    
    .service-card-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .services-title {
        font-size: 32px;
    }
}

/* Services Animations */
.services-title {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards 0.1s;
}

.service-card:nth-child(1) {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards 0.2s;
}

.service-card:nth-child(2) {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards 0.3s;
}

.service-card:nth-child(3) {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards 0.4s;
}

.service-card:nth-child(4) {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards 0.5s;
}

.service-card:nth-child(5) {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards 0.6s;
}

/* ===== Solution Section ===== */
.solution {
    position: relative;
    padding: 80px 0;
}

.solution::before {
    display: none;
}

.solution .container {
    position: relative;
    z-index: 1;
}

.solution-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.solution-title .text-primary {
    color: var(--primary-color);
}

.solution-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.solution-tab {
    padding: 12px 30px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.solution-tab:hover {
    background: var(--primary-light);
    color: #fff;
    border-color: var(--primary-light);
}

.solution-tab.active {
    background: var(--primary-color);
    color: #fff;
}

.solution-panel {
    display: none;
}

.solution-panel.active {
    display: block;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.solution-item {
    background: #fff;
    border-radius: 16px;
    padding: 0;
    text-align: center;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.solution-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.solution-icon {
    width: 100%;
    height: 220px;
    margin: 0;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

.solution-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solution-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 15px 10px;
    margin: 0;
}

@media (max-width: 768px) {
    .solution-tabs {
        flex-wrap: wrap;
    }
    
    .solution-tab {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .solution-item {
        width: calc(50% - 12px);
        min-width: 140px;
    }
    
    .solution-title {
        font-size: 1.8rem;
    }
}

/* ===== Packing Section ===== */
.packing {
    position: relative;
    text-align: center;
}

.packing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/images/process.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.3;
    z-index: 0;
}

.packing .container {
    position: relative;
    z-index: 1;
}

.packing-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 70px;
}

.packing-title .text-primary {
    color: var(--primary-color);
}

/* Packing Animations */
.packing-title {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards 0.1s;
}

.packing-main {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards 0.3s;
}

.packing-thumb:nth-child(1) {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards 0.3s;
}

.packing-thumb:nth-child(2) {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards 0.4s;
}

.packing-thumb:nth-child(3) {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards 0.5s;
}

.packing-thumb:nth-child(4) {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards 0.6s;
}

.packing-thumb:nth-child(5) {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards 0.7s;
}

.packing-thumb:nth-child(6) {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards 0.8s;
}

.packing-thumb:nth-child(7) {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards 0.9s;
}

.packing-viewer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.packing-main {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.packing-main-gif {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.packing-main-gif img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.packing-main h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    padding: 25px;
}

.packing-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.packing-thumb {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all 0.3s;
    border: 3px solid transparent;
}

.packing-thumb:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.packing-thumb.active {
    border-color: var(--primary-color);
}

.packing-thumb img {
    width: 90%;
    height: 110px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s;
    margin: 12px auto 0;
    display: block;
    border-radius: 8px;
}

.packing-thumb.active img {
    filter: grayscale(0%);
}

.packing-thumb span {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    text-align: center;
    padding: 12px;
}

@media (max-width: 1024px) {
    .packing-viewer {
        grid-template-columns: 1fr;
    }
    
    .packing-thumbs {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .packing-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .packing-thumbs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .packing-main-gif {
        height: 280px;
    }
}

/* ===== SMS Section ===== */
.sms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.sms-item {
    text-align: center;
    padding: 40px;
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.sms-item:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.sms-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary-color);
    transition: var(--transition);
}

.sms-item:hover .sms-icon {
    color: var(--bg-white);
}

.sms-item h3 {
    font-size: 16px;
    font-weight: 600;
}

/* ===== Community Section ===== */
.community-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 10px 30px;
    font-size: 14px;
    font-weight: 500;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.community-list {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.community-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.community-item:last-child {
    border-bottom: none;
}

.community-item:hover {
    background-color: var(--bg-light);
}

.community-category {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: var(--radius-sm);
    margin-right: 15px;
}

.community-item a {
    flex: 1;
    font-size: 15px;
}

.community-item a:hover {
    color: var(--primary-color);
}

.community-date {
    font-size: 13px;
    color: var(--text-light);
}

/* ===== Partners Section ===== */
.partners-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 70px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards 0.1s;
}

.partners-title .text-primary {
    color: var(--primary-color);
}

.partners {
    background: var(--bg-white);
    padding: 6rem 0;
    overflow: hidden;
}

.partners-slider {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.partners-slider::before,
.partners-slider::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 10;
    pointer-events: none;
}

.partners-slider::before {
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.partners-slider::after {
    right: 0;
    background: linear-gradient(to left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.partners-track {
    display: flex;
    overflow: hidden;
    gap: 2rem;
}

.partners-slide {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-shrink: 0;
}

.partners-track img {
    height: 30px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.partners-track img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

/* Right to Left Animation */
.partners-track-rtl .partners-slide {
    animation: scrollRTL 80s linear infinite;
}

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

/* Left to Right Animation */
.partners-track-ltr .partners-slide {
    animation: scrollLTR 80s linear infinite;
}

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

/* Pause animation on hover */
.partners-track:hover .partners-slide {
    animation-play-state: paused;
}

/* ===== CTA Section ===== */
.cta {
    position: relative;
    padding: 8rem 0;
    background-image: url('../images/cta.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    min-height: 500px;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta-content {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
    white-space: nowrap;
}

.cta-title.animate {
    opacity: 1;
    transform: translateY(0);
}

.cta-description {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out 0.2s;
}

.cta-description.animate {
    opacity: 1;
    transform: translateY(0);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out 0.4s;
}

.cta-buttons.animate {
    opacity: 1;
    transform: translateY(0);
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.4);
    background: #f8f9fa;
}

.cta-btn-primary svg {
    animation: ctaArrowMove 1.5s ease-in-out infinite;
}

.cta-btn-primary:hover svg {
    animation: ctaArrowMoveHover 0.6s ease-in-out infinite;
}

@keyframes ctaArrowMove {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

@keyframes ctaArrowMoveHover {
    0%, 100% {
        transform: translateX(3px);
    }
    50% {
        transform: translateX(8px);
    }
}

.cta-btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.cta-btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.mobile-break {
    display: none;
}

@media (max-width: 768px) {
    .cta {
        padding: 5rem 0;
        min-height: 400px;
    }
    
    .cta-title {
        font-size: 1.8rem;
        white-space: normal;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .mobile-break {
        display: inline;
    }
}

/* ===== Contact Section ===== */
.contact {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.08);
    z-index: 998;
    padding: 0;
    border-top: 1px solid rgba(21, 48, 112, 0.1);
    transform: translateY(0);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.contact.hide {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.contact .container {
    padding: 1rem 20px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: nowrap;
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.contact-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.contact-title h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.125rem;
    color: var(--text-dark);
}

.contact-title p {
    font-size: 0.8125rem;
    color: var(--text-gray);
    margin: 0;
}

.contact-form-inline {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: nowrap;
    flex: 1;
}

.contact-form-inline .form-group {
    flex: 1 1 auto;
    min-width: 120px;
    max-width: 160px;
}

.contact-form-inline select,
.contact-form-inline input {
    width: 100%;
    height: 44px;
    padding: 0 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    background: var(--bg-white);
}

.contact-form-inline select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.contact-form-inline input::placeholder {
    color: #9ca3af;
}

.contact-form-inline select:focus,
.contact-form-inline input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(21, 48, 112, 0.1);
    transform: translateY(-1px);
}

.terms-group {
    flex: 0 0 auto;
    min-width: 130px;
    flex-shrink: 0;
}

.terms-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    user-select: none;
}

.terms-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.terms-text {
    font-size: 0.875rem;
    color: var(--text-dark);
    white-space: nowrap;
}

.terms-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
}

.terms-link:hover {
    color: var(--primary-dark);
}

.btn-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--bg-white);
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(21, 48, 112, 0.3);
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(21, 48, 112, 0.4);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #333;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ===== Floating Buttons ===== */
.floating-buttons {
    position: fixed;
    right: 30px;
    bottom: 100px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.floating-buttons.hide {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
}

.floating-btn svg {
    width: 26px;
    height: 26px;
}

/* Phone Button */
.phone-btn {
    background: #28a745;
    color: white;
}

.phone-btn:hover {
    background: #218838;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

/* Kakao Button */
.kakao-btn {
    background: #FEE500;
    color: #3C1E1E;
}

.kakao-btn:hover {
    background: #F5DC00;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(254, 229, 0, 0.4);
}

/* Scroll to Top Button */
.scroll-to-top {
    background: var(--primary-color);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(21, 48, 112, 0.4);
}

/* Mobile Form Toggle */
.mobile-form-toggle {
    display: none;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid #eee;
}

.modal-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    background: var(--primary-color);
    color: white;
}

.modal-btn-outline {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    background: white;
    color: var(--primary-color);
}

/* Captcha */
.captcha-question {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.captcha-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1.25rem;
    text-align: center;
}

.captcha-error {
    color: #e53935;
    text-align: center;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    /* Contact 숨기기 (PC용) */
    .contact {
        display: none;
    }
    
    /* 모바일 폼 토글 버튼 */
    .mobile-form-toggle {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 60px;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
        border: none;
        border-radius: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        cursor: pointer;
        z-index: 999;
        font-size: 1.1rem;
        font-weight: 600;
        color: white;
    }
    
    .mobile-form-toggle.active {
        transform: translateY(100%);
        opacity: 0;
        pointer-events: none;
    }
    
    .mobile-form-toggle.hide {
        transform: translateY(100%);
        opacity: 0;
        pointer-events: none;
    }
    
    /* 모바일 폼 */
    .contact-form-mobile {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        transform: translateY(100%);
        transition: transform 0.4s ease;
        z-index: 998;
        max-height: 85vh;
        overflow-y: auto;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.15);
        visibility: hidden;
    }
    
    .contact-form-mobile.active {
        transform: translateY(0);
        visibility: visible;
    }
    
    .mobile-contact-card {
        background: white;
        border-radius: 20px 20px 0 0;
        padding: 1.5rem;
        position: relative;
    }
    
    .mobile-contact-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        width: 32px;
        height: 32px;
        background: #f5f5f5;
        border: none;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
    
    .mobile-contact-header {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .mobile-contact-icon {
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-contact-icon i {
        font-size: 1.5rem;
        color: white;
    }
    
    .mobile-contact-title h3 {
        font-size: 1.2rem;
        font-weight: 700;
        color: #333;
        margin: 0 0 0.3rem 0;
    }
    
    .mobile-contact-title p {
        font-size: 0.85rem;
        color: #888;
        margin: 0;
    }
    
    .mobile-form {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .mobile-form select,
    .mobile-form input {
        width: 100%;
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
        border: 1px solid #e0e0e0;
        border-radius: 10px;
        background: #fafafa;
        box-sizing: border-box;
    }
    
    .mobile-form select:focus,
    .mobile-form input:focus {
        outline: none;
        border-color: var(--primary-color);
        background: white;
    }
    
    .mobile-terms {
        margin: 0.5rem 0;
    }
    
    .mobile-terms label {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.85rem;
        color: #666;
        cursor: pointer;
    }
    
    .mobile-terms-link {
        color: var(--primary-color);
        text-decoration: underline;
    }
    
    .mobile-submit-btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        font-weight: 600;
        color: white;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
        border: none;
        border-radius: 10px;
        margin-top: 0.5rem;
        cursor: pointer;
    }
    
    /* 플로팅 버튼 위치 조정 */
    .floating-buttons {
        right: 20px;
        bottom: 80px;
        gap: 10px;
    }
    
    .floating-btn {
        width: 48px;
        height: 48px;
    }
}

/* ===== Footer ===== */
.footer {
    background: #000000;
    color: var(--bg-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    margin-bottom: 2rem;
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: inline-block;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 0.8;
}

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

.footer-info p {
    margin: 0.5rem 0;
    color: #ffffff;
    font-size: 0.9375rem;
}

.footer-label {
    color: #ffffff;
    font-weight: 500;
}

.footer-sns {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.sns-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--bg-white);
    transition: all 0.3s ease;
    text-decoration: none;
}

.sns-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.sns-link i {
    font-size: 20px;
}

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

@media (max-width: 768px) {
    .footer-sns {
        gap: 0.75rem;
    }
    
    .sns-link {
        width: 36px;
        height: 36px;
    }
    
    .sns-link i {
        font-size: 18px;
    }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .key-point-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .members-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .high-tech-grid,
    .award-grid,
    .sms-grid {
        grid-template-columns: 1fr;
    }
    
    .procedure-steps {
        flex-direction: column;
    }
    
    .procedure-arrow {
        transform: rotate(90deg);
    }
    
    .packing-content {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
