/* ========================================
   Global Styles & Reset
   ======================================== */

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

:root {
    /* 既存のカラー定義を流用 */
    --navy: #2E3E7D;
    --darknavy: #323D67;
    --darkernavy: #222B3B;
    --black: #2B2B2B;
    --blue: #1D3EBB;
    --blue2: #3167C4;
    --lightgray: #E3E3E3;
    --bggray: #F9F9F9;
    --bordergray: #DFDFDF;
    --bordergray2: #E6E6E6;
    --bluegray: #8796D2;
    --green: #2F859B;
    --navygreen: #5F8BA5;

    /* Neural Blueprint Colors (既存サイトの濃い紺色ベースに調整) */
    --blueprint-bg: var(--darkernavy);      /* #222B3B */
    --blueprint-surface: var(--darknavy);   /* #323D67 */
    --blueprint-primary: var(--blue);       /* #1D3EBB */
    --blueprint-secondary: var(--bluegray); /* #8796D2 */
    --blueprint-text: var(--lightgray);     /* #E3E3E3 (暗い背景用の明るい文字) */
    --blueprint-accent: var(--blue2);       /* #3167C4 */
    --blueprint-border: rgba(135, 150, 210, 0.3); /* --bluegrayの半透明 */

    /* Original Colors (一般セクション用) */
    --primary-color: var(--navy);           /* #2E3E7D (メインカラー) */
    --primary-dark: var(--darknavy);        /* #323D67 */
    --primary-light: var(--blue2);          /* #3167C4 */
    --secondary-color: var(--bluegray);     /* #8796D2 */
    --accent-color: var(--green);           /* #2F859B */
    --success-color: #10b981;               /* そのまま */
    --danger-color: #ef4444;                /* そのまま */

    /* Neutrals (既存のグレー系統を適用) */
    --bg-primary: #ffffff;
    --bg-secondary: var(--bggray);          /* #F9F9F9 */
    --bg-dark: var(--darkernavy);           /* #222B3B */
    --text-primary: var(--black);           /* #2B2B2B */
    --text-secondary: var(--darknavy);      /* #323D67 (少し明るいテキスト) */
    --text-light: var(--bluegray);          /* #8796D2 */
    --border-color: var(--bordergray);      /* #DFDFDF */

    /* Gradients (既存の青〜紺のグラデーションに調整) */
    --gradient-primary: linear-gradient(90deg, rgba(46, 62, 125, 1) 0%, rgba(48, 71, 156, 1) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--blue2) 0%, var(--navygreen) 100%);
    --gradient-dark: linear-gradient(135deg, var(--darknavy) 0%, var(--darkernavy) 100%);

    /* 以降、Spacing / Shadows / Radius / Transitions は元の数値を維持 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

main {
    font-family: 'Noto Sans JP', sans-serif !important;
    line-height: 1.7;
    color: var(--blueprint-text);
    background-color: var(--blueprint-bg);
    background-image: radial-gradient(var(--blueprint-primary) 1px, transparent 1px);
    background-size: 20px 20px;
    overflow-x: hidden;
    position: relative;
    letter-spacing: 0;
}


h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    line-height: 1.3;
    color: var(--blueprint-text);
    letter-spacing: 0.05em;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.section {
    padding: 9.6rem 0;
    background: rgba(0, 30, 60, 0.6);
    position: relative;
}



/* ========================================
   Hero Section
   ======================================== */

.service-hero {
    width: 100%;
}
.service-hero img{
    width: 100%;
}
.service-hero .sp{
    display: none;
}
@media screen and (max-width: 768px){
    .service-hero .pc{
        display: none;
    }
    .service-hero .sp{
        display: block;
    }
}



/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem; /* 0.5rem * 1.6 */
    padding: 1.4rem 3.2rem; /* 0.875rem * 1.6 = 1.4, 2rem * 1.6 = 3.2 */
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1.6rem; /* 1rem * 1.6 */
    cursor: pointer;
    transition: var(--transition-normal);
    text-align: center;
    justify-content: center;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-large {
    padding: 1.76rem 4rem; /* 1.1rem * 1.6 = 1.76, 2.5rem * 1.6 = 4.0 */
    font-size: 1.76rem; /* 1.1rem * 1.6 */
}

.btn-full {
    width: 100%;
}

