/* ==========================================================================
   Design System & Variable Declarations
   ========================================================================== */
:root {
    /* Color Palette */
    --navy-deep: #0D2560;       /* Rich Deep Navy */
    --navy-dark: #091229;       /* Deep Space Dark */
    --royal-blue: #2563EB;      /* Vibrant Accent Blue */
    --gold: #38BDF8;            /* Bright Sky Blue (instead of gold) */
    --gold-hover: #0284C7;      /* Darker Sky Blue */
    --gold-light: rgba(56, 189, 248, 0.12);
    --silver: #CBD5E1;          /* Slate-200 border tone */
    --blue-white: #E0F2FE;      /* Light Sky Blue tint */
    --white: #FFFFFF;
    --crystal-white: #F8FAFC;   /* Soft premium white background */
    
    /* Semantic Colors */
    --bg-dark: var(--navy-deep);
    --bg-light: var(--crystal-white);
    --text-dark: var(--navy-dark);
    --text-light: var(--white);
    --text-muted: var(--blue-white);
    --border-color: rgba(200, 208, 224, 0.4);
    
    /* Layout Constants */
    --header-height: 72px;
    --container-width: 1200px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease-out;
}

/* ==========================================================================
   Reset & Global Styles
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.85;
    letter-spacing: -0.2px;
    overflow-x: hidden;
    word-break: keep-all;
}

/* Premium Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--navy-deep);
}
::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-hover);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    color: var(--navy-deep);
    line-height: 1.3;
}

/* Ensure clean Korean word-wrapping by word boundaries across all browsers and elements */
h1, h2, h3, h4, h5, h6, p, li, span, th, td, a {
    word-break: keep-all;
    word-wrap: break-word;
}

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

ul {
    list-style: none;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Common Utilities
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: var(--royal-blue);
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-tag.style-gold {
    color: var(--gold);
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    line-height: 1.4;
}

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

.section-subtitle {
    font-size: 17px;
    color: #3F4A6B;
    line-height: 1.7;
    letter-spacing: -0.3px;
}

.section-subtitle.text-sub {
    color: var(--blue-white);
}

/* ==========================================================================
   Buttons & Links
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 28px;
    height: 48px;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    transition: var(--transition-fast);
    gap: 8px;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%);
    color: var(--navy-dark);
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.35),
        transparent
    );
    transform: skewX(-20deg);
    transition: 0.75s ease;
}

.btn-gold:hover::before {
    left: 150%;
}

.btn-gold svg {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-gold:hover svg {
    transform: translateX(4px);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #56D0FF 0%, var(--gold-hover) 100%);
    color: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

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

.btn-outline-gold:hover {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%);
    color: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.3);
}

.btn-outline-white {
    background-color: rgba(255, 255, 255, 0.04);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--navy-dark);
    border-color: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.btn-kakao {
    background-color: #FEE500;
    color: #191919;
    width: 100%;
}

.btn-kakao:hover {
    background-color: #E6CE00;
    transform: scale(1.02);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--navy-deep);
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Header state when on home page hero (optional overlay feel) */
.site-header.home-overlay {
    background-color: transparent;
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background-color: rgba(13, 37, 96, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(200, 208, 224, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 36px;
    width: auto;
    display: block;
    object-fit: contain;
}

.footer-logo .logo-img {
    height: 30px;
}

.logo-text {
    font-size: 19px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.nav-menu ul {
    display: flex;
    gap: 24px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15.5px;
    font-weight: 700;
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--white);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Mobile Toggle Hamburger */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--white);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Hamburger active animation */
.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--navy-deep);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.mobile-drawer.active {
    right: 0;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
    padding: 0 40px;
}

.mobile-nav-link {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    color: var(--gold);
}

.drawer-btn-wrap {
    width: 100%;
    max-width: 280px;
    margin-top: 20px;
}

.drawer-cta-btn {
    width: 100%;
    text-align: center;
}

/* ==========================================================================
   SUBPAGE COMMON HERO
   ========================================================================== */
.subpage-hero {
    position: relative;
    background-color: var(--navy-deep);
    padding: 140px 0 60px;
    text-align: center;
    overflow: hidden;
}

.subpage-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.4) 0%, transparent 80%),
        linear-gradient(135deg, rgba(16, 46, 107, 0.95) 0%, rgba(14, 29, 59, 0.98) 100%);
    z-index: 1;
}

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

