/* Design System - ULTRA PREMIUM TECH VERSION */
:root {
    /* Colors - Deep & Trustworthy */
    --primary-navy: #0A2540;
    /* Deeper, richer navy */
    --primary-dark: #051220;
    --accent-blue: #00A0E9;
    --accent-glow: rgba(0, 160, 233, 0.4);
    --highlight-orange: #F39800;

    /* Text Colors */
    --text-main: #1A1F24;
    --text-light: #5A6672;
    --text-white: #FFFFFF;

    /* Backgrounds */
    --bg-body: #F7F9FC;
    --bg-white: #FFFFFF;
    --bg-glass: rgba(255, 255, 255, 0.8);

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #0A2540 0%, #004080 100%);
    --gradient-accent: linear-gradient(135deg, #00A0E9 0%, #0077AA 100%);
    --gradient-shine: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.2) 50%, transparent 60%);

    /* Shadows - Layered for Depth */
    --shadow-xs: 0 2px 4px rgba(10, 37, 64, 0.05);
    --shadow-sm: 0 4px 12px rgba(10, 37, 64, 0.08);
    --shadow-md: 0 12px 32px rgba(10, 37, 64, 0.12);
    --shadow-lg: 0 20px 48px rgba(10, 37, 64, 0.15);
    --shadow-glow: 0 0 20px var(--accent-glow);

    /* Typography */
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-en: 'Outfit', 'Roboto', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 72px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-jp);
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    background-image: radial-gradient(#E1E8ED 1px, transparent 1px);
    background-size: 40px 40px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

pre {
    background: #1a202c;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    overflow-x: auto;
    margin-bottom: 1.5rem;
    font-family: monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    border: 1px solid rgba(255,255,255,0.1);
}

code {
    font-family: monospace;
    background: rgba(0,0,0,0.05);
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-size: 0.9em;
}

pre code {
    background: transparent;
    padding: 0;
}

ul {
    list-style: none;
}

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

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

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

@keyframes shine {
    0% {
        background-position: -100% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 160, 233, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 160, 233, 0);
    }

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-en);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--primary-navy);
    color: var(--text-white);
    border: 1px solid transparent;
    box-shadow: 0 4px 15px rgba(10, 37, 64, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-shine);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 37, 64, 0.4);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-accent {
    background: var(--gradient-accent);
    color: var(--text-white);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 160, 233, 0.3);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 160, 233, 0.5);
    filter: brightness(1.05);
}

/* Header */
.header {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    /* Increased opacity */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-xs);
    /* Added subtle shadow */
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-navy);
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.02em;
}

.logo i {
    color: var(--accent-blue);
    font-size: 1.6rem;
    filter: drop-shadow(0 2px 4px rgba(0, 160, 233, 0.3));
}

.nav-menu {
    display: flex;
    gap: 32px;
    /* Adjusted gap */
    align-items: center;
}

.nav-item a {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
}

.nav-item a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-item a:not(.btn):hover {
    color: var(--accent-blue);
}

.nav-item a:not(.btn):hover::after {
    width: 100%;
}

/* Page Header - Hero Section */
.page-header {
    background: var(--primary-navy);
    padding: calc(var(--header-height) + 60px) 0 80px;
    /* Adjusted padding */
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--text-white);
}

/* Abstract Tech Pattern Background */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(30deg, rgba(255, 255, 255, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.03) 87.5%, rgba(255, 255, 255, 0.03)),
        linear-gradient(150deg, rgba(255, 255, 255, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.03) 87.5%, rgba(255, 255, 255, 0.03)),
        linear-gradient(30deg, rgba(255, 255, 255, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.03) 87.5%, rgba(255, 255, 255, 0.03)),
        linear-gradient(150deg, rgba(255, 255, 255, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.03) 87.5%, rgba(255, 255, 255, 0.03)),
        linear-gradient(60deg, rgba(0, 160, 233, 0.1) 25%, transparent 25.5%, transparent 75%, rgba(0, 160, 233, 0.1) 75%, rgba(0, 160, 233, 0.1));
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0;
    opacity: 0.6;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    /* Reduced height */
    background: linear-gradient(to top, var(--bg-body), transparent);
}

.page-title {
    font-family: var(--font-en);
    font-size: 3rem;
    /* Slightly smaller for better fit */
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
    animation: fadeInUp 0.8s ease-out;
}

