/* Custom Styles */
@font-face {
    font-family: 'Yeongwol';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2507-2@1.0/YeongwolTTF-Regular.woff2') format('woff2');
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Independent';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_twelve@1.1/Dokrip.woff') format('woff');
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TMoneyDungunbaram';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-07@1.0/TmoneyRoundWindRegular.woff') format('woff');
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TMoneyDungunbaram';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-07@1.0/TmoneyRoundWindExtraBold.woff') format('woff');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'DnfBitbeatV2';
    src: url('https://cdn.df.nexon.com/img/common/font/DNFBitBitv2.otf') format('opentype');
    font-weight: 400;
    font-display: swap;
}


body {
    font-family: 'MyFont', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Primary Color Customization for Tailwind */
:root {
    --primary-50: #f0f4f8;
    --primary-100: #d9e2ec;
    --primary-200: #bcccdc;
    --primary-300: #9fb3c8;
    --primary-400: #829ab1;
    --primary-500: #627d98;
    --primary-600: #486581;
    --primary-700: #334e68;
    --primary-800: #243b53;
    --primary-900: #102a43;
}

/* Tailwind Primary Color Override */
.text-primary-600 {
    color: var(--primary-600);
}

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

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

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

.border-primary-300 {
    border-color: var(--primary-300);
}

.hover\:text-primary-600:hover {
    color: var(--primary-600);
}

.hover\:text-primary-700:hover {
    color: var(--primary-700);
}

.hover\:border-primary-300:hover {
    border-color: var(--primary-300);
}

/* Fade In Animations */
.fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

.fade-in-delay-1 {
    animation: fadeIn 0.8s ease-in-out 0.2s both;
}

.fade-in-delay-2 {
    animation: fadeIn 0.8s ease-in-out 0.3s both;
}

.fade-in-delay-3 {
    animation: fadeIn 0.8s ease-in-out 0.4s both;
}

.fade-in-delay-4 {
    animation: fadeIn 0.8s ease-in-out 0.5s both;
}

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

/* Fade In On Scroll */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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


/* Mobile Menu Animation */
.mobile-menu-open .mobile-menu-line-1 {
    transform: rotate(45deg) translateY(8px);
}

.mobile-menu-open .mobile-menu-line-2 {
    opacity: 0;
}

.mobile-menu-open .mobile-menu-line-3 {
    transform: rotate(-45deg) translateY(-8px);
}

/* Smooth Transitions */
a, button {
    transition: all 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-600);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-700);
}

/* Flip Clock Animation */
.flip-clock {
    display: flex;
    gap: 6px;
}

.flip-unit {
    position: relative;
    width: 55px;
    height: 80px;
    perspective: 400px;
}

.flip-card {
    position: relative;
    width: 100%;
    height: 100%;
}