.subpage-hero-title {
    font-family: 'Pretendard', sans-serif;
    font-size: 38px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.subpage-hero-subtitle {
    font-size: 15px;
    color: var(--blue-white);
    max-width: 900px;
    margin: 0 auto;
}

/* ==========================================================================
   SECTION 1. HERO (HOME ONLY)
   ========================================================================== */
.hero-section {
    position: relative;
    background-color: transparent;
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 44px + 60px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 75% 35%, rgba(6, 182, 212, 0.5) 0%, transparent 55%), /* Glowing Cyan */
        radial-gradient(circle at 20% 70%, rgba(37, 99, 235, 0.4) 0%, transparent 60%), /* Glowing Blue */
        linear-gradient(135deg, rgba(13, 37, 96, 0.92) 0%, rgba(9, 18, 41, 0.96) 100%); /* Deep Navy Base */
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-content {
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(14, 29, 59, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 60px 48px;
    border-radius: 12px;
    max-width: 880px;
    width: 100%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
    box-sizing: border-box;
}

.hero-headline {
    font-family: 'Pretendard', sans-serif;
    font-size: 42px;
    font-weight: 900;
    color: var(--white);
    margin: 0 auto 24px;
    line-height: 1.45;
    letter-spacing: -1px;
    word-break: keep-all;
    max-width: 1000px;
    /* Apply filter drop-shadow to parent container to prevent Chrome gradient text clipping bug */
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.95)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
}

.hero-headline span.line-1 {
    display: block;
    font-size: 36px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
}

.hero-headline span.line-2 {
    display: block;
    background: linear-gradient(135deg, #38BDF8 0%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subcopy {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 auto 40px;
    line-height: 1.8;
    word-break: keep-all;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    max-width: 720px;
}

.hero-cta-buttons {
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero-buttons-flex {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.hero-btn-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 25px;
    margin-bottom: 8px;
}

.btn-spacer {
    height: 25px;
    margin-bottom: 8px;
}

.btn-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.secondary-group {
    align-items: center;
}

.btn-badge {
    font-size: 11px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 1.5px;
    display: inline-block;
    background-color: rgba(184, 146, 42, 0.12);
    padding: 5px 12px;
    border-radius: 40px;
    border: 1px solid rgba(184, 146, 42, 0.25);
    text-transform: uppercase;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.svg-wrapper {
    width: 100%;
    max-width: 480px;
    background: rgba(27, 58, 143, 0.15);
    border: 1px solid rgba(200, 208, 224, 0.1);
    border-radius: 8px;
    padding: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* SVG Path Draw Animation */
.path-draw-1 {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawPath 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.path-draw-2 {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawPath 3s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

@keyframes drawPath {
    to {
        stroke-dashoffset: 0;
    }
}

/* ==========================================================================
   SECTION 2. 서비스 소개
   ========================================================================== */
.services-section {
    background-color: var(--crystal-white);
}

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

.service-card {
    background-color: var(--white);
    border: 1px solid rgba(200, 208, 224, 0.4);
    border-radius: 4px;
    padding: 40px 30px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
}

.card-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: transparent;
    transition: var(--transition-fast);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(13, 27, 42, 0.08);
}

.service-card:hover .card-line {
    background-color: var(--royal-blue);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--crystal-white);
    border-radius: 4px;
    margin-bottom: 24px;
    border: 1px solid rgba(200, 208, 224, 0.3);
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy-deep);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 14px;
    color: #3F4A6B;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-more-link {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--royal-blue);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.service-more-link:hover {
    color: var(--gold);
}

/* ==========================================================================
   SECTION 2-2. 기업 우대 인증 연계
   ========================================================================== */
.certifications-section {
    background-color: var(--white);
    border-top: 1px solid rgba(200, 208, 224, 0.4);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.cert-card {
    background-color: var(--white);
    border: 1px solid rgba(200, 208, 224, 0.4);
    border-radius: 4px;
    padding: 36px 24px;
    transition: var(--transition-smooth);
}

.cert-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(13, 27, 42, 0.06);
}

.cert-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--gold);
    background-color: var(--gold-light);
    padding: 4px 12px;
    border-radius: 40px;
    margin-bottom: 20px;
    border: 1px solid rgba(184, 146, 42, 0.2);
}

.cert-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy-deep);
    margin-bottom: 20px;
    letter-spacing: -0.3px;
    line-height: 1.4;
}

.cert-bullets {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cert-bullets li {
    font-size: 13.5px;
    color: #556080;
    position: relative;
    padding-left: 12px;
    line-height: 1.5;
}

.cert-bullets li::before {
    content: '•';
    color: var(--gold);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* ==========================================================================
   SECTION 3. 기준경영자금연구소는?
   ========================================================================== */
.about-section {
    background-color: var(--navy-deep);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 80%, rgba(27, 58, 143, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-desc {
    font-size: 16.5px;
    color: var(--blue-white);
    margin-bottom: 20px;
    line-height: 1.85;
    letter-spacing: -0.2px;
}

.about-desc strong {
    color: var(--navy-deep);
}

html.home-snap .about-desc strong {
    color: var(--white);
}

.about-desc.highlighted {
    border-left: 3px solid var(--gold);
    padding-left: 16px;
    margin-top: 24px;
    color: var(--navy-deep);
    font-weight: 500;
}

html.home-snap .about-desc.highlighted {
    color: var(--white);
}

.about-counters {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.counter-item {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 24px 30px;
}

.counter-label {
    font-size: 14px;
    color: var(--blue-white);
    display: block;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.counter-number-wrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.counter-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.counter-unit {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
}

/* ==========================================================================
   SECTION 4. 지원 대상 체크리스트
   ========================================================================== */
.checklist-section {
    background-color: var(--white);
}

.checklist-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    border-radius: 4px;
    border: 1px solid rgba(200, 208, 224, 0.4);
    transition: var(--transition-fast);
}

.checklist-item:hover {
    background-color: rgba(27, 58, 143, 0.04);
    border-color: rgba(27, 58, 143, 0.2);
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--gold-light);
}

.check-text {
    font-size: 15px;
    color: #333C54;
    font-weight: 500;
    line-height: 1.5;
}

.checklist-cta {
    text-align: center;
    background-color: var(--crystal-white);
    border: 1px solid rgba(200, 208, 224, 0.4);
    border-radius: 4px;
    padding: 32px;
}

.checklist-cta-text {
    font-size: 16px;
    margin-bottom: 20px;
    color: #444E68;
}

.checklist-cta-text strong {
    color: var(--royal-blue);
}

/* ==========================================================================
   SECTION 5. 상담 프로세스
   ========================================================================== */
.process-section {
    background-color: var(--crystal-white);
}

.process-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}

.process-step {
    background-color: var(--white);
    border: 1px solid rgba(200, 208, 224, 0.4);
    border-radius: 4px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.step-badge-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.step-badge {
    width: 36px;
    height: 36px;
    background-color: var(--navy-deep);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-connector {
    flex-grow: 1;
    margin-left: 16px;
    height: 10px;
}

.step-connector svg {
    width: 100%;
    height: 100%;
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy-deep);
    margin-bottom: 4px;
}

.step-sub {
    font-size: 13px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 16px;
    letter-spacing: -0.2px;
}

.step-desc {
    font-size: 13.5px;
    color: #626D8E;
    line-height: 1.6;
}

/* ==========================================================================
   SECTION 6. 자주 묻는 질문
   ========================================================================== */
.faq-section {
    background-color: var(--navy-deep);
}

.faq-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.faq-filter-btn {
    padding: 10px 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.02);
    color: var(--silver);
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-filter-btn:hover {
    border-color: var(--white);
    color: var(--white);
}

.faq-filter-btn.active {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--navy-deep);
}

.faq-accordion-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accordion-item {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: block; /* Handle dynamic visibility classes */
}

.accordion-item.hidden {
    display: none;
}

.accordion-trigger {
    width: 100%;
    padding: 22px 28px;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    text-align: left;
    color: var(--white);
    gap: 16px;
}

.question-prefix {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--gold);
    flex-shrink: 0;
}

.question-text {
    font-size: 16px;
    font-weight: 700;
    flex-grow: 1;
}

.accordion-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--silver);
}

