@charset "UTF-8";

/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --bg-main: #050505;
    --bg-surface: #0a0a0a;
    --bg-card: #111111;

    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-tertiary: #52525b;

    --accent-color: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.5);

    --gold-color: #d4af37;

    --border-light: rgba(255, 255, 255, 0.1);
    --border-dim: rgba(255, 255, 255, 0.05);

    --radius-sm: 12px;
    --radius-lg: 24px;

    --font-main: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
}

/* =========================================
   2. HEADER & NAV
   ========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-dim);
}

.logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: #fff;
}

nav ul {
    display: flex;
    gap: 32px;
}

nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
}

nav a:hover {
    color: #fff;
}

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    padding: 0 5%;
    padding-top: 80px;
    /* Header height */
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    pointer-events: none;
}

.hero-text-container {
    padding-right: 40px;
    z-index: 2;
}

.badge-container {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 99px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold-color);
    font-size: 13px;
    font-weight: 600;
}

.hero h1 {
    font-size: 82px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero h1 span {
    background: linear-gradient(90deg, #fff, #999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.hero-logo-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: invert(1) brightness(1.2);
    /* Black logo -> White */
    opacity: 0.9;
    transition: transform 0.5s ease;
}

.hero-logo-img:hover {
    transform: scale(1.05);
}


/* =========================================
   4. COMMON SECTIONS
   ========================================= */
section {
    padding: 140px 5%;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 80px;
    padding-left: 20px;
    border-left: 4px solid var(--accent-color);
    letter-spacing: -0.02em;
}

.section-title-sm {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-tertiary);
    letter-spacing: 0.2em;
    margin-bottom: 40px;
    text-align: center;
}

/* =========================================
   5. ABOUT SECTION
   ========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-text h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #fff;
}

.about-text p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.standards-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-dim);
    padding: 40px;
    border-radius: var(--radius-sm);
}

.standards-box h4 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.standards-box ul li {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.standards-box ul li i {
    color: var(--accent-color);
    margin-top: 4px;
}

/* =========================================
   6. PARTNERS MARQUEE
   ========================================= */
.partners-section {
    padding: 60px 0 !important;
    background: var(--bg-main);
    border-top: 1px solid var(--border-dim);
    border-bottom: 1px solid var(--border-dim);
    overflow: hidden;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    width: max-content;
    gap: 80px;
    animation: scroll 40s linear infinite;
}

.marquee-content span {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    opacity: 0.2;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: default;
    white-space: nowrap;
}

.marquee-content span:hover {
    opacity: 1;
    color: #fff;
    text-shadow: 0 0 20px var(--accent-glow);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* =========================================
   7. HONORS & AWARDS
   ========================================= */
.awards-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 80px;
}

.award-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    padding: 60px 40px;
    border-radius: var(--radius-sm);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.award-card.highlight {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, var(--bg-card) 100%);
    border-color: rgba(212, 175, 55, 0.3);
}

.award-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.award-card i {
    font-size: 40px;
    color: var(--gold-color);
    margin-bottom: 24px;
    display: inline-block;
}

.award-card h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent-color);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.9;
}

.award-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.award-title {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    letter-spacing: -0.02em;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

/* Visual Gallery (Animated Marquee) */
.awards-gallery-scroll {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 0 60px 0;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.gallery-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: gallery-scroll 50s linear infinite;
}

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

.gallery-item {
    flex: 0 0 450px;
    height: 320px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-dim);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item:hover {
    border-color: var(--gold-color);
    transform: scale(1.02);
    z-index: 10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .caption {
    transform: translateY(0);
}

@keyframes gallery-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* =========================================
   8. KEYWORDS (Holographic)
   ========================================= */
.keywords-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.keyword-card {
    background: rgba(20, 20, 21, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Dynamic Spotlight Effect on Hover */
.keyword-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(59, 130, 246, 0.08), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    pointer-events: none;
}

.keyword-card:hover::before {
    opacity: 1;
}

.keyword-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--accent-color);
    background: linear-gradient(160deg, rgba(30, 30, 35, 0.9), rgba(10, 10, 12, 0.95));
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(59, 130, 246, 0.15);
}

.keyword-card i {
    font-size: 52px;
    margin-bottom: 32px;
    background: linear-gradient(135deg, #e4e4e7 0%, #71717a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.4s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.keyword-card:hover i {
    transform: scale(1.1) translateZ(20px);
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px var(--accent-glow));
}

.keyword-card h4 {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.keyword-card p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 400;
}


/* =========================================
   9. CATEGORIES (List Layout)
   ========================================= */
.categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

.cat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-dim);
    padding: 50px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 50px;
    text-align: left;
}