.flip-card-top,
.flip-card-bottom {
    position: absolute;
    width: 100%;
    height: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    font-weight: 700;
    color: #d0d0d0;
    background: linear-gradient(180deg, #3a3a3a 0%, #2a2a2a 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.flip-card-top {
    top: 0;
    border-bottom: 1px solid #1a1a1a;
    border-radius: 10px 10px 0 0;
    background: linear-gradient(180deg, #3a3a3a 0%, #2d2d2d 100%);
}

.flip-card-top::after {
    content: attr(data-value);
    position: absolute;
    bottom: 0;
    transform: translateY(50%);
}

.flip-card-bottom {
    bottom: 0;
    border-top: 1px solid #444;
    border-radius: 0 0 10px 10px;
    background: linear-gradient(180deg, #2d2d2d 0%, #252525 100%);
}

.flip-card-bottom::after {
    content: attr(data-value);
    position: absolute;
    top: 0;
    transform: translateY(-50%);
}

/* Flip Animation Overlay */
.flip-overlay {
    position: absolute;
    width: 100%;
    height: 50%;
    overflow: hidden;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    font-weight: 700;
    color: #d0d0d0;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.flip-overlay.top {
    top: 0;
    transform-origin: bottom;
    border-bottom: 1px solid #1a1a1a;
    border-radius: 10px 10px 0 0;
    background: linear-gradient(180deg, #3a3a3a 0%, #2d2d2d 100%);
}

.flip-overlay.top::after {
    content: attr(data-value);
    position: absolute;
    bottom: 0;
    transform: translateY(50%);
}

.flip-overlay.bottom {
    top: 50%;
    transform-origin: top;
    border-radius: 0 0 10px 10px;
    border-top: 1px solid #444;
    background: linear-gradient(180deg, #2d2d2d 0%, #252525 100%);
}

.flip-overlay.bottom::after {
    content: attr(data-value);
    position: absolute;
    top: 0;
    transform: translateY(-50%);
}

@keyframes flipTop {
    0% {
        transform: rotateX(0deg);
    }
    100% {
        transform: rotateX(-90deg);
    }
}

@keyframes flipBottom {
    0% {
        transform: rotateX(90deg);
    }
    100% {
        transform: rotateX(0deg);
    }
}

.flip-overlay.flipping-top {
    animation: flipTop 0.08s ease-in forwards;
}

.flip-overlay.flipping-bottom {
    animation: flipBottom 0.08s ease-out forwards;
}

.fade-in-delay-5 {
    animation: fadeIn 0.8s ease-in-out 0.6s both;
}

/* Yeongwol Font for Business Page Content */
.business-content,
.business-content *,
.business-content h2,
.business-content h3,
.business-content p,
.business-content div {
    font-family: 'Yeongwol', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Independent Font for Solutions Page Content */
.solution-content,
.solution-content *,
.solution-content h1,
.solution-content h2,
.solution-content h3,
.solution-content p,
.solution-content div,
.solution-content li,
.solution-content ul {
    font-family: 'Independent', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Hide scrollbar for carousel */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}





/* DnfBitbeatV2 Font for Main Page (index.html) Content */
.main-content,
.main-content *,
.main-content h1,
.main-content h2,
.main-content h3,
.main-content p,
.main-content div,
.main-content span,
.main-content a,
.main-content button {
    font-family: 'DnfBitbeatV2', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Override Tailwind font-sans for main-content */
body.font-sans .main-content,
body.font-sans .main-content * {
    font-family: 'DnfBitbeatV2', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Blue Glow Effect for Main Page Buttons */
.main-content a[href="solutions.html"],
.main-content a[href="contact.html"] {
    position: relative;
    transition: all 0.3s ease;
}

.main-content a[href="solutions.html"]:hover,
.main-content a[href="contact.html"]:hover {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.8), 
                0 0 40px rgba(59, 130, 246, 0.6), 
                0 0 60px rgba(59, 130, 246, 0.4),
                0 0 80px rgba(59, 130, 246, 0.2) !important;
    transform: translateY(-2px) scale(1.02) !important;
    animation: blueGlow 0.6s ease-in-out;
}

@keyframes blueGlow {
    0% {
        box-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.9), 
                    0 0 50px rgba(59, 130, 246, 0.7), 
                    0 0 70px rgba(59, 130, 246, 0.5);
    }
    100% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.8), 
                    0 0 40px rgba(59, 130, 246, 0.6), 
                    0 0 60px rgba(59, 130, 246, 0.4),
                    0 0 80px rgba(59, 130, 246, 0.2);
    }
}

/* TMoneyDungunbaram Font for Header and Footer */
header,
header.font-sans,
header.font-sans *,
header *,
header a,
header nav,
header button,
header div,
header span,
#header,
#header.font-sans,
#header.font-sans *,
#header *,
#header a,
#header nav,
#header button,
#header div,
#header span,
#mobileMenu,
#mobileMenu *,
#mobileMenu a,
footer,
footer.font-sans,
footer.font-sans *,
footer *,
footer a,
footer h3,
footer h4,
footer p,
footer li,
footer ul,
footer div {
    font-family: 'TMoneyDungunbaram', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Override Tailwind font-sans in header and footer */
body.font-sans header,
body.font-sans header *,
body.font-sans footer,
body.font-sans footer * {
    font-family: 'TMoneyDungunbaram', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Header Navigation Menu Styles - Bold Text */
header nav a {
    font-weight: 800 !important;
    color: #1f2937 !important;
    position: relative;
    background: transparent !important;
    border-radius: 0 !important;
}

header nav a:hover {
    color: var(--primary-600) !important;
    background: transparent !important;
}

/* Remove background box from current page */
header nav a.bg-gray-50 {
    background: transparent !important;
}

/* Current Page Indicator - Orange Underline (straight line, text width only) */
header nav a.text-primary-600.bg-gray-50 {
    border-bottom: none !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    padding-bottom: 8px !important;
    margin-bottom: -3px !important;
    background: transparent !important;
    position: relative;
    display: inline-block;
}

header nav a.text-primary-600.bg-gray-50::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 3px;
    background-color: #ff6b35;
    width: 70%;
}

/* ============================================
   Mobile Menu Slide-in Styles
   ============================================ */

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Container */
#mobileMenu {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 80% !important;
    max-width: 320px !important;
    height: 100vh !important;
    background: #ffffff !important;
    z-index: 999 !important;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15) !important;
    transition: right 0.3s ease !important;
    overflow-y: auto !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

#mobileMenu.mobile-menu-open {
    right: 0 !important;
}

/* Mobile Menu Header */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

.mobile-menu-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.mobile-menu-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-menu-close:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.mobile-menu-close svg {
    width: 20px;
    height: 20px;
    color: #6b7280;
}

/* Mobile Menu Navigation */
.mobile-menu-nav {
    flex: 1;
    padding: 16px 0;
}

/* Mobile Menu Styles - Bold Text */
#mobileMenu a {
    display: block !important;
    padding: 16px 24px !important;
    font-weight: 700 !important;
    color: #374151 !important;
    font-size: 1.05rem !important;
    position: relative !important;
    background: transparent !important;
    border-radius: 0 !important;
    border-bottom: 1px solid #f3f4f6 !important;
    transition: all 0.2s ease !important;
}

#mobileMenu a:hover {
    color: var(--primary-600) !important;
    background: #f9fafb !important;
}

#mobileMenu a:active {
    background: #f3f4f6 !important;
}