/* Accordion Active States */
.accordion-item.active {
    background-color: var(--royal-blue);
    border-color: rgba(255, 255, 255, 0.15);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
    color: var(--gold);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.accordion-inner {
    padding: 0 28px 24px 44px;
    font-size: 15px;
    color: var(--blue-white);
    line-height: 1.7;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 16px;
}

/* ==========================================================================
   SECTION 7. 상담 신청 폼
   ========================================================================== */
.contact-section {
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    box-shadow: 0 30px 60px rgba(13, 27, 42, 0.06);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(200, 208, 224, 0.4);
}

/* Info Column */
.contact-info-card {
    background-color: var(--navy-deep);
    padding: 60px 48px;
    display: flex;
    flex-direction: column;
}

.contact-tag {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 2.5px;
    display: block;
    margin-bottom: 12px;
}

.contact-title {
    font-size: 26px;
    line-height: 1.4;
    margin-bottom: 16px;
    color: var(--white);
}

.contact-lead {
    font-size: 14.5px;
    line-height: 1.7;
    margin-bottom: 40px;
    color: var(--blue-white);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: auto;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    flex-shrink: 0;
}

.detail-label {
    font-size: 12px;
    color: var(--blue-white);
    display: block;
    margin-bottom: 2px;
}

.detail-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
}

.contact-kakao-wrap {
    margin-top: 40px;
}

/* Form Column */
.contact-form-wrapper {
    background-color: var(--white);
    padding: 60px 48px;
    position: relative;
}

.form-heading {
    font-size: 22px;
    margin-bottom: 8px;
}

.form-sub {
    font-size: 13.5px;
    color: #626D8E;
    margin-bottom: 40px;
    line-height: 1.6;
}

.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.form-group-field {
    position: relative;
    width: 100%;
}

.form-input {
    width: 100%;
    border: none;
    border-bottom: 1.5px solid rgba(200, 208, 224, 0.6);
    background: transparent;
    padding: 10px 0;
    font-family: inherit;
    font-size: 15px;
    color: var(--navy-deep);
    outline: none;
    transition: var(--transition-fast);
}

.form-textarea {
    resize: none;
}

/* Floating Label Animation */
.form-label {
    position: absolute;
    left: 0;
    top: 10px;
    font-size: 14.5px;
    color: #626D8E;
    pointer-events: none;
    transition: 0.25s ease all;
}

/* When input is focused or has content */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: -16px;
    font-size: 12px;
    color: var(--royal-blue);
    font-weight: 700;
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--royal-blue);
    transition: var(--transition-fast);
}

.form-input:focus ~ .form-line {
    width: 100%;
    left: 0;
}

.form-input:focus {
    border-bottom-color: transparent;
}

/* Validation Errors styling */
.error-msg, .error-msg-agree {
    display: none;
    font-size: 12px;
    color: #D32F2F;
    margin-top: 4px;
    font-weight: 600;
}

.form-group-field.invalid .form-input {
    border-bottom-color: #D32F2F;
}

.form-group-field.invalid .form-label {
    color: #D32F2F;
}

.form-group-field.invalid .error-msg {
    display: block;
}

.privacy-agreement {
    margin-top: 8px;
}

.agreement-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    gap: 10px;
}

.agreement-label input {
    display: none;
}

.custom-checkbox {
    width: 18px;
    height: 18px;
    border: 1.5px solid rgba(200, 208, 224, 0.8);
    border-radius: 3px;
    display: inline-block;
    position: relative;
    transition: var(--transition-fast);
}

.agreement-label input:checked + .custom-checkbox {
    background-color: var(--gold);
    border-color: var(--gold);
}

.agreement-label input:checked + .custom-checkbox::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid var(--navy-deep);
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.agreement-text {
    font-size: 13.5px;
    color: #444E68;
    font-weight: 500;
}

.privacy-agreement.invalid .error-msg-agree {
    display: block;
}

.form-submit-wrap {
    margin-top: 12px;
}

.submit-btn {
    width: 100%;
    font-size: 16px;
    height: 52px;
    position: relative;
}

/* Spinner for submitting state */
.spinner-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spinSpinner 0.8s linear infinite;
    position: absolute;
}

@keyframes spinSpinner {
    to { transform: rotate(360deg); }
}

/* Submit Success Overlay */
.submit-success-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(16, 46, 107, 0.96);
    backdrop-filter: blur(8px);
    z-index: 10;
    align-items: center;
    justify-content: center;
    padding: 40px;
    animation: fadeIn 0.4s ease forwards;
}

.success-card {
    text-align: center;
    color: var(--white);
    max-width: 400px;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background-color: var(--gold-light);
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    margin-bottom: 24px;
}

.success-title {
    font-size: 22px;
    color: var(--white);
    margin-bottom: 12px;
}

.success-text {
    font-size: 14.5px;
    color: var(--blue-white);
    margin-bottom: 32px;
    line-height: 1.6;
}

.success-close-btn {
    width: 120px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==========================================================================
   SUBPAGE: COMPANY INTRODUCTION (`company.html`)
   ========================================================================== */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.philosophy-card {
    background-color: var(--white);
    border: 1px solid rgba(200, 208, 224, 0.4);
    border-radius: 4px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
}

.philosophy-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(13, 27, 42, 0.05);
}

.philosophy-icon {
    width: 60px;
    height: 60px;
    background-color: var(--crystal-white);
    border: 1px solid rgba(200, 208, 224, 0.3);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.philosophy-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy-deep);
    margin-bottom: 12px;
}

.philosophy-desc {
    font-size: 14.5px;
    color: #626D8E;
    line-height: 1.6;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.profile-card {
    background-color: var(--white);
    border: 1px solid rgba(200, 208, 224, 0.4);
    border-radius: 4px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(13, 27, 42, 0.05);
    border-color: var(--gold);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background-color: var(--crystal-white);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
}

.profile-avatar svg {
    width: 36px;
    height: 36px;
    color: var(--royal-blue);
}

.profile-name {
    font-size: 19px;
    font-weight: 700;
    color: var(--navy-deep);
    margin-bottom: 4px;
}

.profile-role {
    font-size: 13.5px;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
    letter-spacing: -0.2px;
}

.profile-careers {
    font-size: 13px;
    color: #556080;
    line-height: 1.7;
    text-align: left;
    border-top: 1px solid rgba(200, 208, 224, 0.3);
    padding-top: 16px;
}

.profile-careers li {
    margin-bottom: 6px;
    position: relative;
    padding-left: 12px;
}

.profile-careers li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

/* ==========================================================================
   SUBPAGE: POLICY FUNDS (`funds.html`)
   ========================================================================== */
.funds-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.funds-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 30px);
    height: fit-content;
    background-color: var(--white);
    border: 1px solid rgba(200, 208, 224, 0.4);
    border-radius: 4px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
}

