:root {
    /* Primary Colors - Deep & Trusted Fintech Style */
    --primary-color: #1e293b;
    --primary-dark: #0f172a;
    --primary-light: #334155;

    /* Accent Colors - Soft but Vibrant Blue */
    --accent-color: #3b82f6;
    --accent-gradient: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
    --accent-light: #bfdbfe;
    --accent-dark: #1d4ed8;

    /* Backgrounds - Ultra Clean */
    --white: #ffffff;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-light: #f1f5f9;
    --bg-gradient: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);

    /* Text Colors - High Contrast & Refined */
    --text-dark: #0f172a;
    --text-medium: #475569;
    --text-light: #64748b;
    --text-lighter: #94a3b8;

    /* Borders - Delicate */
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;

    /* Shadows - Premium Soft Physics */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 30px 60px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 10px 25px rgba(59, 130, 246, 0.25);
    --shadow-colored: 0 8px 20px rgba(59, 130, 246, 0.2);

    /* Transitions - Fluid */
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Border Radius - Modern Pill/Rounded */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
    letter-spacing: -0.015em;
}

body {
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
[tabindex="0"]:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}

.search-btn:focus-visible,
.mobile-menu-btn:focus-visible,
.quick-item:focus-visible,
.close-modal:focus-visible,
.close-chat-modal:focus-visible {
    border-radius: 50%;
}

.promo-banner:focus-visible {
    border-radius: 15px;
}

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: var(--shadow-colored);
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    margin-left: 10px;
    backdrop-filter: blur(10px);
}

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

.btn-white {
    background-color: white;
    color: var(--primary-color);
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background-color: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.5), var(--shadow-sm);
    padding: 15px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

#header.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px);
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: var(--transition);
}

.logo a:hover {
    transform: scale(1.02);
}

.logo-symbol {
    height: 42px;
    width: auto;
    margin-right: 12px;
    filter: drop-shadow(var(--shadow-sm));
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 2px solid var(--accent-color);
    padding-left: 12px;
}

.logo-sub-text {
    font-size: 0.7rem;
    color: var(--text-light);
    margin-bottom: 2px;
    font-weight: 600;
    letter-spacing: -0.3px;
    line-height: 1;
}

.logo-main-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.8px;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-list {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-list a {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--accent-gradient);
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: var(--radius-full);
}

.nav-list a:hover {
    color: var(--accent-color);
}

.nav-list a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    background: transparent;
    border: none;
    padding: 0;
    line-height: 1;
    cursor: pointer;
    color: var(--primary-color);
    transition: var(--transition);
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* Hero Section Advanced */
#hero {
    min-height: 90vh;
    padding-top: 120px;
    background: linear-gradient(135deg, #ffffff 0%, #e8f1f8 50%, #f0f7fc 100%);
    background-image:
        radial-gradient(circle at 20% 50%, rgba(74, 144, 226, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(95, 163, 245, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, #ffffff 0%, #e8f1f8 50%, #f0f7fc 100%);
    overflow: hidden;
    display: block;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 30% 20%, rgba(74, 144, 226, 0.05) 0%, transparent 60%),
        radial-gradient(circle at 70% 70%, rgba(44, 95, 141, 0.05) 0%, transparent 60%);
    animation: heroBackground 20s ease-in-out infinite;
}

@keyframes heroBackground {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

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

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Hide 'veo' watermark - scale up and move up slightly to crop bottom */
    transform: scale(1.2) translateY(-5%);
    transform-origin: center center;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Create a premium glassmorphism effect - balanced transparency to show video */
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(240, 247, 252, 0.75) 50%,
            rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(2px);
    /* Slight blur to abstract the video content */
}

/* Add a bottom fade to completely obscure any bottom text/logo */
.video-overlay::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, #ffffff 30%, transparent 100%);
    z-index: 2;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 80px 20px;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    max-width: 600px;
    text-align: left;
    z-index: 10;
    animation: fadeInUp 0.8s ease-out;
}

.badge-pill {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.1), rgba(0, 119, 182, 0.15));
    color: var(--accent-color);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 25px;
    border: 1.5px solid rgba(0, 180, 216, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.hero-text h1 {
    font-size: 3.8rem;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 25px;
    letter-spacing: -2px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 40px;
    line-height: 1.8;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-primary {
    background: var(--accent-gradient);
    border: none;
    padding: 18px 42px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
    color: var(--white);
    transition: var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.5);
}

.btn-outline-dark {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 18px 42px;
    border-radius: var(--radius-full);
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition-fast);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn-outline-dark:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.shadow-hover:hover {
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.5);
    transform: translateY(-3px);
}