/* Current Page Indicator for Mobile - Orange Underline (straight line, text width only) */
#mobileMenu a.text-primary-600 {
    color: var(--primary-600) !important;
    background: #f0f7ff !important;
    border-left: 4px solid #ff6b35 !important;
}

#mobileMenu a.text-primary-600::after {
    display: none;
}

/* Mobile Menu Footer */
.mobile-menu-footer {
    padding: 20px 24px;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
}

.mobile-menu-footer p {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* ============================================
   Solutions Page Styles
   ============================================ */

/* Hero Section */
.solutions-hero {
    position: relative;
    min-height: auto;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 50%, #0d0d2b 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 60px 20px 80px;
}

.solutions-hero-content {
    text-align: center;
    z-index: 10;
    margin-bottom: 60px;
}

.solutions-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 0 40px rgba(100, 150, 255, 0.3);
}

.solutions-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* Background Text */
.solutions-bg-text {
    position: absolute;
    font-size: 20vw;
    font-weight: 900;
    color: transparent;
    background: linear-gradient(180deg, rgba(60, 100, 200, 0.15) 0%, rgba(60, 100, 200, 0.05) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    letter-spacing: 0.1em;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

/* Carousel Container */
.solutions-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 0 60px;
}

.solutions-carousel-viewport {
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
}

.solutions-carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 20px 0;
}

/* Solution Card */
.solution-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 280px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    cursor: pointer;
}

.solution-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(100, 150, 255, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4),
                0 0 40px rgba(100, 150, 255, 0.2);
}

.solution-card-image {
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, #1a1a3a 0%, #2a2a4a 100%);
    overflow: hidden;
}

.solution-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.solution-card:hover .solution-card-image img {
    transform: scale(1.1);
}

.solution-card-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e2a4a 0%, #2a3a5a 100%);
}

.solution-card-placeholder svg {
    width: 80px;
    height: 80px;
    color: rgba(100, 150, 255, 0.5);
}

.solution-card-content {
    padding: 24px;
    text-align: center;
}

.solution-card-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.solution-card-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Carousel Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 20;
    backdrop-filter: blur(10px);
}

.carousel-arrow:hover {
    background: rgba(100, 150, 255, 0.3);
    border-color: rgba(100, 150, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 30px rgba(100, 150, 255, 0.4);
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-arrow-left {
    left: 0;
}

.carousel-arrow-right {
    right: 0;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 40px;
    z-index: 10;
}

.carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.4);
}