/* ========================================
   Section Headers
   ======================================== */

.section-header {
    text-align: left;
    margin-bottom: 6.4rem; /* 4rem * 1.6 */
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 4rem;
}
.section-tag {
    color: var(--text-primary);
    border-radius: 50px;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1.6rem; /* 1rem * 1.6 */
}

.section-title {
    font-size: 4.7rem; /* 3rem * 1.6 */
    color: var(--text-secondary);
    width: 100%;
}

.section-description {
    font-size: 1.92rem; /* 1.2rem * 1.6 */
    color: var(--text-secondary);
    max-width: 700px;
}

/* ========================================
   Overview Section
   ======================================== */

.overview-section {
    background: var(--bg-secondary);
}

.overview-content {
    display: flex;
    flex-direction: column;
    gap: 4.8rem; /* 3rem * 1.6 */
}




.overview-card p {
    font-size: 2.5rem;
    line-height: 2;
    color: var(--text-secondary);
    text-align: left;
    margin: 0 auto;
}

/* ========================================
   Services Section
   ======================================== */

.services-section {
    background: white;
}

.services-table-container {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 4.8rem; /* 3rem * 1.6 */
}

.services-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.services-table thead {
    background: var(--gradient-primary);
    color: white;
}

.services-table th {
    padding: 2rem 2.4rem; /* 1.25rem * 1.6 = 2.0, 1.5rem * 1.6 = 2.4 */
    text-align: left;
    font-weight: 700;
    font-size: 1.76rem; /* 1.1rem * 1.6 */
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.services-table th:first-child {
    width: 20%;
}

.services-table th:nth-child(2) {
    width: 40%;
}

.services-table th:last-child {
    width: 40%;
}

.services-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.services-table tbody tr:hover {
    background: var(--bg-secondary);
}

.services-table tbody tr:last-child {
    border-bottom: none;
}

.services-table td {
    padding: 1.6rem 2.4rem; /* 1rem * 1.6 = 1.6, 1.5rem * 1.6 = 2.4 */
    color: var(--text-secondary);
    font-size: 1.6rem; /* 1rem * 1.6 */
}

.category-cell {
    background: var(--bg-secondary);
    font-weight: 700;
    color: var(--text-primary);
    vertical-align: middle;
    text-align: center;
    border-right: 2px solid var(--border-color);
    font-size: 1.68rem; /* 1.05rem * 1.6 */
}

.services-table tbody tr.category-row:first-child td.category-cell {
    border-top: 2px solid var(--primary-color);
}

.services-table td:last-child {
    font-weight: 600;
    color: var(--primary-color);
}

.pricing-note {
    display: flex;
    align-items: flex-start;
    gap: 1.6rem;
}

.pricing-note i {
    color: var(--primary-color);
    font-size: 2.4rem; /* 1.5rem * 1.6 */
    margin-top: 0.4rem; /* 0.25rem * 1.6 */
}

.pricing-note p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   Team Section
   ======================================== */

.team-section {
    background: #323D67;
}
.team-section .section-title{
    color: #fff;
}
.team-section .section-tag{
    color: #fff;
}
.team-section .section-description{
    color: #fff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.2rem; /* 2rem * 1.6 */
}

.team-card {
    background: white;
    padding: 4rem; /* 2.5rem * 1.6 */
    transition: var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.team-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-lg);
    font-size: 2.4rem; /* 1.5rem * 1.6 */
    margin-bottom: 2.4rem; /* 1.5rem * 1.6 */
}

.team-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: #f5f5f5;
    margin-bottom: 2.4rem; /* 1.5rem * 1.6 */
    border: 3px solid var(--primary-color);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 2.16rem; /* 1.35rem * 1.6 */
    margin-bottom: 0.8rem; /* 0.5rem * 1.6 */
    color: var(--text-primary);
    line-height: 1.4;
}

.team-subtitle {
    display: block;
    font-size: 1.2rem; /* 0.75rem * 1.6 */
    color: var(--text-light);
    font-weight: 400;
    margin-top: 0.4rem; /* 0.25rem * 1.6 */
    letter-spacing: 0.05em;
}

.team-role {
    font-size: 1.4rem; /* 0.875rem * 1.6 */
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 2.4rem; /* 1.5rem * 1.6 */
}