.page-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    /* Increased opacity */
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* Main Content Layout */
.main-container {
    display: flex;
    gap: 40px;
    /* Adjusted gap */
    padding: 40px 24px;
    /* Adjusted padding */
    margin-top: -40px;
    /* Adjusted overlap */
    position: relative;
    z-index: 10;
}

.main-container.with-breadcrumbs {
    margin-top: 0;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.sidebar {
    width: 320px;
    /* Slightly narrower sidebar */
    flex-shrink: 0;
}

/* Post Cards - The Star of the Show */
.post-list {
    display: grid;
    gap: 24px;
    /* Adjusted gap */
}

.post-card {
    display: flex;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
}

.post-card:hover {
    transform: translateY(-6px);
    /* Reduced movement */
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 160, 233, 0.2);
}

.post-thumb {
    width: 300px;
    /* Adjusted width */
    min-height: 220px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.post-card:hover .post-thumb img {
    transform: scale(1.08);
    /* Reduced scale */
}

.post-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 70%, rgba(0, 0, 0, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.post-card:hover .post-thumb::after {
    opacity: 1;
}

.post-body {
    flex: 1;
    padding: 24px;
    /* Adjusted padding */
    display: flex;
    flex-direction: column;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--text-light);
    font-family: var(--font-en);
}

.post-date {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-date::before {
    content: '\f017';
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
}

.post-category {
    background: rgba(0, 160, 233, 0.08);
    color: var(--accent-blue);
    padding: 4px 12px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.post-card:hover .post-category {
    background: var(--accent-blue);
    color: white;
}

.post-title {
    font-size: 1.4rem;
    /* Adjusted size */
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.post-title a {
    color: var(--text-main);
    background: linear-gradient(to right, var(--accent-blue), var(--accent-blue)) 0% 100% / 0% 2px no-repeat;
    transition: background-size 0.3s ease, color 0.3s ease;
    padding-bottom: 2px;
}

.post-card:hover .post-title a {
    color: var(--accent-blue);
    background-size: 100% 2px;
}

.post-excerpt {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

/* Sidebar Widgets */
.widget {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 24px;
    /* Adjusted padding */
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-body);
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-blue);
}

.widget-list li {
    border-bottom: 1px solid var(--bg-body);
}

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

.widget-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    color: var(--text-main);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.widget-list a:hover {
    color: var(--accent-blue);
    transform: translateX(4px);
}

.count {
    background: var(--bg-body);
    color: var(--text-light);
    font-size: 0.75rem;
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-family: var(--font-en);
}

/* Footer */
.footer {
    background: var(--primary-navy);
    color: var(--text-white);
    padding: 60px 0 30px;
    /* Adjusted padding */
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-en);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 16px;
    display: block;
    letter-spacing: -0.02em;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-en);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--text-white);
    transform: translateX(4px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-en);
}

/* Single Post Page Styles */
.post-content {
    background: var(--bg-white);
    padding: 40px;
    /* Adjusted padding */
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.single-post-title {
    font-size: 2.2rem;
    /* Adjusted size */
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 24px;
    color: var(--text-main);
}

.post-content h2 {
    font-size: 1.6rem;
    color: var(--primary-navy);
    margin: 40px 0 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-blue);
    font-weight: 700;
}