.cat-card:hover {
    border-color: var(--accent-color);
    background: #18181b;
}

.cat-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-dim);
    transition: all 0.3s ease;
}

.cat-card:hover .cat-icon {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent-color);
}

.cat-icon i {
    font-size: 42px;
    color: var(--accent-color);
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
}

.cat-card:hover .cat-icon i {
    transform: scale(1.1);
}

.cat-info {
    flex: 1;
}

.cat-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.cat-info span {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(59, 130, 246, 0.1);
    padding: 6px 12px;
    border-radius: 99px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.cat-info p {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 800px;
}

.cat-link {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
    /* Ensure this is on the base state */
}

.cat-card:hover .cat-link {
    gap: 12px;
    color: var(--accent-color);
}

.cat-link i {
    font-size: 12px;
}

/* Ensure this is included */

@media (max-width: 768px) {
    .cat-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        padding: 40px;
    }

    .cat-icon {
        width: 70px;
        height: 70px;
    }

    .cat-icon i {
        font-size: 30px;
    }

    .cat-info h3 {
        font-size: 24px;
    }
}


/* =========================================
   10. PORTFOLIO
   ========================================= */
.portfolio-section {
    background: var(--bg-surface);
}

.pf-item {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    padding: 30px 40px;
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    margin-bottom: 24px;
}

.pf-item:hover {
    border-color: #fff;
}

.pf-meta {
    font-size: 14px;
    color: var(--accent-color);
    font-weight: 600;
    margin-top: 8px;
}


/* =========================================
   11. CONTACT
   ========================================= */
.contact {
    text-align: center;
    padding-bottom: 80px;
}

.contact h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 32px;
}

.contact-info {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 60px;
}


/* =========================================
   12. MOBILE RESPONSIVE
   ========================================= */
/* =========================================
   12. MOBILE RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 64px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0 20px;
        height: auto;
        min-height: 70px;
        flex-direction: column;
        justify-content: center;
        gap: 15px;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .logo {
        margin-bottom: 0;
    }

    nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        font-size: 13px;
    }

    section {
        padding: 80px 20px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 140px;
        /* Account for taller mobile header */
        text-align: center;
        display: flex;
        flex-direction: column-reverse;
        /* Logo on top visually if desired, but text on top is standard. Keeping text top.*/
        display: grid;
    }

    .hero-text-container {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .badge-container {
        justify-content: center;
        margin-bottom: 24px;
    }

    .badge {
        font-size: 11px;
        padding: 6px 12px;
    }

    .hero h1 {
        font-size: 42px;
        /* Smaller for mobile */
        margin-bottom: 20px;
    }

    .hero p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .btn-cta {
        padding: 12px 30px;
        font-size: 15px;
    }

    .hero-logo-img {
        max-width: 250px;
        /* Smaller logo on mobile */
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
        border-left-width: 3px;
        padding-left: 15px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-text h3 {
        font-size: 28px;
    }

    .awards-highlights {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .award-card {
        padding: 40px 20px;
    }

    .marquee-content span {
        font-size: 20px;
        /* Smaller partners text */
        gap: 40px;
    }

    .marquee-wrapper .marquee-content {
        gap: 40px;
    }

    .detail-header h1 {
        font-size: 32px;
    }

    .service-highlight {
        flex-direction: column !important;
        padding: 30px 20px;
        gap: 40px;
    }

    .service-highlight.reverse {
        flex-direction: column !important;
    }

    .service-visual {
        height: 250px;
        width: 100%;
    }

    .cat-card {
        padding: 30px;
        gap: 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .cat-icon {
        width: 60px;
        height: 60px;
    }

    .cat-icon i {
        font-size: 28px;
    }

    .cat-info h3 {
        font-size: 22px;
    }
}


/* =========================================
   13. DETAIL PAGES (SPA)
   ========================================= */
.detail-section {
    padding-top: 120px;
    padding-bottom: 80px;
    background: var(--bg-main);
    color: #fff;
    min-height: 100vh;
}

.detail-header {
    text-align: center;
    margin-bottom: 80px;
}

.detail-header h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #fff, #999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.detail-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
}

.btn-back {
    background: none;
    border: 1px solid var(--border-light);
    color: #fff;
    padding: 10px 24px;
    border-radius: 99px;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 40px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-back:hover {
    background: #fff;
    color: #000;
}

.service-highlight {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 100px;
    padding: 40px;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-dim);
}

.service-highlight.reverse {
    flex-direction: row-reverse;
}

.service-text {
    flex: 1;
}

.service-text h2 {
    font-size: 32px;
    margin-bottom: 24px;
    color: #fff;
}

.service-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
}

.feature-list li {
    margin-bottom: 12px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-list i {
    color: var(--accent-color);
    font-size: 14px;
}

.service-visual {
    flex: 1;
    height: 300px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: var(--text-tertiary);
    border: 1px solid var(--border-dim);
}

/* Mini Portfolio Grid in Detail Pages */
.category-portfolio h3 {
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
}

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

.pf-card {
    background: var(--bg-surface);
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-dim);
}

.pf-thumb {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #333;
}

.pf-info {
    padding: 24px;
}

margin-bottom: 8px;
}