.team-tasks {
    list-style: none;
}

.team-tasks li {
    padding: 0.96rem 0; /* 0.6rem * 1.6 */
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    font-size: 1.52rem; /* 0.95rem * 1.6 */
}

.team-tasks li:last-child {
    border-bottom: none;
}

.team-area {
    margin-bottom: 2.4rem; /* 1.5rem * 1.6 */
}

.team-area .info-value {
    display: block;
    font-size: 1.68rem; /* 1.05rem * 1.6 */
    font-weight: 600;
    color: var(--primary-color);
    padding: 1.2rem 1.6rem; /* 0.75rem * 1.6 = 1.2, 1rem * 1.6 = 1.6 */
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.05), rgba(46, 204, 113, 0.05));
    border-left: 3px solid var(--primary-color);
    border-radius: 4px;
}

.team-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem; /* 0.5rem * 1.6 */
    padding: 1.2rem 1.6rem; /* 0.75rem * 1.6 = 1.2, 1rem * 1.6 = 1.6 */
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--primary-color);
    font-size: 1.44rem; /* 0.9rem * 1.6 */
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0.8rem; /* 0.5rem * 1.6 */
}

.team-toggle:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
}

.team-toggle i {
    transition: transform 0.3s ease;
}

.team-toggle.active i {
    transform: rotate(180deg);
}

.team-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.team-details.active {
    max-height: 1000px;
}

.show-more-teams {
    display: none;
}

.team-info-item {
    margin-bottom: 2.4rem; /* 1.5rem * 1.6 */
}

.info-label {
    display: block;
    font-size: 1.2rem; /* 0.75rem * 1.6 */
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.8rem; /* 0.5rem * 1.6 */
}

.info-value {
    color: var(--text-secondary);
}

/* ========================================
   Flow Section
   ======================================== */

.flow-section {
    background: white;
}

.flow-container {
    max-width: 1000px;
    margin: 0 auto;
}

.flow-step {
    margin-bottom: 3.2rem; /* 2rem * 1.6 */
}

.flow-step-inner {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4.8rem; /* 3rem * 1.6 */
    align-items: center;
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
    transition: var(--transition-normal);
}

.flow-step-inner:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
    transform: translateY(-3px);
}

.flow-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.flow-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flow-content {
    padding: 3.2rem 3.2rem 3.2rem 0; /* 2rem * 1.6 = 3.2 */
}

.flow-content h3 {
    font-size: 2.4rem; /* 1.5rem * 1.6 */
    margin-bottom: 1.6rem; /* 1rem * 1.6 */
    color: var(--text-primary);
}

.flow-content p {
    font-size: 1.68rem; /* 1.05rem * 1.6 */
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.6rem; /* 1rem * 1.6 */
}

.flow-details {
    list-style: none;
    display: flex;
    gap: 1.2rem; /* 0.75rem * 1.6 */
    flex-wrap: wrap;
}

.flow-details li {
    padding: 0.8rem 1.6rem; /* 0.5rem * 1.6 = 0.8, 1rem * 1.6 = 1.6 */
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-radius: 50px;
    font-size: 1.4rem; /* 0.875rem * 1.6 */
    font-weight: 500;
}

.flow-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2.4rem 0; /* 1.5rem * 1.6 */
    color: var(--primary-color);
    font-size: 3.2rem; /* 2rem * 1.6 */
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ==========================================================================
   Filter Tabs
   ========================================================================== */

.portfolio-section {
    padding: 6rem 0;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-tab {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    padding: 0.75rem 2rem;
    background: transparent;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all var(--transition-normal);
    letter-spacing: 0.05em;
}

.filter-tab:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.5);
    color: var(--blueprint-primary);
    transform: translateY(-2px);
}

.filter-tab.active {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--blueprint-primary);
    color: #ffffff;
    box-shadow: 
        0 0 20px rgba(59, 130, 246, 0.3),
        inset 0 0 20px rgba(59, 130, 246, 0.1);
}

/* ==========================================================================
   Portfolio Grid
   ========================================================================== */
.portfolio-section {
    background: #f9f9f9;
}

/* Portfolio Preview Grid */
.portfolio-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.2rem; /* 2rem * 1.6 */
    margin-bottom: 4.8rem; /* 3rem * 1.6 */
}