.post-content h3 {
    font-size: 1.3rem;
    margin: 32px 0 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-content h3::before {
    content: '';
    display: block;
    width: 6px;
    height: 24px;
    background: var(--accent-blue);
    border-radius: 2px;
}

.post-content p {
    margin-bottom: 24px;
    font-size: 1rem;
    line-height: 1.8;
    color: #4a5568;
}

/* Post Content Typography Enhancements */
.post-content ul {
    list-style: disc;
    padding-left: 1.5em;
    margin-bottom: 1.5rem;
    color: #4a5568;
}

.post-content ol {
    list-style: decimal;
    padding-left: 1.5em;
    margin-bottom: 1.5rem;
    color: #4a5568;
}

.post-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.post-content a {
    color: var(--accent-blue);
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.post-content a:hover {
    opacity: 0.8;
    text-decoration: none;
}

/* Contact Form */
.contact-form {
    background: var(--bg-white);
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--bg-body);
    border-radius: var(--radius-sm);
    background: var(--bg-body);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    background: var(--bg-white);
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(0, 160, 233, 0.1);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
}

/* Responsive Design */
@media (max-width: 991px) {
    .main-container {
        flex-direction: column;
        padding-top: 20px;
        gap: 32px;
    }

    .sidebar {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .post-card {
        flex-direction: row;
    }

    .post-thumb {
        width: 240px;
        min-height: auto;
    }

    .post-body {
        padding: 20px;
    }

    .post-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 767px) {
    :root {
        --header-height: 64px;
    }

    .page-header {
        padding: calc(var(--header-height) + 30px) 0 50px;
    }

    .page-title {
        font-size: 2rem;
    }

    .post-card {
        flex-direction: column;
    }

    .post-thumb {
        width: 100%;
        height: 200px;
    }

    .post-body {
        padding: 20px;
    }

    .sidebar {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Mobile Nav */
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--primary-navy);
        cursor: pointer;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--bg-body);
    }

    .nav-item a {
        display: block;
        padding: 16px 0;
    }

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

@media (max-width: 575px) {
    .container {
        padding: 0 16px;
    }

    .page-title {
        font-size: 1.6rem;
    }

    .post-title {
        font-size: 1.3rem;
    }

    .btn {
        width: 100%;
    }
}
/* Breadcrumbs */
.breadcrumbs {
    padding: 16px 0;
    background: var(--bg-white);
    font-size: 0.9rem;
    color: var(--text-light);
    border-bottom: 1px solid #e1e8ed;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.breadcrumbs a {
    color: var(--text-light);
    font-weight: 600;
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: var(--accent-blue);
    text-decoration: underline;
}

.breadcrumbs span {
    margin: 0 8px;
    color: #cbd5e0;
    font-size: 0.8rem;
}

/* Search Form */
.search-form {
    display: flex;
    gap: 8px;
}

.search-form input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid var(--bg-body);
    background: var(--bg-body);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.search-form input:focus {
    outline: none;
    background: var(--bg-white);
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 160, 233, 0.1);
}

.search-form button {
    padding: 0 20px;
    border-radius: var(--radius-sm);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 60px;
}

.pagination .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Utility Classes */
@media (max-width: 767px) {
    .hidden-mobile {
        display: none;
    }
    .text-center-mobile {
        text-align: center;
    }
    .mobile-only {
        display: block;
    }
}

@media (min-width: 768px) {
    .mobile-only {
        display: none;
    }
}

/* About Us Page Styles - Refined & Fixed */
.about-hero {
    text-align: center;
    padding: 80px 24px;
    background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 80px;
    border: 1px solid rgba(10, 37, 64, 0.05);
}

.mission-badge {
    display: inline-block;
    background: var(--primary-navy);
    color: #fff;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
    font-family: var(--font-en);
    box-shadow: 0 4px 10px rgba(10, 37, 64, 0.2);
}

.about-hero h2 {
    font-size: 2.4rem;
    margin-bottom: 24px;
    color: var(--primary-navy);
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.about-hero p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-main);
    max-width: 720px;
    margin: 0 auto;
}

.about-hero-icon {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 180px;
    color: rgba(10, 37, 64, 0.03);
    transform: rotate(-15deg);
    z-index: 0;
    pointer-events: none;
}

.section-title-center {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 50px;
    color: var(--primary-navy);
    font-weight: 800;
    position: relative;
}

.section-title-center::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent-blue);
    margin: 16px auto 0;
    border-radius: 2px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.value-card {
    background: var(--bg-white);
    padding: 40px 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 160, 233, 0.3);
}

.value-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    background: #f8fafc;
}

.value-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--primary-navy);
    font-weight: 700;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

.message-section {
    margin-bottom: 80px;
    background: #f8fafc;
    border-radius: var(--radius-md);
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.message-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--accent-blue);
}

.message-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.message-profile {
    flex: 0 0 180px;
    text-align: center;
}

.message-profile img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    border: 4px solid #fff;
    box-shadow: var(--shadow-sm);
    background: #eee; /* Placeholder background */
}

.message-body {
    flex: 1;
}

.message-heading {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 20px;
    line-height: 1.5;
}

.section-title-left {
    font-size: 1.6rem;
    color: var(--primary-navy);
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 6px solid var(--accent-blue);
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 80px;
}