/* Hero Visual & Mascot */
.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mascot-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: auto;
}

.mascot-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    animation: floatMascot 5s ease-in-out infinite;
    transform-origin: center bottom;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    color: var(--text-dark);
    border: 1px solid #fff;
    z-index: 20;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.card-1 {
    top: 20%;
    left: -20px;
    animation: floatCard 5s ease-in-out infinite;
}

.card-2 {
    bottom: 20%;
    right: -20px;
    animation: floatCard 7s ease-in-out infinite 1s;
}

@keyframes floatMascot {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    50% {
        transform: translateY(-15px) rotate(2deg) scale(1.02);
    }

    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 960px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }

    .hero-text {
        text-align: center;
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .mascot-wrapper {
        max-width: 350px;
        margin-top: 40px;
    }

    .floating-card {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* About Section */
.section {
    padding: 120px 0;
}

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

.section-header h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.divider {
    width: 48px;
    height: 4px;
    background: var(--accent-gradient);
    margin: 0 auto 20px;
    border-radius: var(--radius-full);
    box-shadow: 0 0 12px rgba(0, 180, 216, 0.35);
}

.section-header p {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.75;
}

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

.about-card {
    background: white;
    padding: 40px 30px 36px;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(1);
    transition: opacity 0.3s ease;
    opacity: 0.35;
}

.about-card:hover::before {
    opacity: 1;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(0, 180, 216, 0.15);
}

.icon-box {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.1), rgba(0, 119, 182, 0.15));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: var(--accent-color);
    font-size: 2.2rem;
    transition: var(--transition-bounce);
    position: relative;
}

.icon-box::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.about-card:hover .icon-box {
    transform: rotateY(360deg) scale(1.1);
    color: white;
}

.about-card:hover .icon-box::after {
    opacity: 1;
}

.about-card h3 {
    margin-bottom: 18px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.about-card p {
    color: var(--text-medium);
    font-size: 1rem;
    line-height: 1.7;
}

/* Services Section */
.bg-light {
    background: linear-gradient(135deg, #f8fafb 0%, #f0f5f9 50%, #f8fafb 100%);
    position: relative;
}

.bg-light::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(74, 144, 226, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(44, 95, 141, 0.04) 0%, transparent 50%);
}

.services-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-item {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition-slow);
    border: 1px solid var(--border-light);
    position: relative;
}

.service-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.service-item:hover::after {
    opacity: 1;
}

.service-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(0, 180, 216, 0.2);
}

.service-img {
    width: 100%;
    padding: 28px 0 20px;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.07), rgba(0, 119, 182, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 2.6rem;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.service-item:hover .service-img {
    background: var(--accent-gradient);
    color: white;
}

.service-info {
    padding: 24px 26px 28px;
    flex: 1;
    position: relative;
    z-index: 1;
}

.service-info h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.service-info p {
    color: var(--text-medium);
    margin-bottom: 14px;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.6;
}

.service-info ul {
    list-style: none;
    padding-left: 0;
    color: var(--text-light);
    font-size: 0.88rem;
}

.service-info ul li {
    margin-bottom: 6px;
    line-height: 1.5;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.service-info ul li::before {
    content: '·';
    color: var(--accent-color);
    font-weight: 900;
    font-size: 1.1em;
    flex-shrink: 0;
}

.service-info ul li strong {
    color: var(--primary-color);
    font-weight: 700;
}

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

@media (max-width: 600px) {
    .services-wrapper {
        grid-template-columns: 1fr;
    }
}

.service-note {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    background: rgba(0, 180, 216, 0.05);
    border-radius: var(--radius-md);
    color: var(--text-medium);
    font-size: 0.95rem;
    border-left: 4px solid var(--accent-color);
}

/* Info Banner */
.info-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 60px 0;
    text-align: center;
    color: #ffffff;
}

.info-banner h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: 700;
}

.info-banner p {
    margin-bottom: 30px;
    opacity: 0.95;
    color: #ffffff;
    font-size: 1.1rem;
}