.funds-tab-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.funds-tab-btn {
    width: 100%;
    text-align: left;
    padding: 14px 20px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 15px;
    font-weight: 700;
    color: #556080;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition-fast);
    border-left: 3px solid transparent;
}

.funds-tab-btn:hover {
    background-color: var(--crystal-white);
    color: var(--navy-deep);
}

.funds-tab-btn.active {
    background-color: rgba(27, 58, 143, 0.05);
    color: var(--royal-blue);
    border-left-color: var(--royal-blue);
}

.funds-content-section {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.funds-content-section.active {
    display: block;
}

.funds-info-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--navy-deep);
    margin-bottom: 12px;
    border-bottom: 2px solid var(--navy-deep);
    padding-bottom: 12px;
}

.funds-info-intro {
    font-size: 16px;
    color: #556080;
    margin-bottom: 30px;
    line-height: 1.7;
}

.funds-table-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy-deep);
    margin: 32px 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.funds-table-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 16px;
    background-color: var(--gold);
}

.funds-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 32px;
    font-size: 14.5px;
}

.funds-table th, .funds-table td {
    border: 1px solid rgba(200, 208, 224, 0.5);
    padding: 14px 18px;
    text-align: left;
}

.funds-table th {
    background-color: var(--crystal-white);
    color: var(--navy-deep);
    font-weight: 700;
    width: 200px;
}

.funds-table td {
    color: #444E68;
    line-height: 1.6;
}

.funds-table td strong {
    color: var(--navy-deep);
}

/* ==========================================================================
   SUBPAGE: CONTACT & MAP MOCKUP (`contact.html`)
   ========================================================================== */
.map-container {
    width: 100%;
    height: 360px;
    background-color: var(--crystal-white);
    border: 1px solid rgba(200, 208, 224, 0.4);
    border-radius: 4px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
}

.map-placeholder svg {
    color: var(--gold);
    margin-bottom: 12px;
}

.map-placeholder h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-deep);
    margin-bottom: 8px;
}

.map-placeholder p {
    font-size: 13.5px;
    color: #626D8E;
    max-width: 320px;
}

.map-route-btn {
    margin-top: 16px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--navy-dark);
    color: var(--blue-white);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.footer-slogan {
    font-size: 14px;
    line-height: 1.6;
    max-width: 320px;
}

.footer-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--blue-white);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-info-text {
    font-size: 14px;
}

.contact-info-text span {
    color: var(--white);
    font-weight: 500;
}

.contact-info-text span.accent-gold {
    color: var(--gold);
    font-weight: 700;
}

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.05);
    margin-bottom: 30px;
}

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

.company-details {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
}

.company-details strong {
    color: var(--white);
    margin-right: 4px;
}

.copyright {
    color: rgba(255, 255, 255, 0.35);
}

/* ==========================================================================
   Animations & Scroll Trigger Toggles
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(50px) scale(0.96) rotate(-0.5deg);
    transform-origin: center;
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.25, 1), 
                transform 1.2s cubic-bezier(0.25, 1, 0.25, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Tablet & Smaller Devices (max-width: 1024px) */