.portfolio-preview-card {
    background: #323D67;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
    cursor: pointer;
    transition: opacity 0.5s ease, transform 0.5s ease, margin 0.5s ease;
    transform: translateY(0);
    opacity: 1;
}

.portfolio-preview-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(59, 130, 246, 0.2);
}
.portfolio-preview-card.is-hidden {
    display: none;
    opacity: 0;
    transform: translateY(20px);
}
.portfolio-preview-card.is-showing {
    display: block; /* レイアウトを復活させる */
}
.portfolio-preview-card.is-active {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.portfolio-card-inner {
    display: block;
}

.portfolio-preview-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.4);
}

.portfolio-preview-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.placeholder-icon p {
    font-size: 1.2rem; /* 0.75rem * 1.6 */
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.1em;
    margin: 0;
}

.portfolio-preview-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.portfolio-preview-card:hover .portfolio-preview-overlay {
    opacity: 1;
}

.portfolio-preview-overlay i {
    font-size: 4.8rem; /* 3rem * 1.6 */
    color: #ffffff;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.8);
}

.portfolio-preview-content {
    padding: 2rem; /* 1.25rem * 1.6 */
}

.portfolio-preview-badge {
    display: inline-block;
    padding: 0.48rem 1.2rem;
    border: 1px solid #fff;
    border-radius: 50px;
    color: #fff;
    font-size: 1.12rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1.2rem; /* 0.75rem * 1.6 */
}

.badge-recruitment {
    background: rgba(167, 139, 250, 0.2);
    border: 1px solid rgba(167, 139, 250, 0.5);
    color: #a78bfa;
}

.badge-branding {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.5);
    color: #fbbf24;
}

.portfolio-preview-title {
    font-size: 1.6rem; /* 1rem * 1.6 */
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1.2rem 0; /* 0.75rem * 1.6 = 1.2 */
    line-height: 1.4;
}

/* Portfolio Tags */
.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.64rem; /* 0.4rem * 1.6 */
}

.portfolio-tags .tag {
    display: inline-block;
    padding: 0.4rem 0.96rem; /* 0.25rem * 1.6 = 0.4, 0.6rem * 1.6 = 0.96 */
    font-size: 1.04rem; /* 0.65rem * 1.6 */
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.02em;
    background-color: transparent;
    border-radius: unset;
    border: none;
}
.portfolio-tags .tag::before{
    content: "#";
    font-size: 1.04rem;
    color: rgba(255, 255, 255, 0.7);
}

.portfolio-preview-description {
    display: none;
}

.portfolio-preview-results {
    display: none;
}

.portfolio-view-all {
    text-align: center;
    margin-top: 4.8rem; /* 3rem * 1.6 */
}

.portfolio-view-all-button {
    display: inline-flex;
    align-items: center;
    gap: 1.6rem; /* 1rem * 1.6 */
    padding: 1.6rem 4rem; /* 1rem * 1.6 = 1.6, 2.5rem * 1.6 = 4.0 */
    background: transparent;
    border: 2px solid var(--blueprint-primary);
    border-radius: 50px;
    color: var(--blueprint-primary);
    font-size: 1.6rem; /* 1rem * 1.6 */
    font-weight: 700;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.05em;
    transition: transform 0.3s ease;
}

.portfolio-view-all-button:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-3px);
    box-shadow: 
        0 10px 30px rgba(59, 130, 246, 0.3),
        0 0 40px rgba(59, 130, 246, 0.2);
}

.portfolio-view-all-button i {
    transition: transform var(--transition-normal);
}

.portfolio-view-all-button:hover i {
    transform: translateX(5px);
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease-out;
}

.video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    animation: scaleIn 0.3s ease-out;
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    font-size: 2.4rem; /* 1.5rem * 1.6 */
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: rotate(90deg);
}

.video-modal-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
    border-radius: 0.8rem; /* 0.5rem * 1.6 */
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(59, 130, 246, 0.3);
}

.video-modal-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Video Error Message */
.video-error {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 21, 41, 0.95);
    z-index: 10;
}

.error-content {
    text-align: center;
    color: #ffffff;
}

.error-content i {
    font-size: 4.8rem; /* 3rem * 1.6 */
    color: #fbbf24;
    margin-bottom: 1.6rem; /* 1rem * 1.6 */
}