.info-banner .btn-white {
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Contact Section */
.contact-container {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-group {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-group i {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.info-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.info-text p {
    color: var(--text-light);
}

.sub-text {
    font-size: 0.9rem;
    color: #666;
}

.map-box {
    flex: 1;
    min-width: 300px;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #eee;
    box-shadow: var(--shadow-md);
    position: relative;
}

.premium-map-container {
    width: 100%;
    height: 100%;
    min-height: 350px;
    background: linear-gradient(145deg, #f8fafc, #f1f5f9);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-light);
}

.map-grid-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background-image: radial-gradient(var(--accent-light) 1px, transparent 1px);
    background-size: 20px 20px;
}

.map-content-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.pulsing-pin {
    position: relative;
    margin-bottom: 20px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pin-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    position: relative;
    z-index: 3;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.pulsing-pin .ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: var(--accent-color);
    opacity: 0;
    animation: mapPulse 2s cubic-bezier(0.21, 0.53, 0.56, 0.8) infinite;
}

.pulsing-pin .ring-2 {
    animation-delay: 1s;
}

@keyframes mapPulse {
    0% {
        transform: scale(0.5);
        opacity: 0.6;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.map-address-title {
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 5px;
}

.map-address-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.premium-map-btn {
    padding: 14px 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
}

/* Footer */
footer {
    background-color: #1a252f;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    opacity: 0.9;
}

.footer-info p {
    margin-bottom: 10px;
    color: #c8c8c8;
    font-size: 0.95rem;
}

.footer-info p strong,
.footer-info p a {
    color: #ffffff;
    font-weight: 600;
}

.copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #444;
    width: 100%;
    color: #999;
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

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

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.scroll-reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

.scroll-reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .btn-outline {
        margin-left: 0;
    }
}

/* Font and Reset Overrides */
* {
    font-family: 'Noto Sans KR', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
    letter-spacing: -0.04em;
}


/* Header Tweaks */
#header {
    border-bottom: 1px solid #eee;
}

/* Hero Tweaks */
.hero-content {
    text-align: left;
    align-items: flex-start;
}

.hero-content h1 {
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background-color: var(--accent-color);
    border: none;
    font-weight: 700;
}

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

/* Footer Box Style */
.footer-content {
    border-top: 1px solid #444;
    padding-top: 30px;
    margin-top: 20px;
}

.footer-top-box {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    justify-content: center;
}

.info-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 25px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-box i {
    font-size: 2rem;
    color: var(--accent-color);
}

.info-box div h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 5px;
}

.info-box div p {
    font-size: 0.9rem;
    color: #ccc;
    margin: 0;
}

/* Top Bar Styling */
.top-bar {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 8px 0;
    font-size: 0.8rem;
    color: #666;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
}

.top-links a {
    margin-left: 20px;
    color: #555;
    transition: color 0.2s;
}

.top-links a:hover {
    color: var(--primary-color);
}

/* Notice & Promo Section */
.notice-section {
    padding: 80px 0;
    background-color: var(--white);
}

.notice-container {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

.notice-box {
    flex: 2;
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.notice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--text-dark);
}

.notice-header h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
}

.more-btn {
    color: #999;
    font-size: 0.9rem;
}

.notice-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f1f1f1;
}

.notice-list li:last-child {
    border-bottom: none;
}

.notice-list a {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-dark);
}

.notice-list a:hover .title {
    color: var(--primary-color);
    text-decoration: underline;
}

.tag {
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    min-width: 40px;
    text-align: center;
}

.tag.notice {
    background-color: #e8f3ff;
    color: var(--primary-color);
}

.tag.press {
    background-color: #fff0f0;
    color: #e74c3c;
}

.title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.95rem;
}

.date {
    font-size: 0.85rem;
    color: #999;
}

.promo-banner {
    flex: 1;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 15px;
    padding: 30px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-md);
    min-height: 200px;
    cursor: pointer;
    border: none;
    width: 100%;
    text-align: left;
    font: inherit;
    -webkit-appearance: none;
    appearance: none;
}

.banner-content {
    position: relative;
    z-index: 2;
    display: block;
}