@media (max-width: 1024px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .hero-container {
        text-align: center;
        gap: 24px;
    }
    
    .hero-headline {
        font-size: 38px;
    }
    
    .hero-cta-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-counters {
        flex-direction: row;
        justify-content: space-between;
        gap: 16px;
    }
    
    .counter-item {
        flex: 1;
        text-align: center;
        padding: 20px 10px;
    }
    
    .process-flow {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .step-connector {
        display: none;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info-card {
        padding: 48px;
    }
    
    .contact-form-wrapper {
        padding: 48px;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .footer-brand {
        grid-column: span 2;
        margin-bottom: 12px;
    }
    
    .philosophy-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .profile-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Tablet & Medium Devices (max-width: 1024px) */
@media (max-width: 1024px) {
    :root {
        --header-height: 64px;
    }
    
    /* Navigation changes */
    .nav-menu, .header-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }

    /* Collapse Policy Funds layout early to avoid desktop sidebar squeezing on tablets */
    .funds-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .funds-sidebar {
        position: relative;
        top: 0;
        padding: 8px;
    }
    
    .funds-tab-list {
        flex-direction: row;
        overflow-x: auto;
        gap: 8px;
        scrollbar-width: none; /* Firefox */
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }
    
    .funds-tab-list::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
    }
    
    .funds-tab-btn {
        padding: 10px 16px;
        white-space: nowrap;
        border-left: none;
        border-bottom: 2.5px solid transparent;
        text-align: center;
        flex-shrink: 0; /* Prevent buttons from shrinking on mobile */
    }
    
    .funds-tab-btn.active {
        border-bottom-color: var(--royal-blue);
        background-color: transparent;
        color: var(--royal-blue);
    }
    
    /* Make tables stack vertically to prevent overflow and enhance readability */
    .funds-table, 
    .funds-table tbody, 
    .funds-table tr, 
    .funds-table th, 
    .funds-table td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box;
    }
    
    .funds-table tr {
        margin-bottom: 16px;
        border: 1px solid rgba(27, 58, 143, 0.08);
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(13, 37, 96, 0.01);
    }
    
    .funds-table th {
        background-color: var(--crystal-white);
        color: var(--navy-deep);
        font-weight: 700;
        padding: 10px 14px;
        border: none;
        border-bottom: 1px solid rgba(27, 58, 143, 0.06);
    }
    
    .funds-table td {
        padding: 12px 14px;
        border: none;
        line-height: 1.6;
    }
}

/* Mobile Large (max-width: 768px) */
@media (max-width: 768px) {
    /* Mobile image and padding adjustments to prevent cutting off and improve readability */
    .director-image-box {
        height: 360px !important;
    }
    
    .about-image-wrap {
        height: 200px !important;
    }
    
    .subpage-hero {
        padding: 100px 0 40px !important;
    }
    
    .hero-section {
        padding-top: calc(var(--header-height) + 40px);
        min-height: 100vh;
    }
    
    .hero-headline {
        font-size: 32px;
    }
    
    .hero-subcopy {
        font-size: 15px;
        margin-bottom: 32px;
    }
    
    .hero-cta-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 16px;
    }
    
    .hero-buttons-flex {
        flex-direction: column;
        width: 100%;
        gap: 16px;
        align-items: center;
    }
    
    .hero-btn-col {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .btn-spacer {
        display: none;
    }
    
    .hero-badge-wrap {
        margin-bottom: 6px;
        height: auto;
    }
    
    .hero-buttons-flex .btn {
        width: 100%;
        max-width: 320px;
    }
    
    .btn-group {
        width: 100%;
        max-width: 320px;
    }
    
    .secondary-group {
        align-items: center;
    }
    
    .btn-badge {
        align-self: center;
    }
    
    .btn {
        width: 100%;
    }
    
    .checklist-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .process-flow {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .process-step {
        padding: 24px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .company-details {
        flex-direction: column;
        gap: 8px;
    }
    
    .section-padding {
        padding: 45px 0;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Mobile Small (max-width: 480px) */
@media (max-width: 480px) {
    /* Shrink logo and logo text to fit small mobile screens alongside the hamburger menu */
    .logo-text {
        font-size: 16px !important;
    }
    .logo-img {
        height: 30px !important;
    }

    .section-title {
        font-size: 26px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .about-counters {
        flex-direction: column;
        gap: 16px;
    }
    
    .counter-number {
        font-size: 40px;
    }
    
    .contact-info-card {
        padding: 32px 20px;
    }
    
    .contact-form-wrapper {
        padding: 40px 20px;
    }
    
    .form-sub {
        margin-bottom: 30px;
    }
    
    .accordion-trigger {
        padding: 18px 20px;
    }
    
    .accordion-inner {
        padding: 0 20px 20px 40px;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-grid {
        grid-template-columns: 1fr;
    }
    
    .subpage-hero-title {
        font-size: 30px;
    }
}

/* ==========================================================================
   Premium Video Background & Stock Photo Styles
   ========================================================================== */
.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    object-fit: cover;
    opacity: 0.35; /* Blends nicely with deep navy theme */
}

/* Override Hero Overlay gradient to let video pass through, but darkened for contrast */
.hero-bg-overlay {
    background-image: 
        radial-gradient(circle at 80% 30%, rgba(37, 99, 235, 0.32) 0%, transparent 60%),
        linear-gradient(135deg, rgba(14, 29, 59, 0.93) 0%, rgba(9, 18, 41, 0.96) 100%) !important;
}

/* Service Cards Image Wrap Integration */
.services-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px 24px !important;
}

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

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr !important;
    }
}

.service-card {
    padding: 0 !important;
    overflow: hidden;
    border-radius: 6px !important;
    display: flex;
    flex-direction: column;
}

.service-card-img-wrap {
    width: 100%;
    height: 150px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(200, 208, 224, 0.3);
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.service-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-content .service-icon {
    margin-bottom: 16px !important;
    width: 44px;
    height: 44px;
}

.service-card-content .service-title {
    font-size: 18px;
    margin-bottom: 8px;
}

.service-card-content .service-desc {
    font-size: 13.5px;
    line-height: 1.55;
    margin-bottom: 16px;
    flex-grow: 1;
}

/* Subpage Tab Images Wrapper */
.funds-image-wrap {
    width: 100%;
    height: 260px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid rgba(200, 208, 224, 0.4);
    box-shadow: 0 10px 30px rgba(13, 27, 42, 0.05);
}

.funds-detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Cinematic Scroll Reveals & Interactive Physics
   ========================================================================== */
.reveal-cinematic {
    opacity: 0;
    transform: translateY(60px) scale(0.96) rotate(-1deg);
    transform-origin: center;
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.25, 1), 
                transform 1.2s cubic-bezier(0.25, 1, 0.25, 1);
    will-change: opacity, transform;
}

.reveal-cinematic.active {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
}

/* 3D Card Tilt Base Styles */
.service-card, .cert-card, .philosophy-card {
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg) scale(1);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.2, 1), 
                box-shadow 0.3s ease, 
                border-color 0.3s ease;
    will-change: transform;
}

/* Scrollytelling Paragraph & Word Highlights */
.scrolly-paragraph {
    display: inline;
}

.scrolly-word {
    display: inline-block;
    color: rgba(255, 255, 255, 0.25); /* default cinematic opacity */
    transition: color 0.5s cubic-bezier(0.25, 1, 0.2, 1);
    margin-right: 0.22em;
    will-change: color;
}

.scrolly-word.highlighted {
    color: var(--white);
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

.about-text-content .scrolly-word.highlighted strong {
    color: var(--gold);
    text-shadow: 0 0 12px rgba(226, 182, 62, 0.25);
}

/* Light section scrollytelling overrides */
.light-section-scrolly .scrolly-word {
    color: rgba(14, 29, 59, 0.22);
}

.light-section-scrolly .scrolly-word.highlighted {
    color: var(--navy-dark);
}

.light-section-scrolly .scrolly-word.highlighted strong {
    color: var(--royal-blue);
}

/* ==========================================================================
   12. AI Warp Tunnel Styling
   ========================================================================== */
.three-canvas {
    position: fixed; /* Fixed globally in viewport background */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2; /* Sits behind text content but on top of background video & overlay */
    pointer-events: none;
    opacity: 0.4;
    will-change: opacity;
}

/* ==========================================================================
   13. Global 3D WebGL Background & Transparent Sections (Homepage Only)
   ========================================================================== */
html.home-snap body {
    background-color: var(--navy-dark);
}

/* Harmonized Dark Blue Glassmorphism Theme across all homepage sections to let the WebGL 3D particles shine through completely */
html.home-snap .services-section {
    background-color: rgba(14, 29, 59, 0.85) !important;
    position: relative;
    z-index: 2;
}

html.home-snap .certifications-section {
    background-color: rgba(10, 18, 38, 0.88) !important;
    position: relative;
    z-index: 2;
}

html.home-snap .about-section {
    background-color: rgba(14, 29, 59, 0.82) !important;
    position: relative;
    z-index: 2;
}

html.home-snap .checklist-section {
    background-color: rgba(10, 18, 38, 0.88) !important;
    position: relative;
    z-index: 2;
}

html.home-snap .process-section {
    background-color: rgba(14, 29, 59, 0.85) !important;
    position: relative;
    z-index: 2;
}

html.home-snap .site-footer {
    background-color: rgba(8, 14, 30, 0.96) !important;
    position: relative;
    z-index: 2;
}

/* Dark Theme Text and Card Adaptations on Homepage */
html.home-snap .section-title {
    color: var(--white) !important;
}

html.home-snap .section-subtitle {
    color: var(--blue-white) !important;
}

/* Glassmorphic cards for dark blue space context */
html.home-snap .service-card,
html.home-snap .cert-card,
html.home-snap .process-step,
html.home-snap .checklist-item {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

html.home-snap .service-title,
html.home-snap .cert-title,
html.home-snap .step-title,
html.home-snap .check-text,
html.home-snap .checklist-cta-text,
html.home-snap .checklist-cta-text strong {
    color: var(--white) !important;
}

html.home-snap .service-desc,
html.home-snap .cert-bullets li,
html.home-snap .step-desc,
html.home-snap .step-sub {
    color: var(--blue-white) !important;
}

html.home-snap .checklist-cta {
    background-color: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

html.home-snap .check-icon {
    background-color: rgba(226, 182, 62, 0.15) !important;
}

html.home-snap .service-icon {
    background-color: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

html.home-snap .card-line {
    background-color: rgba(37, 99, 235, 0.25) !important;
}

html.home-snap .service-card:hover .card-line {
    background-color: var(--royal-blue) !important;
}

/* ==========================================================================
   14. Subpage Premium Grid Background & Section Accent Line
   ========================================================================== */
.subpage-grid-bg {
    background-image: 
        linear-gradient(to right, rgba(13, 37, 96, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(13, 37, 96, 0.02) 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: center top;
}

.section-accent-line {
    border-top: 1px solid rgba(200, 208, 224, 0.35);
    position: relative;
}

.section-accent-line::before {
    content: '';
    position: absolute;
    top: -1.5px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
    border-radius: 20px;
}

/* ==========================================================================
   15. Real-Time Alert Ticker Styles
   ========================================================================== */
.policy-ticker-wrapper {
    width: 100%;
    background: linear-gradient(90deg, #091229 0%, #0d2560 50%, #091229 100%);
    border-bottom: 1px solid rgba(56, 189, 248, 0.2);
    height: 44px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    overflow: hidden;
    font-family: 'Pretendard', sans-serif;
}

.ticker-badge {
    background: var(--gold);
    color: var(--navy-dark);
    font-weight: 800;
    font-size: 12px;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    position: relative;
    z-index: 12;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.3px;
}

.ticker-badge::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid var(--gold);
    z-index: 13;
}

.ticker-container {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    height: 100%;
}

.ticker-track {
    display: flex;
    white-space: nowrap;
    animation: ticker-scroll 35s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-item {
    padding-left: 40px;
    font-size: 13.5px;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ticker-bullet {
    color: var(--gold);
    font-size: 10px;
    animation: ticker-glow 1.5s ease-in-out infinite alternate;
}

.ticker-item strong {
    color: var(--gold);
}

@keyframes ticker-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes ticker-glow {
    0% {
        text-shadow: 0 0 2px var(--gold);
        opacity: 0.6;
    }
    100% {
        text-shadow: 0 0 8px var(--gold);
        opacity: 1;
    }
}

/* Ticker responsiveness */
@media (max-width: 1024px) {
    .policy-ticker-wrapper {
        height: 38px;
    }
    .ticker-badge {
        font-size: 11px;
        padding: 0 10px;
    }
    .ticker-item {
        font-size: 12px;
        padding-left: 24px;
    }
}

/* ==========================================================================
   16. Interactive Fund Diagnostic Widget Styles
   ========================================================================== */
.diagnostic-widget-container {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(13, 37, 96, 0.06);
    padding: 36px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.diagnostic-header {
    text-align: center;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(200, 208, 224, 0.3);
    padding-bottom: 20px;
}

.diagnostic-title {
    font-size: 22px;
    color: var(--navy-deep);
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.diagnostic-title svg {
    color: var(--gold);
}

.diagnostic-subtitle {
    font-size: 14px;
    color: #64748B;
    line-height: 1.5;
}

/* Progress bar */
.diag-progress-bar-wrap {
    width: 100%;
    height: 6px;
    background: #E2E8F0;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.diag-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--royal-blue), var(--gold));
    width: 20%;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Diagnostic Steps */
.diag-step-panel {
    display: none;
    animation: diag-fade-in 0.4s ease-out forwards;
}

.diag-step-panel.active {
    display: block;
}

.diag-question {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy-deep);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Option Buttons */
.diag-options-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 28px;
}

.diag-option-btn {
    background: var(--white);
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.diag-option-btn:hover {
    border-color: var(--gold);
    background: rgba(56, 189, 248, 0.04);
}

.diag-option-btn.selected {
    border-color: var(--royal-blue);
    background: rgba(37, 99, 235, 0.05);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.diag-radio-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #CBD5E1;
    position: relative;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.diag-option-btn.selected .diag-radio-dot {
    border-color: var(--royal-blue);
}

.diag-option-btn.selected .diag-radio-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: var(--royal-blue);
    border-radius: 50%;
}

/* Action Buttons */
.diag-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
}

.diag-back-btn {
    padding: 12px 24px;
    background: #F1F5F9;
    color: #475569;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.diag-back-btn:hover {
    background: #E2E8F0;
}

.diag-next-btn {
    padding: 12px 28px;
    background: var(--royal-blue);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.diag-next-btn:hover {
    background: #1D4ED8;
}

.diag-next-btn:disabled {
    background: #CBD5E1;
    color: #94A3B8;
    cursor: not-allowed;
}

/* Result Screen */
.diag-result-screen {
    text-align: center;
    display: none;
    animation: diag-fade-in 0.5s ease-out forwards;
}

.diag-result-screen.active {
    display: block;
}

.diag-gauge-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diag-gauge-svg {
    transform: rotate(-90deg);
}

.diag-gauge-bg {
    fill: none;
    stroke: #E2E8F0;
    stroke-width: 10;
}

.diag-gauge-fill {
    fill: none;
    stroke: var(--royal-blue);
    stroke-width: 10;
    stroke-dasharray: 439.8;
    stroke-dashoffset: 439.8; /* fully hidden initially */
    stroke-linecap: round;
    transition: stroke-dashoffset 1.5s cubic-bezier(0.1, 1, 0.1, 1);
}

.diag-gauge-text {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.diag-score-num {
    font-size: 38px;
    font-weight: 800;
    color: var(--navy-deep);
    line-height: 1;
}

.diag-score-pct {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-deep);
}

.diag-score-lbl {
    font-size: 12px;
    color: #64748B;
    margin-top: 4px;
}

.diag-grade-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 20px;
}

.diag-grade-high {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.diag-grade-medium {
    background: rgba(245, 158, 11, 0.1);
    color: #D97706;
}

.diag-grade-low {
    background: rgba(239, 68, 68, 0.1);
    color: #DC2626;
}

.diag-result-feedback {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 28px;
    text-align: left;
    font-size: 14.5px;
    color: #334155;
    line-height: 1.6;
}

.diag-result-feedback h5 {
    color: var(--navy-deep);
    font-size: 15px;
    margin-bottom: 8px;
}

.diag-cta-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--gold) 100%);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.15);
    transition: var(--transition-smooth);
}

.diag-cta-btn:hover {
    box-shadow: 0 15px 25px rgba(37, 99, 235, 0.25);
    transform: translateY(-2px);
}

@keyframes diag-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .diagnostic-widget-container {
        padding: 24px;
    }
    .diagnostic-title {
        font-size: 18px;
    }
    .diag-question {
        font-size: 15px;
    }
    .diag-option-btn {
        padding: 14px 16px;
        font-size: 13.5px;
    }
}

/* ==========================================================================
   17. Ticker Page-Specific Header Adjustments & Overrides
   ========================================================================== */
html.home-snap .site-header {
    top: 44px;
}

/* Adjust mobile drawer transition start point */
html.home-snap .mobile-drawer {
    z-index: 1002; /* ensure drawer is above ticker */
}

@media (max-width: 1024px) {
    html.home-snap .site-header {
        top: 38px;
    }
    
    .hero-section {
        padding-top: calc(var(--header-height) + 38px + 40px) !important;
    }
}

/* ==========================================================================
   18. Success Cases Feed & Report Preview Card & Select Dropdown Styles
   ========================================================================== */
/* Live Success Cases Feed */
.success-cases-section {
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.success-feed-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
    mask-image: linear-gradient(to right, transparent, white 10%, white 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, white 10%, white 90%, transparent);
}

.success-feed-track {
    display: flex;
    white-space: nowrap;
    gap: 30px;
    animation: success-scroll 45s linear infinite;
}

.success-feed-track:hover {
    animation-play-state: paused;
}

.success-feed-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(13, 37, 96, 0.03);
    transition: var(--transition-fast);
}

.success-feed-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.08);
    border-color: var(--royal-blue);
}

.success-badge {
    background: rgba(37, 99, 235, 0.08);
    color: var(--royal-blue);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
}

.success-badge.tech {
    background: rgba(6, 182, 212, 0.08);
    color: var(--gold);
}

.success-badge.service {
    background: rgba(245, 158, 11, 0.08);
    color: #D97706;
}

.success-badge.retail {
    background: rgba(16, 185, 129, 0.08);
    color: #059669;
}

.success-loc {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--navy-deep);
}

.success-fund {
    font-size: 13px;
    color: #64748B;
}

.success-amount {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--royal-blue);
}

@keyframes success-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Diagnostic Two Column Grid */
.diag-widget-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: start;
}

@media (min-width: 992px) {
    .diag-widget-grid {
        grid-template-columns: 1fr 350px;
    }
}

.diag-left-col {
    width: 100%;
}

.diag-right-col {
    width: 100%;
}

/* AI Report Mock Card */
.diag-mock-card {
    background: linear-gradient(135deg, #091229 0%, #0d2560 100%);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 16px;
    padding: 24px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(9, 18, 41, 0.2);
}

.mock-card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.mock-card-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 16px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.mock-card-tag {
    font-size: 10px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 6px;
}

.mock-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
}

.mock-card-body {
    position: relative;
    z-index: 2;
}

.mock-report-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 700;
    color: var(--blue-white);
    text-align: center;
    margin-bottom: 20px;
}