.carousel-indicators .indicator.active {
    background: linear-gradient(135deg, #6496ff 0%, #8b5cf6 100%);
    width: 36px;
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(100, 150, 255, 0.5);
}

/* Solution Details Section */
.solutions-details {
    padding: 100px 0;
    background: #f8fafc;
}

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

.solution-detail-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.solution-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #6496ff;
}

.solution-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.solution-detail-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.solution-detail-card p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.7;
}

/* Image Modal */
.solution-image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.solution-image-modal.active {
    display: flex;
    opacity: 1;
}

.solution-image-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.solution-image-modal-content {
    position: relative;
    z-index: 10000;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.solution-image-modal-image-wrapper {
    position: relative;
    max-width: 100%;
    max-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.solution-image-modal-image-wrapper img {
    max-width: 100%;
    max-height: 75vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    transform: scale(3);
    transition: transform 0.3s ease;
}

.solution-image-modal.active .solution-image-modal-image-wrapper img {
    transform: scale(1);
}

.solution-image-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    backdrop-filter: blur(10px);
}

.solution-image-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg) scale(1.1);
}

.solution-image-modal-info {
    margin-top: 30px;
    text-align: center;
    color: #ffffff;
    max-width: 600px;
}

.solution-image-modal-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.solution-image-modal-info p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
    .solution-card {
        flex: 0 0 calc(50% - 15px);
    }
    
    .solutions-title {
        font-size: 2.5rem;
    }
    
    .solutions-bg-text {
        font-size: 25vw;
    }
    
    .solution-image-modal-image-wrapper {
        max-height: 70vh;
        padding: 15px;
    }
    
    .solution-image-modal-image-wrapper img {
        max-height: 70vh;
    }
    
    .solution-image-modal-close {
        top: -40px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .solutions-hero {
        padding: 40px 15px 60px;
    }
    
    .solution-card {
        flex: 0 0 calc(100% - 20px);
        min-width: 260px;
    }
    
    .solutions-carousel-container {
        padding: 0 50px;
    }
    
    .carousel-arrow {
        width: 44px;
        height: 44px;
    }
    
    .solutions-title {
        font-size: 2rem;
    }
    
    .solutions-subtitle {
        font-size: 1rem;
    }
    
    .solutions-bg-text {
        font-size: 30vw;
    }
    
    .solutions-details {
        padding: 60px 0;
    }
    
    .solution-image-modal-content {
        max-width: 95vw;
    }
    
    .solution-image-modal-image-wrapper {
        max-height: 60vh;
        padding: 10px;
    }
    
    .solution-image-modal-image-wrapper img {
        max-height: 60vh;
    }
    
    .solution-image-modal-close {
        top: -35px;
        width: 36px;
        height: 36px;
    }
    
    .solution-image-modal-info {
        margin-top: 20px;
        padding: 0 20px;
    }
    
    .solution-image-modal-info h3 {
        font-size: 1.25rem;
    }
    
    .solution-image-modal-info p {
        font-size: 0.9rem;
    }
}

/* ============================================
   About Page Custom Sections
   ============================================ */

/* Common Variables */
.about-section-wrapper {
    --about-primary: #3379FF;
    --about-primary-light: #6BA3FF;
    --about-primary-dark: #1A5FE6;
    --about-bg: #E8EEF4;
    --about-text-dark: #1A3A6B;
    --about-text-light: #4A6B9A;
    --about-white: #ffffff;
    --about-border: #E5F0FF;
}

/* Base Section Wrapper */
.about-section-wrapper {
    background: var(--about-bg);
    padding: 80px 20px;
    position: relative;
}

/* 섹션 앵커 스크롤 오프셋 - 헤더 높이 + 중앙 정렬 */
#intro {
    scroll-margin-top: 100px;
}

#services {
    scroll-margin-top: 100px;
}

#history {
    scroll-margin-top: 100px;
}


#org {
    scroll-margin-top: 100px;
}

#business {
    scroll-margin-top: 100px;
}

/* Inner Container - Card Style */
.about-section-inner {
    background: var(--about-white);
    border-radius: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 50px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 
                0 2px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Section Header */
.about-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-section-company {
    font-size: 0.9rem;
    color: var(--about-text-light);
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

.about-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--about-text-dark);
    margin-bottom: 20px;
}