.banner-content h4,
.banner-title {
    display: block;
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.banner-content p,
.banner-desc {
    display: block;
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.banner-icon {
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 8rem;
    opacity: 0.2;
    transform: rotate(-15deg);
}

@media (max-width: 768px) {
    .notice-container {
        flex-direction: column;
    }

    .top-bar .container {
        justify-content: center;
    }

    .top-links a {
        margin: 0 10px;
    }
}

/* Success Stories Section */
.bg-light {
    background-color: #f9fbfd;
}

.stories-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.story-card {
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.story-img {
    height: 260px;
    overflow: hidden;
}

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

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

.story-content {
    padding: 30px;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -25px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(31, 142, 250, 0.4);
}

.story-text {
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-style: italic;
}

.story-author {
    display: flex;
    flex-direction: column;
}

.story-author .name {
    font-weight: 800;
    color: var(--text-dark);
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.story-author .role {
    font-size: 0.9rem;
    color: #999;
}

/* Process Section */
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 auto;
    position: relative;
    flex-wrap: nowrap;
    gap: 0;
}

.step-item {
    text-align: center;
    flex: 1;
    min-width: 0;
}

.step-icon {
    width: 100px;
    height: 100px;
    background-color: var(--white);
    border: 2px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.step-num {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--white);
}

.step-item:hover .step-icon {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.step-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.step-item p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.4;
}

.step-connector {
    color: var(--accent-color);
    font-size: 1.4rem;
    opacity: 0.5;
    flex: 0 0 auto;
    padding: 0 8px;
    margin-top: 36px;
    /* align with icon center */
    align-self: flex-start;
}

/* FAQ Section */
.bg-light-blue {
    background-color: #f0f7ff;
}

.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.2s;
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
    font: inherit;
}

.faq-question:hover {
    background-color: #fafafa;
}

.faq-question span {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #e8f1f8, #d4e7f5);
    padding: 4px 12px;
    border-radius: 6px;
}

.faq-question i {
    color: var(--accent-color);
    font-size: 1rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-question {
    color: var(--primary-color);
    background-color: #f8faff;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    background-color: #f8faff;
    border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
    padding: 20px 25px;
    border-top-color: #eee;
    max-height: 600px;
}

.faq-answer p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .step-connector {
        display: none;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
    }

    .step-item {
        width: 100%;
        margin-bottom: 30px;
    }
}

/* CEO Greeting Section */
.greeting-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 20px 0;
}

.greeting-img {
    flex: 0 0 35%;
    max-width: 380px;
    position: relative;
    border-radius: 20px;
}

.greeting-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
}

.img-deco {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: repeating-linear-gradient(45deg,
            var(--accent-color),
            var(--accent-color) 2px,
            transparent 2px,
            transparent 10px);
    z-index: 1;
    opacity: 0.3;
}

.greeting-text {
    flex: 1;
}