.mock-card-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.mock-card-features li {
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--blue-white);
    display: flex;
    gap: 8px;
}

.mock-check {
    color: var(--gold);
    font-weight: 800;
}

.mock-card-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
}

.mock-doc-visual {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.mock-doc-page {
    width: 38px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    position: relative;
    transition: var(--transition-fast);
}

.mock-doc-page::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 6px;
    width: 60%;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 4px 0 rgba(255, 255, 255, 0.3),
        0 8px 0 rgba(255, 255, 255, 0.3),
        0 12px 0 rgba(255, 255, 255, 0.3);
}

.mock-doc-page.p1 {
    transform: rotate(-5deg) translateY(4px);
    z-index: 2;
}
.mock-doc-page.p2 {
    z-index: 3;
    border-color: var(--gold);
    background: rgba(56, 189, 248, 0.08);
}
.mock-doc-page.p2::after {
    background: var(--gold);
    box-shadow: 
        0 4px 0 var(--gold),
        0 8px 0 var(--gold),
        0 12px 0 rgba(255, 255, 255, 0.3);
}
.mock-doc-page.p3 {
    transform: rotate(5deg) translateY(4px);
    z-index: 1;
}

.diag-mock-card:hover .mock-doc-page.p1 {
    transform: rotate(-12deg) translate(-4px, 2px);
}
.diag-mock-card:hover .mock-doc-page.p3 {
    transform: rotate(12deg) translate(4px, 2px);
}

