/* Home Page Styles */

:root {
    --primary-color: #4e73df;
    --secondary-color: #858796;
    --success-color: #1cc88a;
    --info-color: #36b9cc;
    --warning-color: #f6c23e;
    --danger-color: #e74a3b;
    --dark-color: #5a5c69;
}

/* Hide scrollbar */
html {
    overflow-x: hidden;
    scrollbar-width: none; /* Firefox */
}

body {
    overflow-x: hidden;
    background-color: #ffffff;
}

/* Hide scrollbar for webkit browsers */
::-webkit-scrollbar {
    display: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: #ffffff;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(1000px 500px at 20% 10%, rgba(37, 99, 235, 0.35), transparent 60%),
                radial-gradient(800px 450px at 80% 40%, rgba(16, 185, 129, 0.25), transparent 55%),
                #070a12;
}

.hero-main-image {
    position: relative;
    max-width: 80%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center center;
    display: block;
    margin: 0 auto;
    padding: 0;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(2,6,23,0.55) 0%, rgba(2,6,23,0.55) 45%, rgba(2,6,23,0.85) 100%);
}

/* Hero Content Overlay */
.hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    padding-top: 5rem; /* navbar offset */
    padding-bottom: 4rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .9rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.92);
    font-weight: 600;
    font-size: .95rem;
    margin-bottom: 1rem;
}

.hero-title {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    font-size: clamp(2rem, 3.5vw, 3.25rem);
    margin-bottom: 1rem;
}

.hero-subtitle {
    color: rgba(255,255,255,0.78);
    max-width: 46rem;
    font-size: 1.125rem;
    margin-bottom: 1.75rem;
}

.hero-actions .btn {
    border-radius: 999px;
    padding: 0.9rem 1.4rem;
    box-shadow: none;
}

.hero-actions .btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: none;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35);
}

.hero-actions .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.45);
}

.hero-actions .btn-outline-light {
    border-color: rgba(255,255,255,0.45);
    color: rgba(255,255,255,0.92);
}

.hero-actions .btn-outline-light:hover {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.65);
    transform: translateY(-1px);
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero-main-image {
        max-width: 80%;
        max-height: 60vh;
        width: auto;
        height: auto;
        object-fit: contain;
        object-position: center center;
        position: relative;
    }
    
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-image-container {
        height: 70vh;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.navbar-glass {
    background: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.navbar-scrolled.navbar-glass {
    background: rgba(15, 23, 42, 0.92) !important;
    border-bottom-color: rgba(255,255,255,0.06);
}

.navbar-scrolled {
    background-color: rgba(33, 37, 41, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e3e6f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.service-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--secondary-color);
}

.service-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--success-color);
}

/* Solution Items */
.solution-item {
    display: flex;
    align-items: flex-start;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.solution-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12);
}

.solution-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.solution-content h4 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

/* Feature Box */
.feature-box {
    padding: 1.5rem;
}

.feature-box h5 {
    margin-top: 1rem;
    color: white;
}

/* Buttons */
.btn {
    border-radius: 5px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #375a7f;
    border-color: #375a7f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 115, 223, 0.4);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* Footer */
footer {
    margin-top: 0;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .solution-item {
        flex-direction: column;
        text-align: center;
    }
    
    .solution-icon {
        margin: 0 auto 1rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Contact Section */
.contact-section {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.contact-info,
.contact-form {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    padding: 2rem;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(0deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    opacity: 0.35;
}

.contact-info h3,
.contact-form h3 {
    color: #333;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
}

.contact-item i {
    width: 30px;
    text-align: center;
    color: #5a5c69;
    font-size: 1.2rem;
}

.contact-item span {
    color: #333;
    font-size: 1rem;
}

.contact-form p {
    color: #666;
    line-height: 1.6;
}

.contact-form-fields .form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-form-fields .form-control {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #333;
    border-radius: 12px;
    padding: 0.85rem 1rem;
}

.contact-form-fields .form-control:focus {
    background-color: #ffffff;
    border-color: var(--primary-color);
    color: #333;
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}

.contact-form-fields .form-control::placeholder {
    color: #999;
}

.contact-form-fields textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-form-fields .btn-light {
    background-color: #e9ecef;
    color: #333;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.75rem 2rem;
}

.contact-form-fields .btn-light:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 115, 223, 0.4);
}

.contact-form-fields .btn-light i {
    color: inherit;
}

@media (max-width: 768px) {
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-info {
        margin-bottom: 2rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }
    
    .hero-content {
        padding-top: 4.5rem;
        text-align: left;
    }
}

/* Typography */
body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    color: #0f172a;
    line-height: 1.6;
}

/* Section spacing */
section.py-5 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.section-title {
    letter-spacing: -0.02em;
}

/* Feature 섹션: 텍스트 대비 개선 */
.bg-dark.text-white .text-muted {
    color: rgba(255,255,255,0.72) !important;
}