.error-content p {
    font-size: 1.76rem; /* 1.1rem * 1.6 */
    margin-bottom: 2.4rem; /* 1.5rem * 1.6 */
    color: rgba(255, 255, 255, 0.8);
}

.youtube-link-button {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem; /* 0.75rem * 1.6 */
    padding: 1.4rem 3.2rem; /* 0.875rem * 1.6 = 1.4, 2rem * 1.6 = 3.2 */
    background: #ff0000;
    color: #ffffff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.6rem; /* 1rem * 1.6 */
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.youtube-link-button:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

.youtube-link-button i {
    font-size: 2rem; /* 1.25rem * 1.6 */
}

/* Portfolio Grid Main */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 4.8rem; /* 3rem * 1.6 */
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-item {
    background: rgba(0, 21, 41, 0.6);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 1.6rem; /* 1rem * 1.6 */
    overflow: hidden;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.portfolio-item:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(59, 130, 246, 0.2);
}

/* Portfolio Thumbnail */
.portfolio-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.play-overlay i {
    font-size: 6.4rem; /* 4rem * 1.6 */
    color: #ffffff;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.8);
}

.portfolio-badge {
    position: absolute;
    top: 1.6rem; /* 1rem * 1.6 */
    right: 1.6rem; /* 1rem * 1.6 */
    z-index: 10;
}

.portfolio-empty {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    color: #2E3E7D;
    font-size: 1.8rem;
    line-height: 1.8;
}

.badge {
    display: inline-block;
    padding: 0.64rem 1.6rem; /* 0.4rem * 1.6 = 0.64, 1rem * 1.6 = 1.6 */
    border-radius: 50px;
    font-size: 1.2rem; /* 0.75rem * 1.6 */
    font-weight: 600;
    letter-spacing: 0.05em;
    backdrop-filter: blur(10px);
}

/* Portfolio Content */
.portfolio-content {
    padding: 3.2rem; /* 2rem * 1.6 */
}

.portfolio-meta {
    display: flex;
    gap: 2.4rem; /* 1.5rem * 1.6 */
    margin-bottom: 1.6rem; /* 1rem * 1.6 */
    font-size: 1.36rem; /* 0.85rem * 1.6 */
    color: rgba(255, 255, 255, 0.5);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.8rem; /* 0.5rem * 1.6 */
}

.portfolio-title {
    font-size: 2.24rem; /* 1.4rem * 1.6 */
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.6rem; /* 1rem * 1.6 */
    line-height: 1.4;
}

.portfolio-description {
    font-size: 1.52rem; /* 0.95rem * 1.6 */
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 2.4rem; /* 1.5rem * 1.6 */
}

/* Portfolio Tags */
.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem; /* 0.5rem * 1.6 */
    margin-bottom: 2.4rem; /* 1.5rem * 1.6 */
}

.tag {
    display: inline-block;
    padding: 0.48rem 1.28rem; /* 0.3rem * 1.6 = 0.48, 0.8rem * 1.6 = 1.28 */
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    font-size: 1.2rem; /* 0.75rem * 1.6 */
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Outfit', sans-serif;
}

/* Portfolio Results */
.portfolio-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem; /* 1rem * 1.6 */
    padding: 2.4rem; /* 1.5rem * 1.6 */
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 0.8rem; /* 0.5rem * 1.6 */
    margin-bottom: 2.4rem; /* 1.5rem * 1.6 */
}

.result-number {
    font-size: 3.2rem; /* 2rem * 1.6 */
    font-weight: 900;
    color: var(--blueprint-primary);
    font-family: 'Outfit', sans-serif;
    line-height: 1;
    margin-bottom: 0.8rem; /* 0.5rem * 1.6 */
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.result-number span {
    font-size: 1.92rem; /* 1.2rem * 1.6 */
    margin-left: 0.32rem; /* 0.2rem * 1.6 */
}

.result-label {
    font-size: 1.2rem; /* 0.75rem * 1.6 */
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
}

/* Portfolio Link */
.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem; /* 0.5rem * 1.6 */
    padding: 1.2rem 2.4rem; /* 0.75rem * 1.6 = 1.2, 1.5rem * 1.6 = 2.4 */
    background: transparent;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    color: var(--blueprint-primary);
    font-size: 1.44rem; /* 0.9rem * 1.6 */
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    font-family: 'Outfit', sans-serif;
}