.pf-info span {
    font-size: 14px;
    color: var(--text-secondary);
}

/* --- Detail Page Specific Components --- */

.detail-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 99px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.detail-intro {
    margin-bottom: 120px;
    border-bottom: 1px solid var(--border-dim);
    padding-bottom: 60px;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text h3 {
    font-size: 28px;
    margin-bottom: 24px;
    color: #fff;
    font-style: italic;
    opacity: 0.9;
}

.intro-text p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.intro-stat {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
    background: var(--bg-surface);
    padding: 24px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-dim);
}

.stat-item .count {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.stat-item .label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sub-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 60px;
    color: #fff;
    position: relative;
    padding-left: 20px;
    border-left: 4px solid var(--accent-color);
}

.sub-title.center {
    text-align: center;
    border-left: none;
    padding-left: 0;
}

.svc-cat {
    display: block;
    font-size: 14px;
    color: var(--accent-color);
    /* cyan or accent */
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Process Steps */
.process-section {
    margin-bottom: 120px;
}

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

.step-card {
    background: var(--bg-surface);
    padding: 30px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-dim);
    position: relative;
    overflow: hidden;
}

.step-num {
    font-size: 40px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 10px;
    right: 20px;
}

.step-card h4 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 16px;
    position: relative;
}

.step-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
}

/* Tech Grid */
.tech-section {
    margin-bottom: 80px;
}

.tech-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-tertiary);
    transition: all 0.3s ease;
}

.tech-item i {
    font-size: 40px;
}

.tech-item span {
    font-size: 14px;
    font-weight: 600;
}

.tech-item:hover {
    color: var(--accent-color);
    transform: translateY(-5px);
}

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

    .process-steps {
        grid-template-columns: 1fr;
    }

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

/* --- New Content Sections (Creative & Graphic) --- */

/* 1. Philosophy: Auditory Architecture */
.philosophy-section {
    margin-bottom: 140px;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.05), transparent 60%);
    border-radius: var(--radius-lg);
    position: relative;
    padding: 60px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.philosophy-section::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 200px;
    font-family: serif;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    pointer-events: none;
}

.philosophy-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.philosophy-content h3 {
    font-size: 32px;
    /* Larger */
    color: #fff;
    margin-bottom: 24px;
    font-family: 'Playfair Display', serif;
    /* Use serif if available, else fallback */
    font-style: italic;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.philosophy-content p {
    font-size: 18px;
    color: var(--text-secondary);
    /* Lighter gray */
    line-height: 1.9;
    font-weight: 300;
}

.philosophy-content strong {
    color: #fff;
    font-weight: 600;
}


/* 2. Technical Expertise: Precision & Implementation */
.expertise-section {
    margin-bottom: 140px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.exp-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px 30px;
    border-radius: var(--radius-sm);
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

/* Gradient Top Border */
.exp-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.exp-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.exp-card:hover::after {
    opacity: 1;
    height: 4px;
}

.exp-card i {
    font-size: 36px;
    margin-bottom: 24px;
    display: inline-block;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 10px rgba(59, 130, 246, 0.3));
}

.exp-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
    letter-spacing: -0.01em;
}

.exp-card p {
    font-size: 15px;
    color: #999;
    line-height: 1.65;
}


/* 3. Quality Assurance (Adjusted) */
.qa-section {
    margin-bottom: 120px;
}

/* 4. Interactive Audio Samples (Wavesurfer) */
.samples-section {
    margin-bottom: 120px;
}

.samples-list-interactive {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.track-item {
    background: transparent;
    /* Clean look */
    /* border-bottom: 1px solid var(--border-dim); */
    padding: 10px 0;
}

.track-item:last-child {
    border-bottom: none;
}

.track-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}

.play-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 16px;
    flex-shrink: 0;
}

.play-btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.play-btn.playing {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #000;
}

.track-title {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    flex-grow: 1;
}