.about-section-divider {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--about-primary) 50%, transparent 100%);
    margin: 30px auto;
}

/* ============================================
   1. 회사 소개 섹션
   ============================================ */
.about-section-intro {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 50px;
    align-items: start;
}

.about-section-intro-image {
    position: relative;
    overflow: hidden;
}

.about-section-intro-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-section-intro-placeholder {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, #e8f0ff 0%, #d0e0ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--about-primary);
    font-size: 1rem;
}

.about-section-intro-content {
    padding: 20px 0;
}

.about-section-intro-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--about-text-dark);
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 4px solid var(--about-primary);
}

.about-section-intro-desc {
    font-size: 1rem;
    color: var(--about-text-light);
    line-height: 2.2;
    margin-bottom: 30px;
}

.about-section-intro-desc p {
    margin-bottom: 1.5em;
    line-height: 2.2;
}

.about-section-intro-desc p:last-child {
    margin-bottom: 0;
}

.about-section-intro-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    border-top: 3px solid var(--about-primary);
}

.about-section-intro-table tr {
    border-bottom: 1px solid var(--about-border);
}

.about-section-intro-table th {
    width: 120px;
    padding: 18px 20px;
    font-weight: 600;
    color: var(--about-text-dark);
    text-align: left;
    background: #f8fbff;
    font-size: 0.95rem;
}

.about-section-intro-table td {
    padding: 18px 20px;
    color: var(--about-text-light);
    font-size: 0.95rem;
}

/* ============================================
   2. 회사 연혁 섹션 (타임라인 스타일)
   ============================================ */
.about-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.about-timeline-year-group {
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #e5e7eb;
    padding: 0;
}

.about-timeline-year-group:last-child {
    border-bottom: none;
}

.about-timeline-year {
    flex: 0 0 120px;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--about-text-dark);
    padding: 25px 0;
    position: relative;
}

.about-timeline-items {
    flex: 1;
    border-left: 2px solid var(--about-primary);
    margin-left: 20px;
    padding-left: 0;
}

.about-timeline-item {
    display: flex;
    align-items: flex-start;
    padding: 20px 0 20px 30px;
    position: relative;
    transition: background 0.2s ease;
}

.about-timeline-item:hover {
    background: rgba(51, 121, 255, 0.03);
}

.about-timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 28px;
    width: 10px;
    height: 10px;
    background: var(--about-primary);
    border-radius: 50%;
    border: 2px solid var(--about-white);
    box-shadow: 0 0 0 3px rgba(51, 121, 255, 0.2);
}

.about-timeline-date {
    flex: 0 0 70px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--about-text-light);
}

.about-timeline-content {
    flex: 1;
    font-size: 1rem;
    color: var(--about-text-dark);
    line-height: 1.6;
}

/* 반응형 타임라인 */
@media (max-width: 768px) {
    .about-timeline-year-group {
        flex-direction: column;
    }
    
    .about-timeline-year {
        flex: none;
        font-size: 1.5rem;
        padding: 20px 0 10px;
        border-bottom: 2px solid var(--about-primary);
        margin-bottom: 0;
    }
    
    .about-timeline-items {
        margin-left: 0;
        border-left: none;
        padding-left: 0;
    }
    
    .about-timeline-item {
        padding: 15px 0 15px 20px;
        border-left: 2px solid var(--about-primary);
        margin-left: 10px;
    }
    
    .about-timeline-item::before {
        left: 4px;
        top: 22px;
    }
    
    .about-timeline-date {
        flex: 0 0 60px;
        font-size: 0.85rem;
    }
    
    .about-timeline-content {
        font-size: 0.9rem;
    }
}

/* ============================================
   3. 서비스 소개 섹션
   ============================================ */
.about-section-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-section-service-card {
    background: var(--about-white);
    border: 1px solid var(--about-border);
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.about-section-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(51, 121, 255, 0.15);
}

.about-section-service-number {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--about-primary) 0%, var(--about-primary-dark) 100%);
    color: var(--about-white);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(51, 121, 255, 0.3);
}