/* ========================================
   FAQ Section
   ======================================== */

.faq-section {
    background: white;
    z-index: 0;
}

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

.faq-item {
    margin-bottom: 1.2rem; /* 0.75rem * 1.6 */
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1.2rem; /* 0.75rem * 1.6 */
    padding: 1.6rem 2rem; /* 1rem * 1.6 = 1.6, 1.25rem * 1.6 = 2.0 */
    background: white;
    border: none;
    text-align: left;
    font-size: 1.52rem; /* 0.95rem * 1.6 */
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.36rem; /* 0.85rem * 1.6 */
    flex-shrink: 0;
}

.faq-question span:nth-child(2) {
    flex: 1;
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition-fast);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    display: flex;
    gap: 1.2rem; /* 0.75rem * 1.6 */
    padding: 0 2rem; /* 1.25rem * 1.6 = 2.0 */
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.6rem 2rem; /* 1.25rem * 1.6 = 2.0, 1rem * 1.6 = 1.6 */
}

.faq-a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--bg-secondary);
    color: var(--primary-color);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.36rem; /* 0.85rem * 1.6 */
    flex-shrink: 0;
}

.faq-answer div {
    flex: 1;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.44rem; /* 0.9rem * 1.6 */
}


/* ========================================
   Back to Top Button
   ======================================== */