.track-time {
    font-size: 14px;
    color: var(--text-tertiary);
    font-family: monospace;
    min-width: 40px;
    text-align: right;
}

.waveform-container {
    width: 100%;
    height: 60px;
    /* margin-left: 64px; Indent to align with text if desired, or full width */
    opacity: 0.8;
}

@media (max-width: 768px) {
    .track-header {
        gap: 12px;
    }

    .play-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    /* .waveform-container { margin-left: 0; } */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* 5. Portfolio Gallery (Infinite Marquee) */
.gallery-section {
    margin-bottom: 120px;
    max-width: 100vw;
    overflow: hidden;
    position: relative;
}

/* Gradient Fade Masks on edges */
.gallery-section::before,
.gallery-section::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.gallery-section::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-main), transparent);
}

.gallery-section::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-main), transparent);
}

.marquee-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    will-change: transform;
}

/* Row 1 Animation: Scroll Left */
.marquee-track.row-1 {
    animation: scroll-left 40s linear infinite;
}

/* Row 2 Animation: Scroll Right */
.marquee-track.row-2 {
    animation: scroll-right 45s linear infinite;
}

.marquee-item {
    flex-shrink: 0;
    width: 240px;
    /* Reduced from 320px to show more items */
    height: 135px;
    /* Maintain 16:9 ratio */
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-dim);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

/* --- Game Overlay Styles --- */
#game-overlay {
    backdrop-filter: blur(4px);
    background: radial-gradient(circle, rgba(20, 20, 30, 0.85) 0%, rgba(0, 0, 0, 0.95) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

#sound-design-game-area:hover #game-overlay {
    background: radial-gradient(circle, rgba(30, 30, 50, 0.7) 0%, rgba(10, 10, 20, 0.9) 100%) !important;
}

.rpg-title {
    font-family: 'Orbitron', 'Cinzel', serif;
    /* Tech/Fantasy font fallback */
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.6);
    margin-bottom: 24px !important;
}

.play-cnt {
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Neon LED Button */
.start-btn {
    position: relative;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.start-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(68, 136, 255, 0.4), transparent 60%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
    z-index: -1;
}

.start-btn:hover {
    border-color: #4488ff;
    color: #fff;
    box-shadow:
        0 0 20px rgba(68, 136, 255, 0.4),
        inset 0 0 10px rgba(68, 136, 255, 0.2);
    transform: translateY(-2px);
    text-shadow: 0 0 8px rgba(68, 136, 255, 0.8);
}

.start-btn:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.start-btn:active {
    transform: translateY(1px);
    box-shadow: 0 0 5px rgba(68, 136, 255, 0.4);
}

.pulse-ring {
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.4);
    }

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

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



.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Fills frame for clean premium look */
    filter: brightness(0.9);
    /* Slightly brighter by default */
    transition: all 0.3s ease;
}

.marquee-item:hover {
    transform: scale(1.1);
    /* Slightly more pop */
    border-color: var(--accent-color);
    z-index: 5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.marquee-item:hover img {
    filter: brightness(1);
}

/* Pause animation on hover */
.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .marquee-item {
        width: 180px;
        /* Smaller on mobile */
        height: 100px;
    }
}


.qa-box {
    background: #0f0f12;
    /* Darker distinct bg */
    border: 1px solid var(--border-dim);
    padding: 60px;
    border-radius: var(--radius-lg);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* "Certified" Badge Effect */
.qa-box::before {
    content: 'CERTIFIED STANDARD';
    position: absolute;
    top: -12px;
    right: 40px;
    background: var(--bg-main);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    font-size: 12px;
    font-weight: 800;
    padding: 6px 16px;
    letter-spacing: 0.1em;
    border-radius: 4px;
}

.qa-list {
    width: 100%;
}

.qa-list li {
    margin-bottom: 24px;
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
    padding-left: 36px;
    padding-bottom: 24px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.qa-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.qa-list li::before {
    content: '\f00c';
    /* FontAwesome Check */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #10b981;
    /* Success Green */
    font-size: 18px;
}

.qa-list li strong {
    color: #fff;
    font-weight: 700;
    display: block;
    /* Stack on mobile, inline-block on desktop if needed */
    margin-bottom: 4px;
}

/* Feature Cards Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-dim);
    border-radius: 8px;
    padding: 24px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
}

.feature-card h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-dim);
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-card h4 i {
    color: var(--accent-color);
    font-size: 16px;
}

.feature-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-card li {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.feature-card li i {
    color: var(--text-tertiary);
    font-size: 12px;
    padding-top: 4px;
}

.feature-card strong {
    color: #ddd;
    font-weight: 600;
}