.sub-heading {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.greeting-text h2 {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.lead-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.greeting-text p {
    color: #666;
    line-height: 1.8;
}

.signature {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    text-align: left;
}

.signature p {
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

/* Impact Stats Section */
.bg-dark {
    background-color: var(--primary-color);
    /* Deep Navy */
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

.text-white {
    color: #fff !important;
}

.text-white p,
.text-white h3 {
    color: #fff;
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: space-around;
    text-align: center;
    padding: 20px 0;
}

.stat-item {
    padding: 20px;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent-color);
    opacity: 0.9;
}

.stat-item h3 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-unit {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.stat-unit span {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin: 0;
}

.stat-divider {
    width: 1px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 960px) {
    .greeting-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .greeting-text h2 {
        font-size: 1.8rem;
    }

    .signature {
        align-items: flex-start;
    }

    .stats-grid {
        flex-direction: column;
        gap: 40px;
    }

    .stat-divider {
        width: 80px;
        height: 1px;
    }
}

/* Process Section Mascot Upgrade */
.process-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.process-mascot {
    flex: 0 0 200px;
    display: flex;
    justify-content: center;
}

.process-mascot img {
    width: 100%;
    max-width: 180px;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.1));
    animation: floatMascot 4s ease-in-out infinite;
}

.process-steps {
    flex: 1;
    flex-wrap: nowrap;
}

/* FAQ Section Mascot Upgrade */
.faq-container-flex {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-mascot {
    flex: 0 0 200px;
    align-self: center;
}

.faq-mascot img {
    width: 100%;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.1));
    transform: rotate(-3deg);
}

.faq-wrapper {
    flex: 1;
}

/* Info Banner Mascot Upgrade */
.banner-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner-text {
    flex: 1;
    text-align: left;
}

.banner-mascot {
    flex: 0 0 250px;
    position: relative;
    top: 20px;
    /* Slight overlap */
}

.banner-mascot img {
    width: 100%;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

@media (max-width: 960px) {

    .process-wrapper,
    .faq-container-flex,
    .banner-flex {
        flex-direction: column;
        text-align: center;
    }

    .process-mascot,
    .faq-mascot,
    .banner-mascot {
        margin-bottom: 30px;
        flex: auto;
        max-width: 200px;
        margin-top: 20px;
    }

    .process-mascot img,
    .faq-mascot img,
    .banner-mascot img {
        max-width: 180px;
    }

    .banner-text {
        text-align: center;
    }

    .banner-mascot {
        top: 0;
    }
}

/* =============================================== */
/* MEGA MENU STYLES */
/* =============================================== */
.nav-list .has-dropdown {
    position: relative;
}

.nav-list .has-dropdown>a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-list .has-dropdown>a i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-list .has-dropdown:hover>a i,
.nav-list .has-dropdown.open>a i,
.nav-list .has-dropdown:focus-within>a i {
    transform: rotate(180deg);
}

.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 220px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 15px 0;
    border: 1px solid #eee;
}

.nav-list .has-dropdown:hover .mega-dropdown,
.nav-list .has-dropdown.open .mega-dropdown,
.nav-list .has-dropdown:focus-within .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content {
    display: flex;
    flex-direction: column;
}

.dropdown-content a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    background-color: #f5f8ff;
    color: var(--primary-color);
    padding-left: 30px;
}

.dropdown-content a i {
    width: 20px;
    text-align: center;
    color: var(--accent-color);
    font-size: 1rem;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #f5f5f5;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(12, 24, 38, 0.42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 980;
}

.mobile-nav-backdrop.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Search Modal */
.search-modal-content {
    width: min(92vw, 700px);
    max-width: 700px;
    border-radius: 20px;
}

.search-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 24px 28px 18px;
    border-bottom: 1px solid var(--border-light);
}

.search-modal-header h2 {
    margin: 0;
    font-size: 1.35rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-modal-header h2 i {
    color: var(--accent-color);
}

.search-modal-body {
    padding: 22px 28px 28px;
    display: grid;
    gap: 16px;
}

.search-form {
    margin: 0;
}

.search-input-wrap {
    position: relative;
}

.search-input-wrap>i {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: var(--text-light);
}

.search-input-wrap input {
    width: 100%;
    padding: 14px 108px 14px 42px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    color: var(--text-dark);
}

.search-input-wrap input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.18);
}

.search-submit-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    height: calc(100% - 12px);
    padding: 0 16px;
    border: none;
    border-radius: 9px;
    background: var(--accent-gradient);
    color: var(--white);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.search-submit-btn:hover {
    filter: brightness(0.95);
}