.mock-card-notice {
    font-size: 11px;
    color: #94A3B8;
    line-height: 1.4;
    text-align: center;
}

/* Select Input Dropdown Integration */
.form-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%2338BDF8' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 36px !important;
    color: var(--text-dark);
}

.form-select:invalid {
    color: #94A3B8;
}

.form-select option {
    color: var(--text-dark);
    background-color: var(--white);
}

/* Float Label extension for valid selects */
.form-select:valid ~ .form-label {
    top: -10px;
    font-size: 12px;
    color: var(--gold);
}

/* ==========================================================================
   19. Success Cases (Portfolio) & Compliance Center Pages Styles
   ========================================================================== */
/* Portfolio Tabs */
.portfolio-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.port-tab-btn {
    background: var(--crystal-white);
    border: 1px solid var(--border-color);
    color: var(--navy-deep);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.port-tab-btn:hover, .port-tab-btn.active {
    background: var(--royal-blue);
    color: var(--white);
    border-color: var(--royal-blue);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.15);
}

/* Portfolio Cards Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.port-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(13, 37, 96, 0.02);
    transition: var(--transition-smooth);
}

.port-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(13, 37, 96, 0.08);
    border-color: var(--royal-blue);
}

.port-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(200, 208, 224, 0.3);
    padding-bottom: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.port-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.port-badge {
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
}

.port-badge.manuf {
    background: rgba(37, 99, 235, 0.08);
    color: var(--royal-blue);
}

.port-badge.tech {
    background: rgba(6, 182, 212, 0.08);
    color: var(--gold);
}

.port-badge.retail {
    background: rgba(16, 185, 129, 0.08);
    color: #059669;
}

.port-badge.rnd {
    background: rgba(245, 158, 11, 0.08);
    color: #D97706;
}

.port-badge.rehab {
    background: rgba(239, 68, 68, 0.08);
    color: #ef4444;
}

.port-region {
    font-size: 12.5px;
    color: #64748B;
    font-weight: 600;
}

.port-result-metric {
    font-size: 18px;
    font-weight: 800;
    color: var(--royal-blue);
    background: rgba(37, 99, 235, 0.05);
    padding: 6px 16px;
    border-radius: 30px;
    border: 1px dashed rgba(37, 99, 235, 0.3);
}

.port-case-title {
    font-size: 18px;
    color: var(--navy-deep);
    margin-bottom: 24px;
    font-weight: 700;
}

.port-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .port-content-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.port-info-box {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 20px;
}

.port-info-box h4 {
    font-size: 13.5px;
    margin-bottom: 10px;
    font-weight: 800;
}

.port-info-box.challenge h4 {
    color: #E11D48;
}

.port-info-box.solution h4 {
    color: var(--royal-blue);
}

.port-info-box p {
    font-size: 13.5px;
    color: #334155;
    line-height: 1.6;
}

.port-footer {
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
    color: #64748B;
    border-top: 1px solid rgba(200, 208, 224, 0.3);
    padding-top: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.port-footer strong {
    color: var(--navy-deep);
}

/* Compliance Center Page */
.compliance-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
}