.back-to-top {
    position: fixed;
    bottom: 3.2rem; /* 2rem * 1.6 */
    right: 3.2rem; /* 2rem * 1.6 */
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 2rem; /* 1.25rem * 1.6 */
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    .services-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .services-table {
        min-width: 700px;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3.2rem; /* 2rem * 1.6 */
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 2.4rem; /* 1.5rem * 1.6 */
    }
    
    .section {
        padding: 6.4rem 0; /* 4rem * 1.6 */
    }
    .inner1200{
        width: 100%;
    }
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 3.2rem; /* 2rem * 1.6 */
        box-shadow: var(--shadow-xl);
        transition: var(--transition-normal);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 1.6rem; /* 1rem * 1.6 */
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    /* Hero */
    .hero {
        background-image: url('../images/hero-background-mobile.jpg');
        background-position: center center;
        min-height: 100vh;
        height: 100vh;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero .container {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
    }
    
    .hero::before {
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.75), rgba(139, 92, 246, 0.75));
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        width: 100%;
        padding: 1.6rem; /* 1rem * 1.6 */
    }
    
    .hero-tag {
        font-size: 1.2rem; /* 0.75rem * 1.6 */
        padding: 0.64rem 1.6rem; /* 0.4rem * 1.6 = 0.64, 1rem * 1.6 = 1.6 */
        margin-bottom: 1.6rem; /* 1rem * 1.6 */
    }
    
    .hero-benefit {
        font-size: 1.76rem; /* 1.1rem * 1.6 */
        margin-bottom: 1.2rem; /* 0.75rem * 1.6 */
        line-height: 1.6;
    }
    
    .hero-title {
        font-size: 4rem; /* 2.5rem * 1.6 */
        margin-bottom: 0.8rem; /* 0.5rem * 1.6 */
        line-height: 1.25;
        letter-spacing: 0.03em;
        white-space: normal;
    }
    
    .hero-concept {
        font-size: 1.6rem; /* 1rem * 1.6 */
        margin-bottom: 1.2rem; /* 0.75rem * 1.6 */
        line-height: 1.6;
    }
    
    .hero-value {
        font-size: 1.28rem; /* 0.8rem * 1.6 */
        padding: 1.04rem 2rem; /* 0.65rem * 1.6 = 1.04, 1.25rem * 1.6 = 2.0 */
        margin-bottom: 2.4rem; /* 1.5rem * 1.6 */
        max-width: 90%;
    }
    
    .hero-value span {
        font-size: 1.28rem; /* 0.8rem * 1.6 */
        line-height: 1.5;
    }
    
    .hero-features {
        display: none;
    }
    
    .feature-badge {
        width: 100%;
        justify-content: center;
        padding: 1.04rem 1.6rem; /* 0.65rem * 1.6 = 1.04 */
        font-size: 1.28rem; /* 0.8rem * 1.6 */
    }
    
    .mobile-break {
        display: none;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    /* Section Padding Reduction */
    .section {
        padding: 4.8rem 0; /* 3rem * 1.6 */
    }
    
    /* Section Headers */
    .section-header{
        flex-direction: column;
        align-items: flex-start;
    }
    .section-tag {
        font-size: 1.12rem; /* 0.7rem * 1.6 */
        padding: 0.56rem 1.2rem; /* 0.35rem * 1.6 = 0.56, 0.75rem * 1.6 = 1.2 */
    }
    
    .section-title {
        font-size: 2.8rem; /* 1.75rem * 1.6 */
    }
    
    .section-description {
        font-size: 1.44rem; /* 0.9rem * 1.6 */
        line-height: 1.6;
    }
    
    /* About Section - Compact */
    .about-content {
        font-size: 1.52rem; /* 0.95rem * 1.6 */
        line-height: 1.7;
    }
    
    /* Services Table - Simplified */
    .services-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -2.4rem; /* 1.5rem * 1.6 */
        padding: 0 2.4rem; /* 1.5rem * 1.6 */
    }
    
    .services-table {
        min-width: 600px;
    }
    
    .services-table th,
    .services-table td {
        padding: 1.2rem 0.8rem; /* 0.75rem * 1.6 = 1.2, 0.5rem * 1.6 = 0.8 */
        font-size: 1.28rem; /* 0.8rem * 1.6 */
    }
    
    .category-cell {
        font-size: 1.36rem; /* 0.85rem * 1.6 */
    }
    
    /* Team Section */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2.4rem; /* 1.5rem * 1.6 */
    }
    
    .team-card {
        padding: 2.4rem; /* 1.5rem * 1.6 */
    }
    
    .team-avatar {
        width: 70px;
        height: 70px;
        margin-bottom: 1.6rem; /* 1rem * 1.6 */
    }
    
    .team-card h3 {
        font-size: 1.84rem; /* 1.15rem * 1.6 */
    }
    
    .team-subtitle {
        font-size: 1.12rem; /* 0.7rem * 1.6 */
    }
    
    .team-area .info-value {
        font-size: 1.52rem; /* 0.95rem * 1.6 */
        padding: 0.96rem 1.36rem; /* 0.6rem * 1.6 = 0.96, 0.85rem * 1.6 = 1.36 */
    }
    
    .team-toggle {
        padding: 0.96rem 1.36rem; /* 0.6rem * 1.6 = 0.96, 0.85rem * 1.6 = 1.36 */
        font-size: 1.36rem; /* 0.85rem * 1.6 */
    }
    
    .info-label {
        font-size: 1.12rem; /* 0.7rem * 1.6 */
    }
    
    .team-tasks li {
        padding: 0.8rem 0; /* 0.5rem * 1.6 */
        font-size: 1.36rem; /* 0.85rem * 1.6 */
    }
    
    .team-message {
        font-size: 1.36rem; /* 0.85rem * 1.6 */
        line-height: 1.6;
    }
    
    /* Show More Teams Button */
    .show-more-teams {
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 3.2rem auto 0; /* 2rem * 1.6 */
        padding: 1.6rem 3.2rem; /* 1rem * 1.6 = 1.6, 2rem * 1.6 = 3.2 */
        background: transparent;
        border: 2px solid var(--primary-color);
        border-radius: var(--radius-lg);
        color: var(--primary-color);
        font-size: 1.52rem; /* 0.95rem * 1.6 */
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        text-align: center;
    }
    
    /* Simplified Table Padding */
    .services-table th,
    .services-table td {
        padding: 1.4rem 1.2rem; /* 0.875rem * 1.6 = 1.4, 0.75rem * 1.6 = 1.2 */
        font-size: 1.36rem; /* 0.85rem * 1.6 */
    }
    
    .category-cell {
        font-size: 1.44rem; /* 0.9rem * 1.6 */
        padding: 1.2rem 0.8rem; /* 0.75rem * 1.6 = 1.2, 0.5rem * 1.6 = 0.8 */
    }
    
    /* Flow Section - Compact */
    .flow-step {
        margin-bottom: 2.4rem; /* 1.5rem * 1.6 */
    }
    
    .flow-step-inner {
        grid-template-columns: 1fr;
        gap: 2.4rem; /* 1.5rem * 1.6 */
        text-align: center;
    }
    
    .flow-content {
        padding: 2.4rem; /* 1.5rem * 1.6 */
    }
    
    .flow-content h3 {
        font-size: 1.84rem; /* 1.15rem * 1.6 */
        margin-bottom: 1.2rem; /* 0.75rem * 1.6 */
    }
    
    .flow-content p {
        font-size: 1.36rem; /* 0.85rem * 1.6 */
        line-height: 1.6;
        margin-bottom: 1.6rem; /* 1rem * 1.6 */
    }
    
    .flow-details {
        gap: 0.8rem; /* 0.5rem * 1.6 */
    }
    
    .flow-details li {
        font-size: 1.28rem; /* 0.8rem * 1.6 */
        padding: 0.8rem 1.2rem; /* 0.5rem * 1.6 = 0.8, 0.75rem * 1.6 = 1.2 */
    }
    
    .flow-arrow {
        margin: 1.6rem 0; /* 1rem * 1.6 */
        font-size: 2.4rem; /* 1.5rem * 1.6 */
    }
    
    /* FAQ Section - Compact */
    .faq-item {
        margin-bottom: 0.8rem; /* 0.5rem * 1.6 */
    }
    
    .faq-question {
        font-size: 1.36rem; /* 0.85rem * 1.6 */
        padding: 1.36rem 1.6rem; /* 0.85rem * 1.6 = 1.36, 1rem * 1.6 = 1.6 */
        gap: 0.96rem; /* 0.6rem * 1.6 */
    }
    
    .faq-q, .faq-a {
        width: 24px;
        height: 24px;
        font-size: 1.2rem; /* 0.75rem * 1.6 */
    }
    
    .faq-answer div {
        font-size: 1.28rem; /* 0.8rem * 1.6 */
        line-height: 1.6;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.6rem 1.36rem 1.6rem; /* 1rem * 1.6 = 1.6, 0.85rem * 1.6 = 1.36 */
    }
    .portfolio-preview-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-preview-content {
        padding: 1rem;
    }
    
    .portfolio-preview-title {
        font-size: 0.95rem;
    }
    
    .portfolio-view-all-button {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
    
    /* Video Modal - Mobile */
    .video-modal-content {
        width: 95%;
    }
    
    .video-modal-close {
        top: -45px;
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .filter-tabs {
        gap: 0.5rem;
        margin-bottom: 3rem;
    }
    
    .filter-tab {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
    }
    
    .portfolio-results {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .result-number {
        font-size: 1.5rem;
    }
    
    .result-number span {
        font-size: 1rem;
    }
    
    .result-label {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .hero-benefit {
        font-size: 1.6rem; /* 1rem * 1.6 */
    }
    
    .hero-title {
        font-size: 3.2rem; /* 2rem * 1.6 */
    }
    
    .hero-concept {
        font-size: 1.52rem; /* 0.95rem * 1.6 */
    }
    
    .section-title {
        font-size: 2.8rem; /* 1.75rem * 1.6 */
    }
    
    .btn-large {
        padding: 1.6rem 2.4rem; /* 1rem * 1.6 = 1.6, 1.5rem * 1.6 = 2.4 */
        font-size: 1.6rem; /* 1rem * 1.6 */
    }
    .portfolio-grid {
        gap: 1.5rem;
    }
    
    .portfolio-content {
        padding: 1.5rem;
    }
    
    .portfolio-title {
        font-size: 1.2rem;
    }
    
    .portfolio-results {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .result-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.5rem;
    }
    
    .result-number {
        font-size: 1.8rem;
    }
    
    .result-label {
        text-align: right;
        font-size: 0.7rem;
    }
}
/* ==========================================================================
   Animations
   ========================================================================== */

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

.portfolio-item {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.portfolio-item:nth-child(1) { animation-delay: 0.1s; }
.portfolio-item:nth-child(2) { animation-delay: 0.2s; }
.portfolio-item:nth-child(3) { animation-delay: 0.3s; }
.portfolio-item:nth-child(4) { animation-delay: 0.4s; }
.portfolio-item:nth-child(5) { animation-delay: 0.5s; }
.portfolio-item:nth-child(6) { animation-delay: 0.6s; }