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

.hidden {
    display: none !important;
}

:root {
    --primary-color: #4285F4;
    --red-color: #EA4335;
    --yellow-color: #FBBC05;
    --green-color: #34A853;
    --bg-color: #f8faff;
    --card-bg: rgba(255, 255, 255, 0.8);
    --text-main: #202124;
    --text-muted: #5f6368;
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius-lg: 24px;
    --radius-md: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Outfit', 'Noto Sans KR', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

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

/* Background Decorations */
.background-blob {
    position: fixed;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(66, 133, 244, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    filter: blur(50px);
}

.background-blob-2 {
    position: fixed;
    bottom: -100px;
    left: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(234, 67, 53, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    filter: blur(60px);
}

/* Header & Search */
header {
    padding: 40px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(248, 250, 255, 0.8);
    backdrop-filter: blur(20px);
}

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

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.logo-area:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.disclaimer-badge {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.05);
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 15px;
    background: rgba(255, 255, 255, 0.5);
    padding: 2px 10px;
    border-radius: 100px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.lang-divider {
    color: #ccc;
    font-size: 0.7rem;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: var(--transition);
    padding: 4px 2px;
}

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

.lang-btn.active {
    color: var(--primary-color);
    position: relative;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.logo-text .accent {
    background: linear-gradient(135deg, var(--primary-color), var(--green-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.search-container {
    flex: 1;
    display: flex;
    gap: 12px;
}

.controls-row {
    display: flex;
    gap: 12px;
}

/* Main Navigation */
.main-nav {
    display: flex;
    background: rgba(0, 0, 0, 0.05);
    padding: 5px;
    border-radius: 100px;
    margin: 0 20px;
}

.nav-btn {
    border: none;
    background: transparent;
    padding: 8px 20px;
    border-radius: 100px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition);
    text-decoration: none;
}

.nav-btn.active {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.2);
}

/* Blog Post View Style */
.blog-post-view {
    max-width: 900px;
    margin: 0 auto 100px;
    animation: fadeInUp 0.6s ease;
}

.blog-view-header {
    padding: 30px 0;
    position: sticky;
    top: 120px;
    z-index: 90;
    pointer-events: none;
}

.back-btn {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 12px 25px;
    height: 50px;
    border: 2px solid #eef2ff;
    color: #202124;
    /* Explicit dark color */
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    font-family: inherit;
    border-radius: 100px;
}

.back-btn svg {
    width: 20px;
    height: 20px;
    stroke: #202124;
    transition: transform 0.3s ease, stroke 0.3s ease;
}

.back-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.3);
    color: white;
}

.back-btn:hover svg {
    transform: translateX(-5px);
    stroke: white;
}

.search-wrapper {
    flex: 1;
    position: relative;
    background: white;
    border-radius: 100px;
    padding: 5px 20px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.sort-container,
.view-controls {
    background: white;
    border-radius: 100px;
    padding: 5px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.view-controls {
    padding: 5px 10px;
    gap: 5px;
}

.view-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-muted);
    transition: var(--transition);
}

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

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

.view-btn svg {
    width: 18px;
    height: 18px;
}

#sortSelect {
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
    cursor: pointer;
    padding: 8px 5px;
}

.search-wrapper:focus-within {
    box-shadow: 0 10px 40px rgba(66, 133, 244, 0.15);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.search-icon {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    margin-right: 12px;
}

#searchInput {
    border: none;
    outline: none;
    padding: 12px 0;
    width: 100%;
    font-size: 1rem;
    background: transparent;
    font-family: inherit;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 0 40px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, #4285F4, #34A853, #FBBC05, #EA4335);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
}

.last-updated {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-actions {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.hero-btn {
    padding: 12px 30px;
    border-radius: 100px;
    font-family: inherit;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
}

.hero-btn.secondary {
    background: white;
    color: var(--text-main);
    border: 2px solid #eef2ff;
    box-shadow: var(--shadow-sm);
}

.hero-btn.secondary:hover {
    background: #f0f4ff;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}



/* Filters */
.filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 40px 0;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 100px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: white;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    font-family: inherit;
}

.filter-btn:hover {
    background: #f0f4ff;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--text-main);
    color: white;
    border-color: var(--text-main);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 20px;
    transition: var(--transition);
}

.filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}


/* Services Grid */
/* Services Grid & List View */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 80px;
    transition: all 0.5s ease;
}

.services-grid.list-view {
    grid-template-columns: 1fr;
}


.service-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.new-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #FF5252 0%, #FF1744 100%);
    color: white;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 3px 10px;
    border-bottom-left-radius: 12px;
    z-index: 5;
    box-shadow: -2px 2px 10px rgba(255, 23, 68, 0.2);
    letter-spacing: 0.5px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--card-color, var(--primary-color));
    opacity: 0.8;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.card-icon {
    font-size: 1.8rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f4ff;
    border-radius: 12px;
    transition: var(--transition);
    flex-shrink: 0;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-md);
    background: white;
}