.about-section-service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.about-section-service-image::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 80px 80px 0;
    border-color: transparent var(--about-primary) transparent transparent;
    z-index: 1;
}

.about-section-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-section-service-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8f0ff 0%, #d0e0ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--about-primary);
    font-size: 0.85rem;
}

.about-section-service-content {
    padding: 25px;
    text-align: center;
    border-top: 3px solid var(--about-primary);
}

.about-section-service-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--about-primary);
    margin-bottom: 10px;
}

.about-section-service-desc {
    font-size: 0.9rem;
    color: var(--about-text-light);
    line-height: 1.6;
}

/* ============================================
   4. 성과 분석 섹션 (도넛 차트)
   ============================================ */
.about-section-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.about-section-stat-item {
    text-align: center;
}

.about-section-donut {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 20px;
}

.about-section-donut svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.about-section-donut-bg {
    fill: none;
    stroke: #e5e7eb;
    stroke-width: 12;
}

.about-section-donut-progress {
    fill: none;
    stroke: var(--about-primary);
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dasharray: 0 339.292;
    transition: stroke-dasharray 1.5s ease;
}

.about-section-donut-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--about-text-dark);
}

.about-section-stat-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--about-primary);
    margin-bottom: 10px;
}

.about-section-stat-desc {
    font-size: 0.85rem;
    color: var(--about-text-light);
    line-height: 1.5;
}

/* ============================================
   5. 회사 조직도 섹션
   ============================================ */
.about-section-org-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-section-org-dept {
    background: var(--about-white);
    border: 1px solid var(--about-border);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
}

.about-section-org-dept:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(51, 121, 255, 0.12);
}

.about-section-org-leader {
    padding: 30px 25px;
    position: relative;
    border-bottom: 1px solid var(--about-border);
}

.about-section-org-leader::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 50px 50px 0;
    border-color: transparent var(--about-primary) transparent transparent;
}

.about-section-org-leader-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--about-text-dark);
    margin-bottom: 8px;
}

.about-section-org-leader-desc {
    font-size: 0.85rem;
    color: var(--about-text-light);
    line-height: 1.5;
}

.about-section-org-teams {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.about-section-org-team {
    padding: 20px;
    border-right: 1px solid var(--about-border);
    text-align: center;
    position: relative;
}

.about-section-org-team:last-child {
    border-right: none;
}

.about-section-org-team::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 30px 30px 0;
    border-color: transparent var(--about-primary) transparent transparent;
}

.about-section-org-team-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--about-text-dark);
    margin-bottom: 5px;
}

.about-section-org-team-name {
    font-size: 0.85rem;
    color: var(--about-text-light);
}

.about-section-org-members {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--about-border);
}

.about-section-org-member {
    padding: 20px;
    text-align: center;
    border-right: 1px solid var(--about-border);
    background: #f8fbff;
}

.about-section-org-member:last-child {
    border-right: none;
}

.about-section-org-member-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--about-primary);
}

/* ============================================
   반응형 디자인
   ============================================ */