.service-box {
    padding: 30px;
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 160, 233, 0.3);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 160, 233, 0.1);
    color: var(--accent-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.service-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-navy);
}

.service-box p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-light);
    flex-grow: 1;
}

.company-table-wrapper {
    margin-bottom: 80px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
}

.company-table th {
    text-align: left;
    padding: 24px;
    width: 30%;
    background: #f8fafc;
    color: var(--primary-navy);
    font-weight: 700;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    vertical-align: top; /* Align top for multi-line content */
}

.company-table td {
    padding: 24px;
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.8;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: none;
}

.cta-section {
    text-align: center;
    background: linear-gradient(135deg, #eef2f6 0%, #ffffff 100%);
    padding: 60px 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(10, 37, 64, 0.05);
    box-shadow: var(--shadow-sm);
}

.cta-section h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--primary-navy);
    font-weight: 800;
}

.cta-section p {
    margin-bottom: 32px;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .message-content {
        flex-direction: column;
        gap: 24px;
    }

    .message-profile {
        width: 100%;
        flex: auto;
        display: flex;
        align-items: center;
        gap: 20px;
        text-align: left;
    }

    .message-profile img {
        margin-bottom: 0;
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 767px) {
    .about-hero {
        padding: 40px 20px;
    }

    .about-hero h2 {
        font-size: 1.8rem;
    }
    
    .about-hero-icon {
        font-size: 120px;
        bottom: -10px;
        right: -10px;
    }

    .message-section {
        padding: 30px 20px;
    }

    .company-table, .company-table tbody, .company-table tr, .company-table th, .company-table td {
        display: block;
        width: 100%;
    }

    .company-table th {
        padding-bottom: 5px;
        background: transparent;
        color: var(--accent-blue);
        font-size: 0.85rem;
        text-transform: uppercase;
        border-bottom: none;
    }

    .company-table td {
        padding-top: 0;
        padding-bottom: 24px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .company-table tr:last-child td {
        border-bottom: none;
    }
}

/* Archive Page Styles */
.series-section {
    margin-bottom: 60px;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.post-card-compact {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    height: 100%;
}

.post-card-compact:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 160, 233, 0.2);
}

.post-card-compact a[style*="aspect-ratio"] {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
}

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

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

.post-card-compact h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.5;
    flex: 1;
    font-weight: 700;
}

.post-card-compact h3 a {
    color: var(--text-main);
    transition: color 0.2s ease;
}

.post-card-compact:hover h3 a {
    color: var(--accent-blue);
}

/* Series Navigation */
.series-nav {
    background: var(--bg-white);
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-sm);
}

.series-nav-title {
    text-align: center;
    font-size: 1.2rem;
    color: var(--primary-navy);
    margin-bottom: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.series-nav-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.series-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #F8FAFC;
    padding: 14px 24px;
    border-radius: 100px;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 240px;
}

.series-nav-item i:first-child {
    color: var(--accent-blue);
    font-size: 1.1rem;
}

.series-nav-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 160, 233, 0.15);
    border-color: var(--accent-blue);
    background: #fff;
    color: var(--accent-blue);
}

/* Add scroll margin to section for smooth scrolling with header offset */
section[id] {
    scroll-margin-top: 120px;
}

/* Privacy Policy Styles - Top Page Aligned */
.policy-intro {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
}

.policy-intro-text {
    font-size: 1.1rem;
    color: var(--text-main);
    max-width: 800px;
    margin: 0 auto 20px;
}

.policy-date {
    display: inline-block;
    background: #f0f4f8;
    color: var(--text-light);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 10px;
}

.policy-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.policy-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid var(--bg-body);
    padding-bottom: 16px;
}

.policy-card-title i {
    color: var(--accent-blue);
    background: rgba(0, 160, 233, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.policy-content {
    color: #4a5568;
    line-height: 1.8;
}

.policy-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin: 24px 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.policy-content h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--accent-blue);
    border-radius: 2px;
}

.policy-content ul, .policy-content ol {
    background: #f8fafc;
    padding: 20px 20px 20px 40px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.policy-content li {
    margin-bottom: 8px;
}

.policy-content li:last-child {
    margin-bottom: 0;
}

.info-box {
    background: #e3f2fd;
    border-left: 4px solid var(--accent-blue);
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin: 20px 0;
}

.info-box-title {
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 10px;
    display: block;
}