.compliance-shield-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 50%;
    margin-bottom: 24px;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.05);
}

.compliance-intro h2 {
    font-size: 24px;
    color: var(--navy-deep);
    margin-bottom: 16px;
    font-weight: 700;
}

.compliance-intro p {
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
}

.compliance-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 50px;
}

@media (min-width: 768px) {
    .compliance-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.comp-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(13, 37, 96, 0.02);
    position: relative;
    transition: var(--transition-fast);
}

.comp-card:hover {
    border-color: var(--royal-blue);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.05);
}

.comp-num {
    font-size: 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: rgba(37, 99, 235, 0.15);
    margin-bottom: 14px;
}

.comp-title {
    font-size: 16.5px;
    color: var(--navy-deep);
    margin-bottom: 12px;
    font-weight: 700;
}

.comp-desc {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.7;
}

.ethics-banner {
    background: linear-gradient(135deg, #091229 0%, #0d2560 100%);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 16px;
    padding: 40px;
    color: var(--white);
    text-align: center;
    box-shadow: 0 15px 35px rgba(9, 18, 41, 0.15);
}

.ethics-badge {
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 30px;
    margin-bottom: 16px;
}

.ethics-banner h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 700;
}

.ethics-banner p {
    color: var(--blue-white);
    font-size: 14px;
    max-width: 620px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

/* ==========================================================================
   20. Director Profile & Greeting Section Styles
   ========================================================================== */
.director-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

@media (min-width: 992px) {
    .director-grid {
        grid-template-columns: 350px 1fr;
        gap: 60px;
    }
}

.director-image-box {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(13, 37, 96, 0.12);
    border: 1px solid rgba(200, 208, 224, 0.4);
    height: 480px;
    width: 100%;
}

.director-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.director-img-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--royal-blue), var(--gold));
}

.director-greeting-box {
    display: flex;
    flex-direction: column;
}

.director-section-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--navy-deep);
    line-height: 1.4;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

@media (min-width: 768px) {
    .director-section-title {
        font-size: 30px;
    }
}

.director-message {
    color: #475569;
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 32px;
}

.director-message p {
    margin-bottom: 16px;
}

.director-message p:last-child {
    margin-bottom: 0;
}

.director-profile-card {
    background: linear-gradient(135deg, #091229 0%, #0d2560 100%);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 14px;
    padding: 28px;
    color: var(--white);
    box-shadow: 0 10px 25px rgba(9, 18, 41, 0.15);
}

.director-name-title {
    display: flex;
    align-items: baseline;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.director-name-title .d-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.director-name-title .d-title {
    font-size: 13.5px;
    color: var(--gold);
    font-weight: 700;
}

.director-career-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.director-career-list li {
    font-size: 13.5px;
    color: var(--blue-white);
    line-height: 1.6;
    position: relative;
    padding-left: 12px;
}

.director-career-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 800;
}

.director-career-list li span {
    color: var(--white);
    font-weight: 700;
    margin-right: 4px;
}

/* Rehab Featured Cards */
.rehab-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 30px;
}
@media (min-width: 992px) {
    .rehab-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.rehab-card {
    background: var(--white);
    border: 2px solid rgba(239, 68, 68, 0.15);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.02);
    transition: var(--transition-smooth);
    position: relative;
}
.rehab-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.4);
}
.rehab-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(239, 68, 68, 0.1);
    padding-bottom: 18px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}
.rehab-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}
.rehab-badge {
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(239, 68, 68, 0.08);
    color: #ef4444;
}
.rehab-region {
    font-size: 12.5px;
    color: #64748B;
    font-weight: 600;
}
.rehab-result-metric {
    font-size: 17px;
    font-weight: 800;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
    padding: 6px 16px;
    border-radius: 30px;
    border: 1px dashed rgba(239, 68, 68, 0.3);
}
.rehab-case-title {
    font-size: 18px;
    color: var(--navy-deep);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.5;
}
.rehab-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 20px;
}
@media (min-width: 768px) {
    .rehab-content-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.rehab-info-box {
    background: #FDFEFE;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 18px;
}
.rehab-info-box.challenge {
    border-left: 4px solid #ef4444;
    background: rgba(239, 68, 68, 0.01);
}
.rehab-info-box.solution {
    border-left: 4px solid var(--royal-blue);
    background: rgba(37, 99, 235, 0.01);
}
.rehab-info-box h4 {
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 800;
}
.rehab-info-box.challenge h4 {
    color: #ef4444;
}
.rehab-info-box.solution h4 {
    color: var(--royal-blue);
}
.rehab-info-box p {
    font-size: 13px;
    color: #334155;
    line-height: 1.6;
}
.rehab-footer {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #64748B;
    border-top: 1px solid rgba(200, 208, 224, 0.3);
    padding-top: 16px;
    flex-wrap: wrap;
    gap: 12px;
}
.rehab-footer strong {
    color: var(--navy-deep);
}

/* ==========================================================================
   Company & Contact Responsive Grid Overrides
   ========================================================================== */
.company-about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}
.company-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.contact-transit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .company-about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .company-services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .contact-transit-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