/* Services Grid.list-view refinements */
.services-grid.list-view .service-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 20px 25px;
    gap: 30px;
    border-radius: var(--radius-md);
}

.services-grid.list-view .card-icon {
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    min-width: 44px;
}

.services-grid.list-view .card-header {
    flex: 0 0 250px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.services-grid.list-view .card-header h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.services-grid.list-view .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
    border: none;
}

.services-grid.list-view .card-content p {
    font-size: 0.85rem;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.services-grid.list-view .card-top-info {
    order: 2;
    margin-bottom: 0;
    flex-direction: row;
    gap: 8px;
    flex: 0 0 160px;
    justify-content: flex-end;
}

.services-grid.list-view .card-meta,
.services-grid.list-view .card-link {
    display: none;
}

.hidden {
    display: none !important;
}

.service-card:hover .card-icon {
    transform: rotate(10deg);
}

.card-top-info {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
    background: #f0f4ff;
    padding: 4px 10px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.card-scope {
    font-size: 0.65rem;
    font-weight: 700;
    background: #e1f5fe;
    color: #039be5;
    padding: 3px 8px;
    border-radius: 4px;
}

.card-pricing {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.card-pricing.free {
    background: #e6f4ea;
    color: #1e8e3e;
}

.card-pricing.paid {
    background: #fef7e0;
    color: #b06000;
}


/* Card Meta */

.card-meta {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    gap: 15px;
}

.meta-item {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.3;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    flex-grow: 1;
}

.card-link {
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.85rem;
}

.card-link svg {
    width: 16px;
    height: 16px;
    margin-left: 6px;
    transition: var(--transition);
}

.service-card:hover .card-link svg {
    transform: translateX(4px);
}

/* Mind Map View */
.mindmap-container {
    padding: 60px 0 120px;
    overflow-x: auto;
    min-height: 600px;
    display: flex;
    justify-content: center;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
}

.mindmap-container::-webkit-scrollbar {
    height: 6px;
}

.mindmap-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.mindmap-container.hidden {
    display: none !important;
}

.mindmap-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    padding: 40px;
    gap: 120px;
    margin: 0 auto;
    min-width: max-content;
}

.mindmap-root {
    background: var(--text-main);
    color: white;
    padding: 25px 50px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1.6rem;
    white-space: nowrap;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

.mindmap-branches {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
}

.mindmap-branch-item {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    animation: fadeInRight 0.5s ease forwards;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.category-node {
    background: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--branch-color, var(--primary-color));
    white-space: nowrap;
    z-index: 2;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-main);
}

.category-node:hover {
    transform: scale(1.1) translateY(-5px);
    background: var(--branch-color);
    color: white;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-nodes {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 180px;
}

.service-node {
    background: white;
    padding: 10px 20px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid rgba(0, 0, 0, 0.05);
    white-space: nowrap;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-node:hover {
    transform: translateX(15px) scale(1.05);
    box-shadow: var(--shadow-md);
    border-color: var(--branch-color);
}

.service-node span {
    font-size: 1.2rem;
}

/* Connectors */
.mindmap-branch-item::before {
    content: '';
    position: absolute;
    left: -120px;
    top: 50%;
    width: 120px;
    height: 3px;
    background: linear-gradient(to right, #ccc, var(--branch-color));
    z-index: 1;
}

.service-nodes::before {
    content: '';
    position: absolute;
    left: -60px;
    top: 50%;
    width: 60px;
    height: 3px;
    background: var(--branch-color);
    opacity: 0.5;
    z-index: 1;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 0;
}

.no-results.hidden {
    display: none !important;
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.3;
}

/* Footer */
footer {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-muted);
}

.disclaimer-text {
    font-size: 0.85rem;
    margin-bottom: 12px;
    opacity: 0.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media (max-width: 1024px) {
    .search-container {
        flex: 0 0 500px;
    }
}

/* Blog Section & View Modes */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    transition: all 0.5s ease;
}

.blog-grid.list-view {
    grid-template-columns: 1fr;
    gap: 15px;
}

.blog-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Blog List View Refinements */
.blog-grid.list-view .blog-card {
    flex-direction: row;
    align-items: center;
    padding: 12px 20px;
    gap: 20px;
    border-radius: var(--radius-md);
}

.blog-grid.list-view .blog-image-wrapper {
    width: 150px;
    height: 100px;
    min-width: 150px;
    border-radius: var(--radius-sm);
}

.blog-grid.list-view .blog-info {
    padding: 0;
    flex: 1;
}

.blog-grid.list-view .blog-info h3 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.blog-grid.list-view .blog-info p {
    font-size: 0.9rem;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    margin-bottom: 4px;
}

.blog-grid.list-view .blog-footer {
    padding-top: 5px;
    margin-top: 5px;
}

.blog-grid.list-view .read-more {
    display: none;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.blog-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

.blog-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.blog-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.blog-info h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-author {
    font-size: 0.85rem;
    font-weight: 600;
}

.read-more {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: var(--transition);
}

.modal.hidden {
    display: none !important;
}

.modal-content {
    background: white;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    position: relative;
    overflow-y: auto;
    padding: 40px;
    box-shadow: var(--shadow-md);
    animation: modalSlideUp 0.4s ease;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

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

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f0f4ff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-modal:hover {
    background: var(--red-color);
    color: white;
}

#modalBody img {
    width: 100%;
    border-radius: var(--radius-md);
    margin-bottom: 25px;
}

#modalBody h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.modal-meta {
    display: flex;
    gap: 15px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.modal-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
}

/* Blog Full Post Styles */
/* --- Blog Enhancements (SEO) --- */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb strong {
    color: var(--text-main);
    font-weight: 600;
}

.post-full-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
}

.post-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.post-meta {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.post-content {
    font-size: 1.15rem;
    line-height: 1.8;
}

.post-content h3 {
    font-size: 1.8rem;
    margin: 50px 0 20px;
}

.post-content h4 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content hr {
    margin: 40px 0;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.post-tags {
    margin-top: 60px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.post-related-services {
    margin-top: 80px;
    padding: 40px;
    background: #f0f4ff;
    border-radius: var(--radius-lg);
}

.post-related-services h4 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Header transition improvement */
header {
    transition: all 0.3s ease;
}

/* Related Services in Modal */
.modal-related-services {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px dashed rgba(0, 0, 0, 0.05);
}

.modal-related-services h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.related-service-mini-card {
    background: #f8faff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-md);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.related-service-mini-card:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-color);
}

.mini-card-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.mini-card-info h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
}

.mini-card-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Footer Styles */
footer {
    padding: 60px 0 40px;
    background: #f0f4ff;
    margin-top: 100px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
}

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

.disclaimer-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 20px;
}

footer p:last-child {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0.8;
}

/* Policy Content Styles */
.policy-content {
    text-align: left;
}

.policy-content h3 {
    margin: 30px 0 15px;
    font-size: 1.3rem;
    color: var(--text-main);
}

.policy-content p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.policy-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-content li {
    margin-bottom: 8px;
    color: var(--text-muted);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@media (max-width: 768px) {
    header {
        padding: 10px 0;
        position: relative;
    }

    header .container {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .logo-area {
        justify-content: center;
    }

    .main-nav {
        margin: 0;
        justify-content: center;
    }

    .nav-btn {
        padding: 6px 15px;
        font-size: 0.85rem;
    }

    .search-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 8px;
        flex: none !important;
        height: auto !important;
    }

    .search-wrapper {
        width: 100%;
        padding: 0 15px;
        height: 45px !important;
        min-height: 45px !important;
        max-height: 45px !important;
        flex: none !important;
        display: flex;
        align-items: center;
        background: white;
        border-radius: 100px;
        overflow: hidden;
    }

    .controls-row {
        display: flex;
        gap: 8px;
        width: 100%;
    }

    .view-controls {
        flex: 1;
        justify-content: center;
        height: 45px;
    }

    .sort-container {
        flex: 1;
        justify-content: center;
        height: 45px;
    }

    .hero {
        padding: 10px 15px 10px;
    }

    .hero h1 {
        font-size: 1.8rem;
        word-break: keep-all;
        color: var(--text-main);
        margin-bottom: 8px;
    }

    .hero p {
        font-size: 0.9rem;
        color: var(--text-muted);
        margin-bottom: 15px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
        padding: 0 20px;
    }

    .hero-btn {
        width: 100%;
        padding: 15px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
        color: white;
        border: none;
        box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    }

    .search-wrapper input {
        height: 100% !important;
        padding: 0 !important;
        font-size: 0.9rem !important;
    }

    .filters {
        margin: 20px 0;
        padding: 0 10px;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

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

    .filter-btn {
        padding: 8px 18px;
        flex-shrink: 0;
        font-size: 0.85rem;
    }

    .services-grid,
    .blog-grid {
        gap: 16px;
        padding: 0 15px;
    }

    .services-grid.list-view .card-header {
        flex: none;
        width: auto;
    }

    .services-grid.list-view .card-top-info {
        flex: none;
        width: auto;
        justify-content: flex-start;
    }

    .services-grid.list-view .card-content {
        padding-left: 0;
        border-left: none;
    }

    .service-card {
        padding: 20px;
    }

    .blog-view-header {
        position: relative;
        top: 0;
        padding: 15px 0;
    }

    .back-btn {
        width: 100%;
        justify-content: center;
    }

    .post-title {
        font-size: 1.8rem;
        word-break: keep-all;
    }

    .post-full-image {
        height: 250px;
    }

    .post-meta {
        flex-direction: column;
        gap: 10px;
    }

    .mindmap-wrapper {
        gap: 40px;
        padding: 20px;
    }

    .mindmap-branch-item::before {
        left: -40px;
        width: 40px;
    }
}

/* --- Blog Share Buttons --- */
.share-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.share-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-right: 5px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #eef2ff;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-muted);
}

.share-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.2);
}

.share-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

/* --- Toast Notification --- */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--text-main);
    color: white;
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 1000;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

/* --- Footer Enhancements --- */
.footer-info {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.rss-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ee802f;
    /* RSS Brand Color */
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 12px;
    background: rgba(238, 128, 47, 0.1);
    border-radius: 6px;
    transition: var(--transition);
}

.rss-link:hover {
    background: rgba(238, 128, 47, 0.2);
    transform: scale(1.05);
}

.ccl-info {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    background: rgba(0, 0, 0, 0.03);
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px dashed rgba(0, 0, 0, 0.1);
}

.ccl-info strong {
    color: var(--text-main);
}



/* --- Search Suggestions --- */
.search-wrapper {
    position: relative;
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-md);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding: 8px;
}

.search-suggestions.hidden {
    display: none;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    text-decoration: none;
}

.suggestion-item:hover {
    background: rgba(66, 133, 244, 0.08);
}

.suggestion-icon {
    font-size: 1.2rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.suggestion-info {
    display: flex;
    flex-direction: column;
}

.suggestion-name {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.9rem;
}

.suggestion-category {
    font-size: 0.75rem;
    color: var(--text-muted);
}