@media (max-width: 1024px) {
    .about-section-intro {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-section-history-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
    
    .about-section-history-grid::before {
        display: none;
    }
    
    .about-section-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-section-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .about-section-org-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .about-section-wrapper {
        padding: 40px 15px;
    }
    
    .about-section-inner {
        padding: 40px 25px;
    }
    
    .about-section-title {
        font-size: 2rem;
    }
    
    .about-section-history-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-section-history-circle {
        width: 140px;
        height: 140px;
    }
    
    .about-section-services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-section-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .about-section-donut {
        width: 130px;
        height: 130px;
    }
    
    .about-section-donut-value {
        font-size: 1.5rem;
    }
    
    .about-section-intro-table th {
        width: 100px;
        padding: 15px;
        font-size: 0.85rem;
    }
    
    .about-section-intro-table td {
        padding: 15px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .about-section-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .about-section-org-teams,
    .about-section-org-members {
        grid-template-columns: 1fr;
    }
    
    .about-section-org-team,
    .about-section-org-member {
        border-right: none;
        border-bottom: 1px solid var(--about-border);
    }
    
    .about-section-org-team:last-child,
    .about-section-org-member:last-child {
        border-bottom: none;
    }
}

/* 도넛 차트 애니메이션 */
@keyframes about-donut-animate {
    from {
        stroke-dasharray: 0 339.292;
    }
}

/* ============================================
   서브페이지 투명 헤더 스타일
   ============================================ */
.header-transparent {
    background: transparent !important;
    box-shadow: none !important;
}

/* 투명 헤더일 때 모든 네비게이션 링크 흰색 */
.header-transparent nav a {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.header-transparent nav a:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* 투명 헤더일 때 현재 페이지 밑줄 흰색 */
.header-transparent nav a.text-primary-600.bg-gray-50::after {
    background-color: #ffffff !important;
}

.header-transparent #mobileMenuBtn span {
    background: #ffffff !important;
}

/* 드롭다운 메뉴는 항상 검은색 텍스트 + 흰색 배경 */
.header-transparent .nav-dropdown-menu {
    background: #ffffff !important;
}

.header-transparent .nav-dropdown-menu a {
    color: #1f2937 !important;
    text-shadow: none !important;
}

.header-transparent .nav-dropdown-menu a:hover {
    color: var(--primary-600) !important;
    background: #f3f4f6 !important;
}

/* 스크롤 후 헤더 스타일 (기존과 동일하게) */
.header-scrolled {
    background: #ffffff !important;
}

.header-scrolled nav a {
    color: #1f2937 !important;
    text-shadow: none !important;
}

.header-scrolled nav a:hover {
    color: var(--primary-600) !important;
}

/* 스크롤 후 현재 페이지 밑줄 주황색 */
.header-scrolled nav a.text-primary-600.bg-gray-50::after {
    background-color: #ff6b35 !important;
}

.header-scrolled #mobileMenuBtn span {
    background: #374151 !important;
}

/* 서브페이지 배너 스타일 */
.subpage-banner {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 5;
    max-height: 400px;
    overflow: hidden;
    margin-top: 0 !important;
}

.subpage-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.subpage-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

@media (max-width: 768px) {
    .subpage-banner {
        aspect-ratio: 16 / 7;
        max-height: 300px;
    }
}

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

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: auto;
    white-space: nowrap;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.2s ease;
    z-index: 100;
    padding: 4px 0;
    border: 1px solid #e5e7eb;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 6px 12px;
    color: #1f2937 !important;
    font-size: 0.85rem;
    font-weight: 800 !important;
    transition: all 0.2s ease;
    font-family: 'TMoneyDungunbaram', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.nav-dropdown-menu a:hover {
    background: #f3f4f6;
    color: var(--primary-600) !important;
}

/* ============================================
   사업실적 테이블 스타일
   ============================================ */
.about-section-business-table-wrapper {
    overflow-x: auto;
    margin-top: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.about-section-business-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.about-section-business-table thead {
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
}

.about-section-business-table thead th {
    padding: 16px 12px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    border-bottom: 3px solid #ffc107;
}

.about-section-business-table thead th:first-child {
    text-align: left;
    padding-left: 20px;
}

.about-section-business-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: background 0.2s ease;
}

.about-section-business-table tbody tr:hover {
    background: #f8fbff;
}

.about-section-business-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.about-section-business-table tbody tr:nth-child(even):hover {
    background: #f0f7ff;
}

.about-section-business-table tbody td {
    padding: 14px 12px;
    font-size: 0.9rem;
    color: #374151;
    text-align: center;
    vertical-align: middle;
}

.about-section-business-table tbody td:first-child {
    text-align: left;
    padding-left: 20px;
    font-weight: 500;
    color: #1f2937;
}

.about-section-business-table tbody td:last-child {
    color: #3379FF;
    font-weight: 500;
}

/* 사업실적 섹션 제목 */
.about-section-business-subtitle {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
}

.about-section-business-subtitle::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 24px;
    background: linear-gradient(180deg, #ffc107 0%, #ff9800 100%);
    margin-right: 12px;
    border-radius: 3px;
}

.about-section-business-subtitle h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2937;
}

@media (max-width: 768px) {
    .about-section-business-table thead th,
    .about-section-business-table tbody td {
        padding: 10px 8px;
        font-size: 0.8rem;
    }
    
    .about-section-business-table tbody td:first-child,
    .about-section-business-table thead th:first-child {
        padding-left: 12px;
    }
}