.search-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.search-keyword-btn {
    border: 1px solid var(--border-color);
    background: #f9fbfe;
    color: var(--text-medium);
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.search-keyword-btn:hover {
    border-color: var(--accent-color);
    color: var(--primary-color);
    background: #eef5ff;
}

.search-results {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
    max-height: 320px;
    overflow-y: auto;
}

.search-results li {
    margin: 0;
}

.search-result-btn {
    width: 100%;
    text-align: left;
    border: 1px solid var(--border-light);
    background: var(--white);
    border-radius: 12px;
    padding: 12px 14px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.search-result-btn:hover {
    border-color: var(--accent-light);
    background: #f7faff;
    transform: translateY(-1px);
}

.search-result-title {
    display: block;
    color: var(--text-dark);
    font-size: 0.96rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.search-result-path {
    display: block;
    color: var(--text-light);
    font-size: 0.8rem;
    margin-bottom: 6px;
}

.search-result-snippet {
    color: var(--text-medium);
    font-size: 0.86rem;
    line-height: 1.4;
}

.search-result-empty {
    text-align: center;
    color: var(--text-light);
    background: #f7f9fc;
    border-radius: 10px;
    padding: 14px 12px;
    font-size: 0.92rem;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    z-index: 10000;
    transition: width 0.1s linear;
}

@media (max-width: 960px) {
    body.menu-open {
        overflow: hidden;
    }

    #header .container {
        gap: 14px;
    }

    .logo-main-text {
        font-size: 1.08rem;
    }

    .logo-sub-text {
        font-size: 0.66rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .search-btn {
        width: 35px;
        height: 35px;
    }

    .nav {
        display: none;
        position: fixed;
        top: 78px;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 78px);
        overflow-y: auto;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        padding: 16px 20px 22px;
        z-index: 1001;
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-list>li {
        border-bottom: 1px solid #eef2f7;
    }

    .nav-list>li:last-child {
        border-bottom: none;
    }

    .nav-list a::after {
        display: none;
    }

    .nav-list .has-dropdown>a,
    .nav-list>li>a {
        justify-content: space-between;
        width: 100%;
        padding: 14px 4px;
    }

    .nav-list .has-dropdown>a i {
        display: inline-flex;
        font-size: 0.78rem;
    }

    .mega-dropdown {
        position: static;
        left: auto;
        top: auto;
        transform: none;
        min-width: 0;
        max-height: 0;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0 0 0 10px;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }

    .nav-list .has-dropdown.open .mega-dropdown {
        max-height: 360px;
        padding-bottom: 8px;
    }

    .dropdown-content {
        gap: 3px;
    }

    .dropdown-content a {
        padding: 10px 14px;
        border-radius: 10px;
        font-size: 0.91rem;
    }

    .dropdown-content a:hover {
        padding-left: 14px;
    }

    .search-modal-content {
        width: min(94vw, 640px);
    }
}

@media (max-width: 768px) {
    .search-modal-header {
        padding: 18px 20px 14px;
    }

    .search-modal-body {
        padding: 16px 20px 20px;
    }

    .search-input-wrap input {
        padding-right: 88px;
    }

    .search-submit-btn {
        padding: 0 12px;
    }
}

/* =============================================== */
/* TIMELINE STYLES */
/* =============================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-color), var(--primary-color));
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 50px;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 0 0 4px var(--accent-color);
    z-index: 10;
}

.timeline-content {
    background: var(--white);
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    max-width: 350px;
    margin-right: 30px;
    position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 0;
    margin-left: 30px;
}

.timeline-content .year {
    display: inline-block;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.timeline-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.timeline-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* =============================================== */


/* =============================================== */
/* ELIGIBILITY STYLES */
/* =============================================== */
.eligibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.eligibility-card {
    background: var(--white);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.eligibility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.elig-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(31, 142, 250, 0.1), rgba(0, 48, 91, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--accent-color);
}

.eligibility-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.eligibility-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.eligibility-note {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(31, 142, 250, 0.08);
    padding: 20px 25px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

.eligibility-note i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.eligibility-note p {
    color: #555;
    margin: 0;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 60px;
        padding-right: 0;
        justify-content: flex-start;
    }

    .timeline-dot {
        left: 20px;
    }

    .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin: 0;
        max-width: 100%;
    }

    .org-row {
        flex-direction: column;
        gap: 20px;
    }
}

/* =============================================== */
/* DOCUMENTS SECTION STYLES */
/* =============================================== */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.doc-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eee;
    transition: var(--transition);
}

.doc-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.doc-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f5f5f5;
}

.doc-header i {
    font-size: 2rem;
    color: var(--accent-color);
}

.doc-header h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
}

.doc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.doc-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    font-size: 0.95rem;
    color: #555;
}

.doc-list li:last-child {
    border-bottom: none;
}

.doc-list li i {
    color: var(--accent-color);
    font-size: 0.85rem;
}

.doc-note {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff8e6;
    padding: 20px 25px;
    border-radius: 12px;
    border-left: 4px solid #f0ad4e;
}

.doc-note i {
    font-size: 1.5rem;
    color: #f0ad4e;
}

.doc-note p {
    color: #555;
    margin: 0;
    font-size: 0.95rem;
}

/* =============================================== */
/* NOTICE TABS STYLES */
/* =============================================== */
.notice-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.tab-btn {
    padding: 10px 20px;
    border: none;
    background: transparent;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.tab-btn:hover {
    color: var(--primary-color);
    background: #f5f8ff;
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--white);
}

.notice-list li.is-hidden {
    display: none;
}

