/* Hero / About */
.hero { text-align: center; padding: 6rem 4rem; background: transparent; transition: background 0.5s; }
.hero h1 { font-size: 3rem; margin-bottom: 1rem; position: relative; display: inline-block; min-height: 1.2em; }
.hero p { font-size: 1.2rem; color: #aaa; max-width: 600px; margin: 0 auto 2rem; }
.skills { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.skill-tag { background: #333; padding: 5px 15px; border-radius: 20px; font-size: 0.9rem; border: 1px solid #444; transition: all 0.3s; }

/* Hero Intro Box */
.hero-intro {
    text-align: left;
    margin-bottom: 2rem;
}

.hero-intro h1 {
    display: block;
    margin: 0.5rem 0 1rem;
    text-align: left;
}

.hero-intro p {
    margin: 0;
    max-width: 100%;
    text-align: left;
}

/* Venture Showcase */
.venture-showcase {
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid #333;
    border-radius: 12px;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    transition: all 0.3s ease;
}

.venture-showcase:hover {
    border-color: var(--accent-color);
    background: rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.venture-info {
    flex: 1;
}

.venture-info h3 {
    margin: 0.5rem 0;
    font-size: 1.5rem;
    color: #fff;
}

.role-badge {
    background: var(--accent-color);
    color: #000;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.live-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1rem;
    color: var(--accent-color);
    font-family: monospace;
    border: 1px solid var(--accent-color);
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.2s;
}

.live-link-btn:hover {
    background: var(--accent-color);
    color: #000;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 5px #00ff00;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.card { background: var(--card-bg); border-radius: 8px; overflow: hidden; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; position: relative; }
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.3); }
.placeholder-3d { height: 250px; background: #444; display: flex; align-items: center; justify-content: center; color: #888; position: relative; overflow: hidden; }
.info { padding: 1.5rem; }
.info h3 { margin: 0 0 0.5rem 0; color: #fff; }
.info p { margin: 0; color: #bbb; font-size: 0.9rem; }

/* Card Tags */
.card-tags {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.card-tag {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
    border: 1px solid #444;
}

.card-tag.unity {
    border-color: #fff;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
}

/* --- GALLERY TABS --- */
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 1px solid #444;
    color: #888;
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: var(--font-main);
}

.tab-btn:hover {
    border-color: var(--accent-color);
    color: #fff;
}

.tab-btn.active {
    background: var(--accent-color);
    color: #000;
    border-color: var(--accent-color);
    font-weight: bold;
}

/* Cyber Mode Overrides for Tabs */
body.cyber-mode .tab-btn {
    border-radius: 0;
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
}

body.cyber-mode .tab-btn.active {
    background: transparent;
    color: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
    text-shadow: 0 0 5px var(--accent-color);
}

/* Gallery Grid Animation */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card.hidden {
    display: none;
}

.card.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

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

/* Unified Content Box (Glass Panel) */
.content-box {
    margin: 0 auto 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #333;
    border-radius: 16px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    max-width: 1100px; /* Consistent max-width */
}

.content-box:hover {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
}

/* B2B Section */
.b2b { margin-top: 2rem; }
/* .b2b h2 removed to match global style */

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

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #444;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 15px var(--accent-color);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.service-card p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #333;
    padding-top: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.service-features li:last-child {
    margin-bottom: 0;
}

.service-features li i {
    color: var(--accent-color);
    font-size: 0.8rem;
}

/* Cyber Mode Overrides for Services */
body.cyber-mode .service-card {
    border-radius: 0;
    border: 1px solid #333;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 90% 100%, 0 100%);
}

body.cyber-mode .service-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.1);
}

body.cyber-mode .service-icon {
    border-radius: 0;
    border: 1px solid var(--accent-color);
    background: transparent;
    color: var(--accent-color);
}

body.cyber-mode .service-card:hover .service-icon {
    background: var(--accent-color);
    color: #000;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-category h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.skill-category h3 i {
    color: var(--accent-color);
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.skill-item.easter-egg {
    cursor: pointer;
    transition: all 0.3s ease;
}

.skill-item.easter-egg:hover {
    transform: translateX(5px);
}

.skill-item.easter-egg:hover .skill-name {
    color: var(--accent-color);
    text-shadow: 0 0 8px var(--accent-color);
}

.skill-name {
    font-size: 0.9rem;
    color: #ccc;
}

.skill-bar {
    height: 6px;
    background: #333;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: var(--accent-color);
    border-radius: 3px;
    position: relative;
    transition: width 1s ease-in-out;
}

/* Service Category Title */
.service-category-title {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    margin-top: 2rem;
}

.service-category-title i {
    color: var(--accent-color);
}

/* Cyber Mode Overrides for Service Category Title */
body.cyber-mode .service-category-title {
    border-bottom: 1px solid var(--accent-color);
    text-shadow: 0 0 5px var(--accent-color);
}

/* Cyber Mode Overrides for Skills */
body.cyber-mode .skill-bar {
    border-radius: 0;
    background: rgba(255, 255, 255, 0.1);
}

body.cyber-mode .skill-progress {
    border-radius: 0;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

.contact-btn { background: var(--accent-color); color: #000; padding: 10px 25px; border-radius: 5px; font-weight: bold; display: inline-block; margin-top: 1rem; transition: transform 0.1s; }
.contact-btn:active { transform: scale(0.95); }

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid #444;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-btn:hover {
    background: var(--accent-color);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 210, 255, 0.3);
}

/* Visual Services Grid (New Design) */
.visual-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.visual-service-card {
    position: relative;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.visual-service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.visual-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    z-index: 1;
}

/* Placeholder Gradients/Patterns until images are added */
.asset-bg {
    background: linear-gradient(45deg, #2a2a2a, #1a1a1a);
    background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

.level-bg {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    background-image: linear-gradient(0deg, transparent 24%, rgba(255, 255, 255, .05) 25%, rgba(255, 255, 255, .05) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, .05) 75%, rgba(255, 255, 255, .05) 76%, transparent 77%, transparent), linear-gradient(90deg, transparent 24%, rgba(255, 255, 255, .05) 25%, rgba(255, 255, 255, .05) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, .05) 75%, rgba(255, 255, 255, .05) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
}

.tech-bg {
    background: #111;
    background-image: repeating-linear-gradient(45deg, #1a1a1a 0, #1a1a1a 10px, #222 10px, #222 20px);
}

.course-bg {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 10px);
}

.art-bg {
    background: linear-gradient(45deg, #4a148c, #880e4f);
    background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
}

.godot-bg {
    background: linear-gradient(135deg, #478cbf, #2c3e50);
    background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.modeling-bg {
    background: linear-gradient(135deg, #e67e22, #d35400);
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 10px);
}

.mentorship-bg {
    background: linear-gradient(135deg, #8e44ad, #2c3e50);
    background-image: linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

.cover-art-bg {
    background: linear-gradient(135deg, #ff00cc, #333399);
    background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 15px 15px;
}

.print-bg {
    background: linear-gradient(135deg, #ff9966, #ff5e62);
    background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 20px);
}

.visual-service-card:hover .visual-bg {
    transform: scale(1.1);
}

.visual-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0));
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-icon-large {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.visual-service-card h3 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.explore-btn {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: bold;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.visual-service-card:hover .explore-btn {
    opacity: 1;
    transform: translateY(0);
}

/* --- SERVICES PAGE MODERN REDESIGN --- */

.services-hero {
    text-align: center;
    padding: 4rem 2rem;
}

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

.service-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 0 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card-modern {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.service-card-modern:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Background Icon Watermark */
.service-card-modern .bg-icon {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.02);
    transform: rotate(15deg);
    transition: all 0.5s ease;
    pointer-events: none;
}

.service-card-modern:hover .bg-icon {
    color: rgba(0, 210, 255, 0.05);
    transform: rotate(0deg) scale(1.1);
}

.service-card-modern h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #fff;
    position: relative;
    z-index: 1;
}

.service-card-modern h2 i {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 1.5rem;
}

.service-card-modern p {
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.service-features-modern {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.service-features-modern li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0.8rem;
    color: #ddd;
    font-size: 0.95rem;
}

.service-features-modern li i {
    color: var(--accent-color);
    margin-top: 5px;
}

/* Cyber Mode Overrides */
body.cyber-mode .service-card-modern {
    border: 1px solid var(--accent-color);
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.1);
    border-radius: 0;
}

body.cyber-mode .service-card-modern:hover {
    box-shadow: 0 0 25px var(--accent-color);
    background: rgba(0, 210, 255, 0.05);
}

body.cyber-mode .service-card-modern h2 {
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
}

/* --- PROCESS SECTION --- */
.process-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 1rem;
}

.step-number {
    font-size: 4rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    font-family: 'Space Mono', monospace;
}

.process-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    background: #111; /* Match bg */
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #333;
}

.process-step h3 {
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.process-step p {
    color: #aaa;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* --- PROCESS TABS --- */
.process-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.process-tab-btn {
    background: transparent;
    border: 1px solid #333;
    color: #888;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.process-tab-btn:hover {
    border-color: #666;
    color: #fff;
}

.process-tab-btn.active {
    background: var(--accent-color);
    color: #000;
    border-color: var(--accent-color);
    font-weight: bold;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
}

/* Hide all process steps by default */
.process-steps {
    display: none;
    animation: fadeIn 0.5s ease;
}

/* Show only the active one */
.process-steps.active {
    display: grid;
}

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

/* Cyber Mode Overrides for Tabs */
body.cyber-mode .process-tab-btn {
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 0;
}

body.cyber-mode .process-tab-btn.active {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 20px var(--accent-color);
}

/* --- FAQ SECTION --- */
.faq-section {
    padding: 4rem 2rem;
    margin-top: 4rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-left: 3px solid var(--accent-color);
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.faq-item p {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- CTA SECTION --- */
.cta-section {
    text-align: center;
    padding: 4rem 2rem;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.big-cta-btn {
    display: inline-block;
    background: var(--accent-color);
    color: #000;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.big-cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.3);
}

/* Cyber Mode Overrides */
body.cyber-mode .process-icon {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

body.cyber-mode .step-number {
    color: rgba(0, 210, 255, 0.1);
    text-shadow: 0 0 10px var(--accent-color);
}

body.cyber-mode .big-cta-btn {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
    text-transform: uppercase;
    font-family: 'Space Mono', monospace;
}

body.cyber-mode .big-cta-btn:hover {
    background: var(--accent-color);
    color: #000;
}

/* --- INTERACTIVE SERVICES LAYOUT --- */
.services-interactive-layout {
    display: flex;
    gap: 4rem;
    width: 100%;
    min-height: 500px;
    align-items: center;
}

.services-menu {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-menu-btn {
    text-align: left;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    color: #888;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
}

.service-menu-btn i {
    font-size: 1.2rem;
    width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-menu-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #555;
    color: #fff;
    transform: translateX(10px);
}

.service-menu-btn.active {
    background: var(--accent-color);
    color: #000;
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.2);
    transform: translateX(10px);
    font-weight: bold;
}

.services-display {
    flex: 1;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #333;
    backdrop-filter: blur(5px);
}

.service-detail-view {
    display: none;
    animation: fadeSlide 0.5s ease;
}

.service-detail-view.active {
    display: block;
}

.service-detail-view h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-detail-view h2 i {
    color: var(--accent-color);
}

.service-detail-view p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 2rem;
}

.service-detail-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.feature-item:hover {
    border-color: var(--accent-color);
}

.feature-item i {
    color: var(--accent-color);
}

@keyframes fadeSlide {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Cyber Mode Overrides */
body.cyber-mode .service-menu-btn {
    border-radius: 0;
    border: 1px solid #333;
}

body.cyber-mode .service-menu-btn.active {
    background: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
    border: 1px solid var(--accent-color);
}

body.cyber-mode .services-display {
    border: 1px solid var(--accent-color);
    background: rgba(0, 0, 0, 0.8);
    border-radius: 0;
    box-shadow: inset 0 0 20px rgba(0, 210, 255, 0.05);
}

/* --- COMPACT SERVICES GRID (Homepage) --- */
.compact-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.compact-service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #333;
    padding: 2rem 1rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: #ccc;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.compact-service-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.compact-service-card span {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.compact-service-card:hover {
    background: var(--accent-color);
    color: #000;
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.2);
}

.compact-service-card:hover i {
    color: #000;
    transform: scale(1.2);
}

/* Cyber Mode Overrides */
body.cyber-mode .compact-service-card {
    border-radius: 0;
    border: 1px solid var(--accent-color);
    background: rgba(0, 0, 0, 0.5);
}

body.cyber-mode .compact-service-card:hover {
    background: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
}

/* --- RESUME / TIMELINE STYLES --- */
.resume-section {
    padding: 2rem 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Vertical Line */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px; /* Adjust for mobile first */
    width: 2px;
    background: #444;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 50px;
}

.timeline-dot {
    position: absolute;
    left: 11px; /* Center on the line (20px left + 1px width - 10px radius) */
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-color);
    z-index: 2;
}

.timeline-date {
    font-family: 'Space Mono', monospace;
    color: var(--accent-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
    transition: transform 0.3s ease, background 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.08);
}

.timeline-content h3 {
    margin: 0 0 0.5rem 0;
    color: #fff;
}

.timeline-content .company {
    display: block;
    font-style: italic;
    color: #aaa;
    margin-bottom: 1rem;
}

.tech-stack {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-stack span {
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #ccc;
    border: 1px solid #444;
}

/* Skills Matrix */
.skills-grid-advanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-category h3 {
    border-bottom: 1px solid #444;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.skill-bar-container {
    margin-bottom: 1.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #ddd;
}

.skill-bar {
    height: 8px;
    background: #333;
    border-radius: 4px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: var(--accent-color);
    border-radius: 4px;
    position: relative;
    width: 0; /* Start at 0 for animation */
    animation: fillBar 1.5s ease-out forwards;
}

@keyframes fillBar {
    from { width: 0; }
}

/* Desktop Adjustments for Timeline */
@media (min-width: 768px) {
    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline-item {
        width: 50%;
        padding-left: 0;
        padding-right: 40px;
        margin-left: 0;
    }

    .timeline-item:nth-child(even) {
        margin-left: 50%;
        padding-left: 40px;
        padding-right: 0;
    }

    .timeline-item:nth-child(odd) .timeline-content {
        text-align: right;
        border-left: none;
        border-right: 3px solid var(--accent-color);
    }
    
    .timeline-item:nth-child(odd) .tech-stack {
        justify-content: flex-end;
    }

    .timeline-dot {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .timeline-item:nth-child(odd) .timeline-date {
        position: absolute;
        right: -140px; /* Position date on the other side */
        top: 0;
        width: 100px;
        text-align: left;
    }

    .timeline-item:nth-child(even) .timeline-date {
        position: absolute;
        left: -140px;
        top: 0;
        width: 100px;
        text-align: right;
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    /* Fix Hero Padding on Mobile */
    .hero {
        padding: 2rem 1rem;
    }

    .content-box {
        padding: 1.5rem;
    }

    /* Additional Mobile Tweaks */
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }

    .venture-showcase {
        flex-direction: column;
        text-align: center;
    }

    .hero-intro {
        text-align: center;
    }
    
    .hero-intro h1, 
    .hero-intro p {
        text-align: center;
    }

    /* Adjust Gallery Grid for Mobile - Compact 2 Column */
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 Columns to save vertical space */
        gap: 10px;
        padding-bottom: 0;
        overflow-x: visible;
    }

    .card {
        min-width: 0;
        margin-bottom: 0;
    }

    /* Adjust Card Placeholder Height for compact view */
    .placeholder-3d {
        height: 120px; /* Smaller height */
    }
    
    .info {
        padding: 0.8rem; /* Compact padding */
    }
    
    .info h3 {
        font-size: 1rem; /* Smaller title */
        margin-bottom: 0.2rem;
    }
    
    .info p {
        font-size: 0.8rem;
        display: none; /* Hide description on mobile to save space */
    }
    
    .card-tags {
        display: none; /* Hide tags on mobile to save space */
    }

    /* Visual Services Grid Mobile Adjustments */
    .visual-services-grid {
        grid-template-columns: 1fr !important; /* Force single column on mobile */
        gap: 1.5rem;
    }

    .visual-service-card {
        height: 250px; /* Slightly smaller height on mobile */
    }

    .visual-content {
        padding: 1.5rem;
    }

    .visual-service-card h3 {
        font-size: 1.3rem;
    }
    
    .service-page-grid {
        grid-template-columns: 1fr;
        padding: 0 1.5rem 4rem;
    }
    
    .services-hero h1 {
        font-size: 2.5rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 900px) {
    .services-interactive-layout {
        flex-direction: column;
        gap: 2rem;
        padding: 0;
    }
    
    .services-menu {
        flex: none;
        display: grid;
        grid-template-columns: 1fr; /* Stack on mobile for better touch targets */
        gap: 0.5rem;
    }

    .service-menu-btn {
        padding: 1rem;
    }

    .service-menu-btn:hover, .service-menu-btn.active {
        transform: translateX(5px); /* Less movement on mobile */
    }
    
    .service-detail-view h2 {
        font-size: 1.8rem;
    }
}

/* --- GAMIFIED RESUME STYLES --- */

/* Character Sheet */
.character-sheet-section {
    padding: 4rem 2rem 2rem;
}

.character-sheet {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid #444;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.char-avatar {
    flex: 0 0 150px;
    text-align: center;
    position: relative;
}

.avatar-frame {
    width: 120px;
    height: 120px;
    background: #222;
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

.avatar-frame i {
    font-size: 4rem;
    color: var(--accent-color);
}

.level-badge {
    background: var(--accent-color);
    color: #000;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    font-family: 'Space Mono', monospace;
    box-shadow: 0 0 10px var(--accent-color);
}

.char-stats {
    flex: 1;
    min-width: 300px;
}

.char-name {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    color: #fff;
}

.char-class {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.class-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #ccc;
    border: 1px solid #444;
}

.class-tag i {
    color: var(--accent-color);
    margin-right: 5px;
}

/* Status Bars (HP/MP/XP) */
.status-bars {
    margin-bottom: 1.5rem;
    max-width: 500px;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.bar-label {
    width: 30px;
    font-weight: bold;
    font-family: 'Space Mono', monospace;
    color: #888;
}

.status-bar {
    flex: 1;
    height: 12px;
    background: #111;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #333;
}

.status-fill {
    height: 100%;
    border-radius: 6px;
    position: relative;
}

.status-bar.hp .status-fill { background: linear-gradient(90deg, #ff4d4d, #ff0000); width: 100%; }
.status-bar.mp .status-fill { background: linear-gradient(90deg, #4d94ff, #0066ff); width: 85%; }
.status-bar.xp .status-fill { background: linear-gradient(90deg, #ffd700, #ffaa00); width: 60%; }

.game-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 10px 20px;
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
    transition: all 0.3s;
    cursor: pointer;
}

.game-btn:hover {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 15px var(--accent-color);
}

/* Quest Log Styling */
.quest-card {
    border-left: 4px solid #444;
    position: relative;
}

.quest-active .quest-card {
    border-left-color: #ffd700; /* Gold for active */
    background: rgba(255, 215, 0, 0.05);
}

.quest-completed .quest-card {
    border-left-color: #4caf50; /* Green for completed */
    opacity: 0.8;
}

/* Future Quest Styling */
.quest-future .quest-card {
    border-left-color: #a855f7; /* Purple for future */
    background: rgba(168, 85, 247, 0.05);
    border-style: dashed;
}

.quest-status {
    font-size: 0.7rem;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    background: #333;
    color: #aaa;
}

.quest-active .quest-status {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border: 1px solid #ffd700;
}

.quest-completed .quest-status {
    background: rgba(0, 255, 0, 0.2);
    color: #00ff00;
    border: 1px solid #00ff00;
}

.loot-drop {
    margin-top: 1rem;
    border-top: 1px dashed #444;
    padding-top: 0.5rem;
}

.loot-label {
    font-size: 0.8rem;
    color: #888;
    margin-right: 0.5rem;
    font-family: 'Space Mono', monospace;
}

/* Achievements Grid */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.achievement-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #444;
    transition: transform 0.3s;
    cursor: pointer;
    position: relative;
}

.achievement-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.achievement-icon {
    width: 60px;
    height: 60px;
    background: #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffd700; /* Gold border */
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.achievement-icon i {
    font-size: 1.5rem;
    color: #ffd700;
}

.achievement-info h3 {
    margin: 0 0 0.3rem 0;
    font-size: 1.1rem;
    color: #fff;
}

.achievement-info .company {
    display: block;
    font-size: 0.9rem;
    color: #aaa;
}

.achievement-info .date {
    font-size: 0.8rem;
    color: #666;
    font-family: 'Space Mono', monospace;
}

/* --- ACHIEVEMENT MODAL --- */
.achievement-card {
    cursor: pointer;
    position: relative;
}

.click-hint {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: var(--accent-color);
    opacity: 0;
    transition: opacity 0.3s;
    font-family: 'Space Mono', monospace;
}

.achievement-card:hover .click-hint {
    opacity: 1;
}

.achievement-modal-box {
    background: rgba(15, 15, 20, 0.95);
    border: 1px solid var(--accent-color);
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.2);
    max-width: 600px;
    width: 90%;
    padding: 2rem;
    position: relative;
    backdrop-filter: blur(10px);
}

.achievement-header {
    border-bottom: 1px solid #333;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.achievement-header i {
    font-size: 2rem;
    color: var(--accent-color);
}

.achievement-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #fff;
}

.data-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.data-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 10px;
}

.data-list li i {
    color: var(--accent-color);
    font-size: 0.8rem;
}

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

.data-section-title {
    font-family: 'Space Mono', monospace;
    color: var(--accent-color);
    margin: 1.5rem 0 0.5rem 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
