
        @font-face {
            font-family: 'LINE Seed Sans TH';
            src: url('font/LINESeedSansTH_W_Th.woff') format('woff');
            font-weight: 300;
            font-style: normal;
        }
        @font-face {
            font-family: 'LINE Seed Sans TH';
            src: url('font/LINESeedSansTH_W_Rg.woff') format('woff');
            font-weight: 400;
            font-style: normal;
        }
        @font-face {
            font-family: 'LINE Seed Sans TH';
            src: url('font/LINESeedSansTH_W_Bd.woff') format('woff');
            font-weight: 700;
            font-style: normal;
        }
        @font-face {
            font-family: 'LINE Seed Sans TH';
            src: url('font/LINESeedSansTH_W_XBd.woff') format('woff');
            font-weight: 800;
            font-style: normal;
        }
        @font-face {
            font-family: 'LINE Seed Sans TH';
            src: url('font/LINESeedSansTH_W_He.woff') format('woff');
            font-weight: 900;
            font-style: normal;
        }

/* ============================================
   Project Modal Styles
   ============================================ */

.project-modal {
    animation: fadeInBackdrop 0.3s ease-in-out;
}

.project-modal.opacity-0 {
    animation: fadeOutBackdrop 0.3s ease-in-out;
}

.project-modal-content {
    animation: slideUpModal 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.project-modal.opacity-0 .project-modal-content {
    animation: slideDownModal 0.3s ease-in-out;
}

@keyframes fadeInBackdrop {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOutBackdrop {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes slideUpModal {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideDownModal {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
}

/* Scrollbar styling for modal */
.project-modal-content::-webkit-scrollbar {
    width: 8px;
}

.project-modal-content::-webkit-scrollbar-track {
    background: rgba(255, 97, 0, 0.1);
    border-radius: 10px;
}

.project-modal-content::-webkit-scrollbar-thumb {
    background: #f26423;
    border-radius: 10px;
    transition: background 0.3s;
}

.project-modal-content::-webkit-scrollbar-thumb:hover {
    background: #ff7b00;
}

/* ============================================
   Projects Showcase
   ============================================ */

.project-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
    margin-top: 36px;
}

.project-showcase-card {
    position: relative;
    overflow: hidden;
    min-height: 500px;
    border-radius: 8px;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    text-align: left;
    isolation: isolate;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.project-showcase-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 28%),
        linear-gradient(135deg, rgba(242, 100, 35, 0.2), rgba(24, 144, 255, 0.12));
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.project-showcase-card:hover {
    transform: translateY(-8px);
    border-color: rgba(242, 100, 35, 0.5);
    box-shadow: 0 24px 60px rgba(242, 100, 35, 0.18);
}

.project-showcase-card:hover::before {
    opacity: 1;
}

.project-image-wrap {
    position: relative;
    height: 235px;
    overflow: hidden;
    background: #1f1f1f;
}

.project-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.7s ease;
}

.project-showcase-card:hover .project-image-wrap img {
    transform: scale(1.1);
}

.project-image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(17, 17, 17, 0.95));
}

.project-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.58);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.project-card-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-height: 265px;
    padding: 24px;
}

.project-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-bottom: 10px;
    color: #ff9a62;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.project-title {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 900;
}

.project-description {
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.55;
    margin: 0 0 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.project-tag {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #ffd0b8;
    background: rgba(242, 100, 35, 0.14);
    border: 1px solid rgba(242, 100, 35, 0.28);
    font-size: 12px;
    font-weight: 700;
}

.project-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

.project-card-footer i {
    color: #f26423;
    transform: translateX(0);
    transition: transform 0.25s ease;
}

.project-showcase-card:hover .project-card-footer i {
    transform: translateX(4px);
}

.project-modal-content {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-modal-hero {
    position: relative;
    min-height: 280px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
    background: #111111;
}

.project-modal-hero img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.project-modal-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 34%, rgba(46, 46, 46, 0.98));
}

.project-modal-hero-title {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 22px;
    z-index: 2;
}

.project-modal-title {
    margin: 8px 0 0;
    color: #ffffff;
    font-size: 34px;
    line-height: 1.1;
    font-weight: 900;
}

.project-modal-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1024px) {
    .project-showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .project-showcase-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 28px;
    }

    .project-showcase-card {
        min-height: auto;
    }

    .project-card-body {
        min-height: 250px;
        padding: 20px;
    }

    .project-title,
    .project-modal-title {
        font-size: 26px;
    }

    .project-modal-actions {
        grid-template-columns: 1fr;
    }
}