.notice-empty {
    color: #777;
    font-size: 0.95rem;
    text-align: center;
    padding: 16px 0;
}

.search-hit {
    outline: 3px solid var(--accent-color);
    outline-offset: 4px;
    border-radius: var(--radius-lg);
    box-shadow: 0 0 0 8px rgba(74, 144, 226, 0.16);
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 20px;
    background: #f5f5f5;
    color: var(--text-dark);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* =============================================== */
/* PARTNERS SECTION STYLES */
/* =============================================== */
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 35px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    min-width: 150px;
    min-height: 70px;
    transition: var(--transition);
    border: 1px solid #eee;
}

.partner-logo:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.partner-logo img {
    max-height: 40px;
    max-width: 150px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.partner-text {
    font-weight: 700;
    color: #888;
    font-size: 0.95rem;
    transition: var(--transition);
}

.partner-logo:hover .partner-text {
    color: var(--primary-color);
}

.partner-fallback-text {
    display: none;
}

.partner-fallback-text.show {
    display: flex;
}

.partner-logo img.is-hidden {
    display: none;
}

/* =============================================== */
/* FOOTER SITEMAP STYLES */
/* =============================================== */
.footer-sitemap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.sitemap-col h5 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.sitemap-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-col ul li {
    margin-bottom: 10px;
}

.sitemap-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}

.sitemap-col ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 180, 216, 0.35);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .footer-sitemap {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* =============================================== */
/* HEADER SCROLL EFFECT */
/* =============================================== */
header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* =============================================== */
/* ADDITIONAL UI POLISH */
/* =============================================== */

/* Subtle parallax on hero background */
.hero-bg {
    background-attachment: fixed;
}

/* Button ripple effect */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

/* Card lift effect */
.service-item:hover,
.stories-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Icon hover scaling */
.service-img:hover i,
.step-icon:hover i,
.elig-icon:hover i {
    transform: scale(1.1);
}

.service-img i,
.step-icon i,
.elig-icon i {
    transition: transform 0.3s ease;
}

/* bg-light-blue class */
.bg-light-blue {
    background-color: #f0f7ff;
}



.finance-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 0.95rem;
}

.finance-table th,
.finance-table td {
    padding: 12px 10px;
    text-align: right;
    border-bottom: 1px solid var(--border-light);
}

.finance-table th {
    background-color: var(--bg-light);
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
}

.finance-table td:first-child {
    text-align: center;
    font-weight: 600;
    color: var(--text-medium);
}

.finance-table tr:hover {
    background-color: rgba(74, 144, 226, 0.05);
}

.board-list {
    list-style: none;
    padding: 0;
}

.board-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    color: var(--text-medium);
}

.board-list li:last-child {
    border-bottom: none;
}

.board-list strong {
    color: var(--text-dark);
    font-weight: 600;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.text-link {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.text-link:hover {
    text-decoration: underline;
}

/* Finance Guide Modal Styles */
.large-modal {
    max-width: 700px;
    width: 90%;
}

.warning-header {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5253 100%);
    color: white;
    padding: 20px 30px;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.warning-header h2 {
    font-size: 1.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.guide-content {
    padding: 10px;
}

.guide-section {
    margin-bottom: 30px;
}

.guide-section h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.guide-section h3 i {
    color: #ff6b6b;
}

.case-box {
    background: #fff5f5;
    border-left: 4px solid #ff6b6b;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.case-box h4 {
    font-size: 1rem;
    color: #c0392b;
    margin-bottom: 5px;
}

.case-box p {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin: 0;
}

.contact-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 1.05rem;
}

.contact-list li:last-child {
    border-bottom: none;
}

.contact-list a {
    color: var(--accent-color);
    font-weight: 700;
}

.guide-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px dashed var(--border-color);
}

.emphasis-text {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Product Comparison Table */
.comparison-table-wrapper {
    margin-top: 50px;
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.section-header-compact-left {
    margin-bottom: 20px;
    text-align: left;
}

.comparison-title {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.footer-logo img {
    height: 40px;
    margin-right: 15px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 600px;
}

.comparison-table th {
    background: var(--primary-color);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 600;
}

.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-light);
    text-align: center;
    color: var(--text-dark);
}

.comparison-table tr:hover {
    background-color: #f8f9fa;
}

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