/* ==========================================================================
   TRI WAHYU HANDOYO - ULTRA-FUTURISTIC NEON MECHATRONICS DESIGN SYSTEM
   Theme: Deep Obsidian & Cyber Electric Blue / Cyan Glow
   ========================================================================== */

:root {
    --bg-dark: #030712;
    --bg-surface: #0b0f19;
    --bg-card: rgba(15, 23, 42, 0.65);
    --bg-card-hover: rgba(30, 41, 59, 0.85);

    /* Clean Futuristic Color Palette (No tacky purple) */
    --cyan-glow: #00f2fe;
    --blue-electric: #3b82f6;
    --blue-neon: #06b6d4;
    --emerald-neon: #10b981;
    --gold-glow: #f59e0b;

    /* Text Colors */
    --text-main: #f8fafc;
    --text-sub: #94a3b8;
    --text-muted: #64748b;

    /* Borders & Glass */
    --border-color: rgba(56, 189, 248, 0.15);
    --border-glow: rgba(0, 242, 254, 0.4);
    --glass-shadow: 0 10px 35px -5px rgba(0, 0, 0, 0.7), 0 0 15px rgba(0, 242, 254, 0.1);

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* LIGHT MODE OVERRIDES */
[data-theme="light"] {
    --bg-dark: #f1f5f9;
    --bg-surface: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-card-hover: #ffffff;
    --text-main: #0f172a;
    --text-sub: #475569;
    --text-muted: #64748b;
    --border-color: rgba(14, 165, 233, 0.2);
    --glass-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* CORE RESETS & TYPOGRAPHY */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    line-height: 1.6;
    background: radial-gradient(circle at 50% 0%, #0c192e 0%, #030712 70%);
}

/* BACKGROUND FUTURISTIC NEON GLOW BLOBS */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
    animation: floatGlow 14s ease-in-out infinite alternate;
}

.blob-1 {
    top: -10%;
    left: 20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--cyan-glow), transparent 70%);
}

.blob-2 {
    bottom: 10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #0284c7, transparent 70%);
    animation-delay: -5s;
}

.blob-3 {
    top: 45%;
    left: -10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #0d9488, transparent 70%);
    animation-delay: -9s;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, 40px) scale(1.1); }
    100% { transform: translate(-20px, 20px) scale(0.95); }
}

/* APP LAYOUT STRUCTURE */
.app-layout {
    display: flex;
    max-width: 1540px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* SIDEBAR NAVIGATION */
.sidebar-wrapper {
    width: 340px;
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 24px 16px 24px 24px;
    flex-shrink: 0;
}

.sidebar-content {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    height: 100%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: var(--glass-shadow);
}

.sidebar-content::-webkit-scrollbar {
    width: 4px;
}
.sidebar-content::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

/* PROFILE CARD IN SIDEBAR */
.profile-card {
    text-align: center;
    margin-bottom: 24px;
}

.avatar-box {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 16px;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--cyan-glow);
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.4);
    transition: transform 0.4s ease;
}

.avatar-box:hover .avatar-img {
    transform: scale(1.06) rotate(3deg);
}

.status-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: #090e17;
    border: 1px solid var(--cyan-glow);
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--emerald-neon);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--emerald-neon);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.status-text {
    font-size: 11px;
    font-weight: 700;
    color: var(--emerald-neon);
}

.profile-name {
    font-size: 20px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.profile-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--cyan-glow);
    margin-top: 4px;
}

.profile-subtitle {
    font-size: 12px;
    color: var(--text-sub);
    margin-top: 4px;
}

.profile-meta {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
    font-size: 12px;
    color: var(--text-sub);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.meta-item i {
    color: var(--cyan-glow);
    width: 14px;
}

/* SOCIAL PILLS */
.social-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
}

.pill-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid var(--border-color);
    color: var(--text-sub);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
}

.pill-icon:hover {
    background: var(--cyan-glow);
    color: #030712;
    border-color: var(--cyan-glow);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 242, 254, 0.4);
}

/* NAVIGATION MENU */
.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 20px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    color: var(--text-sub);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-item i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.nav-item:hover, .nav-item.active {
    background: linear-gradient(90deg, rgba(0, 242, 254, 0.15), rgba(59, 130, 246, 0.05));
    color: var(--cyan-glow);
    border-left: 3px solid var(--cyan-glow);
    padding-left: 16px;
}

.nav-item:hover i {
    transform: scale(1.2);
}

/* SIDEBAR FOOTER */
.sidebar-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.theme-toggle {
    width: 100%;
    padding: 10px;
    border-radius: var(--radius-md);
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    border-color: var(--cyan-glow);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
}

.copyright-text {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 10px;
}

/* MAIN BODY CONTENT AREA */
.main-body {
    flex: 1;
    padding: 24px 32px;
    max-width: 1200px;
}

.content-section {
    margin-bottom: 70px;
    scroll-margin-top: 30px;
}

/* SECTION TITLES */
.section-title-box {
    margin-bottom: 32px;
}

.section-main-title {
    font-size: 28px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, var(--cyan-glow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtext {
    font-size: 14px;
    color: var(--text-sub);
    margin-top: 6px;
}

/* HERO SECTION */
.hero-header {
    margin-bottom: 24px;
}

.glow-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 30px;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.3);
    color: var(--cyan-glow);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.hero-heading {
    font-size: 42px;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    line-height: 1.25;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--cyan-glow) 0%, #3b82f6 50%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subheading {
    font-size: 16px;
    color: var(--text-sub);
    max-width: 850px;
    line-height: 1.7;
}

/* BUTTONS */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.btn {
    padding: 12px 26px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;

    /* 3D Transform Defaults */
    transform-style: preserve-3d;
    perspective: 1000px;
}

.btn-glow {
    background: linear-gradient(135deg, var(--cyan-glow) 0%, #0284c7 100%);
    color: #030712;
    box-shadow: 0 10px 25px rgba(0, 242, 254, 0.35);
}

.btn-glow:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.5);
}

.btn-glass {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(51, 65, 85, 0.8);
    border-color: var(--cyan-glow);
    transform: translateY(-3px);
}

.btn-outline-glow {
    background: transparent;
    border: 1px solid var(--cyan-glow);
    color: var(--cyan-glow);
}

.btn-outline-glow:hover {
    background: rgba(0, 242, 254, 0.15);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
    transform: translateY(-3px);
}

/* 3D CARD PHYSICS & HOVER EFFECT */
.comp-card, .stat-glass-card, .article-glass-card, .project-glass-card, .cert-card-box, .wokwi-glass-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.comp-card:hover, .stat-glass-card:hover, .article-glass-card:hover, .project-glass-card:hover, .cert-card-box:hover, .wokwi-glass-card:hover {
    transform: translateY(-10px) rotateX(4deg) rotateY(-2deg) scale(1.02);
    border-color: var(--cyan-glow);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 242, 254, 0.25);
}

/* COMPETENCY CARDS GRID */
.competency-container {
    margin-top: 45px;
}

.section-sub-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--text-main);
}

.competency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.comp-card {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 22px;
}

.comp-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.icon-blue { background: rgba(0, 242, 254, 0.15); color: var(--cyan-glow); }
.icon-purple { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.icon-emerald { background: rgba(16, 185, 129, 0.15); color: var(--emerald-neon); }
.icon-gold { background: rgba(245, 158, 11, 0.15); color: var(--gold-glow); }

.comp-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.comp-card p {
    font-size: 13px;
    color: var(--text-sub);
    line-height: 1.6;
}

/* STATS SECTION */
.stats-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.stat-glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 26px;
    text-align: center;
}

.stat-icon-wrapper {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.gold-glow { background: rgba(245, 158, 11, 0.15); color: var(--gold-glow); }
.blue-glow { background: rgba(0, 242, 254, 0.15); color: var(--cyan-glow); }
.purple-glow { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.emerald-glow { background: rgba(16, 185, 129, 0.15); color: var(--emerald-neon); }

.stat-value {
    font-size: 34px;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
}

.stat-title {
    font-size: 14px;
    font-weight: 700;
    margin-top: 4px;
}

.stat-desc {
    font-size: 12px;
    color: var(--text-sub);
    margin-top: 2px;
}

/* CERTIFICATES SECTION - PROMINENT FULL VIEW */
.filter-toolbar {
    margin-bottom: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 280px;
}

.search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-box input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border-radius: var(--radius-md);
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-box input:focus {
    border-color: var(--cyan-glow);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.category-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 8px 18px;
    border-radius: 20px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid var(--border-color);
    color: var(--text-sub);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover, .tab-btn.active {
    background: var(--cyan-glow);
    color: #030712;
    border-color: var(--cyan-glow);
    font-weight: 700;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 28px;
}

.cert-card-box {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cert-thumb {
    position: relative;
    width: 100%;
    background: #030712;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
}

.cert-thumb img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
    transition: transform 0.35s ease;
}

.cert-thumb:hover img {
    transform: scale(1.03);
}

.thumb-hover {
    position: absolute;
    inset: 0;
    background: rgba(3, 7, 18, 0.65);
    color: var(--cyan-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cert-thumb:hover .thumb-hover {
    opacity: 1;
}

.cert-info {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    align-self: flex-start;
}

.gold-badge { background: rgba(245, 158, 11, 0.2); color: var(--gold-glow); border: 1px solid rgba(245, 158, 11, 0.4); }
.blue-badge { background: rgba(0, 242, 254, 0.15); color: var(--cyan-glow); border: 1px solid rgba(0, 242, 254, 0.4); }
.purple-badge { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.4); }
.emerald-badge { background: rgba(16, 185, 129, 0.15); color: var(--emerald-neon); border: 1px solid rgba(16, 185, 129, 0.4); }

.cert-name {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.4;
    margin-bottom: 6px;
}

.cert-issuer {
    font-size: 12px;
    color: var(--cyan-glow);
    font-weight: 600;
    margin-bottom: 10px;
}

.cert-summary {
    font-size: 13px;
    color: var(--text-sub);
    line-height: 1.5;
    margin-bottom: 18px;
}

.cert-actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
}

.btn-sm {
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary-sm {
    background: var(--cyan-glow);
    color: #030712;
}

.btn-primary-sm:hover {
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.5);
    transform: translateY(-2px);
}

.btn-secondary-sm {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-secondary-sm:hover {
    border-color: var(--cyan-glow);
    color: var(--cyan-glow);
    transform: translateY(-2px);
}

/* ARTICLES & KTI SECTION */
.articles-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.article-glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.article-meta-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.article-year {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
}

.article-heading {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--text-main);
}

.article-text {
    font-size: 13px;
    color: var(--text-sub);
    line-height: 1.6;
    margin-bottom: 18px;
}

.article-pill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

.article-pill-tags span {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 12px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid var(--border-color);
    color: var(--cyan-glow);
}

/* PROJECTS SECTION */
.projects-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 24px;
}

.project-glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 26px;
    display: flex;
    flex-direction: column;
}

.project-glass-card.featured {
    border-color: rgba(0, 242, 254, 0.4);
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.15);
}

.project-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.proj-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 242, 254, 0.15);
    color: var(--cyan-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.proj-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.proj-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
}

.proj-desc {
    font-size: 13px;
    color: var(--text-sub);
    line-height: 1.6;
    margin-bottom: 18px;
}

.proj-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    margin-bottom: 16px;
}

.proj-tech-stack span {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(30, 41, 59, 0.8);
    color: var(--cyan-glow);
}

.proj-links {
    display: flex;
    gap: 10px;
}

/* WOKWI SIMULATIONS */
.wokwi-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.wokwi-glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 22px;
}

.wokwi-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    color: var(--cyan-glow);
    font-size: 18px;
}

.wokwi-pill {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--emerald-neon);
}

.wokwi-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.wokwi-desc {
    font-size: 12px;
    color: var(--text-sub);
    margin-bottom: 16px;
}

.wokwi-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 10px;
    background: rgba(0, 242, 254, 0.15);
    border: 1px solid var(--cyan-glow);
    color: var(--cyan-glow);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.wokwi-action-btn:hover {
    background: var(--cyan-glow);
    color: #030712;
    transform: translateY(-2px);
}

/* INSTAGRAM & CONTENT SHOWCASE */
.channel-banner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.channel-card {
    border-radius: var(--radius-xl);
    padding: 26px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.detronics-bg {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(6, 182, 212, 0.15));
}

.personal-bg {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(59, 130, 246, 0.15));
}

.channel-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.channel-brand i {
    font-size: 28px;
    color: var(--cyan-glow);
}

.channel-brand h3 {
    font-size: 18px;
    font-weight: 800;
}

.channel-brand p {
    font-size: 12px;
    color: var(--text-sub);
}

.channel-desc {
    font-size: 13px;
    color: var(--text-sub);
    margin-bottom: 18px;
}

.channel-btn {
    margin-top: auto;
    padding: 10px 18px;
    border-radius: 12px;
    background: var(--cyan-glow);
    color: #030712;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    transition: transform 0.3s ease;
}

.channel-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 242, 254, 0.4);
}

.media-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 28px;
}

.media-video-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.video-header {
    padding: 12px 18px;
    background: rgba(30, 41, 59, 0.6);
    font-size: 12px;
    font-weight: 700;
    color: var(--cyan-glow);
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-frame {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

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

.video-details {
    padding: 18px;
}

.video-details h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.video-details p {
    font-size: 12px;
    color: var(--text-sub);
    margin-bottom: 10px;
}

.video-link {
    font-size: 12px;
    font-weight: 700;
    color: var(--cyan-glow);
    text-decoration: none;
}

.playlist-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 24px;
}

.playlist-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--cyan-glow);
    display: flex;
    align-items: center;
    gap: 10px;
}

.playlist-frame {
    position: relative;
    padding-bottom: 50%;
    height: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.playlist-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* DOCUMENTATION PHOTO GALLERY */
.gallery-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-photo-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    height: 220px;
    background: #030712;
    border: 1px solid var(--border-color);
}

.gallery-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-photo-card:hover img {
    transform: scale(1.08);
}

.photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(3, 7, 18, 0.85) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    color: var(--text-main);
    font-weight: 700;
    font-size: 13px;
}

/* CONTACT BOX */
.contact-box-wrapper {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(6, 182, 212, 0.2));
    border: 1px solid var(--cyan-glow);
    border-radius: var(--radius-xl);
    padding: 45px 30px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 242, 254, 0.2);
}

.contact-title {
    font-size: 32px;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 12px;
}

.contact-desc {
    font-size: 15px;
    color: var(--text-sub);
    max-width: 650px;
    margin: 0 auto 28px;
}

.contact-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 15px;
}

/* LIGHTBOX MODAL */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(3, 7, 18, 0.9);
    backdrop-filter: blur(15px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    padding: 24px;
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-close-btn {
    position: absolute;
    top: 24px;
    right: 28px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.lightbox-close-btn:hover {
    background: var(--cyan-glow);
    color: #030712;
}

.lightbox-dialog {
    max-width: 1000px;
    width: 100%;
    text-align: center;
}

.lightbox-dialog img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
    border: 1px solid var(--border-color);
}

.lightbox-caption-text {
    color: var(--cyan-glow);
    font-weight: 700;
    font-size: 15px;
    margin-top: 14px;
}

/* MOBILE HEADER & RESPONSIVE RULES */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 65px;
    background: rgba(3, 7, 18, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 0 20px;
    align-items: center;
    justify-content: space-between;
}

.mobile-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--cyan-glow);
}

.mobile-title {
    display: flex;
    flex-direction: column;
}

.m-name { font-size: 14px; font-weight: 800; }
.m-sub { font-size: 10px; color: var(--cyan-glow); }

.mobile-toggle {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 22px;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .mobile-header { display: flex; }
    .app-layout { flex-direction: column; }
    .sidebar-wrapper {
        position: fixed;
        left: -360px;
        top: 65px;
        bottom: 0;
        z-index: 999;
        transition: left 0.35s ease;
    }
    .sidebar-wrapper.mobile-open { left: 0; }
    .main-body { padding: 90px 20px 40px; }
    .hero-heading { font-size: 32px; }
}

/* SCROLL REVEAL ENTRANCE ANIMATION */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(35px) scale(0.96);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}


/* ==========================================================================
   HIGH-END CYBERPUNK ANIMATIONS & 3D SPOTLIGHT EFFECTS
   ========================================================================== */

/* CANVAS PARTICLE BACKGROUND */
#particleCanvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

/* ANIMATED GLOWING CONIC BORDER FOR FEATURED CARDS */
.project-glass-card.featured, .cert-card-box:hover {
    position: relative;
}

.project-glass-card.featured::before, .cert-card-box::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius-xl) + 2px);
    background: conic-gradient(from var(--angle, 0deg), var(--cyan-glow), var(--blue-electric), var(--emerald-neon), var(--cyan-glow));
    z-index: -1;
    opacity: 0.5;
    animation: rotateConic 6s linear infinite;
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes rotateConic {
    to { --angle: 360deg; }
}

/* MOUSE SPOTLIGHT EFFECT ON CARDS */
.comp-card, .stat-glass-card, .article-glass-card, .project-glass-card, .cert-card-box, .wokwi-glass-card {
    position: relative;
    overflow: hidden;
}

.card-spotlight {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 242, 254, 0.18), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.comp-card:hover .card-spotlight,
.stat-glass-card:hover .card-spotlight,
.article-glass-card:hover .card-spotlight,
.project-glass-card:hover .card-spotlight,
.cert-card-box:hover .card-spotlight,
.wokwi-glass-card:hover .card-spotlight,
.edu-glass-card:hover .card-spotlight {
    opacity: 1;
}

/* 3D FLOATING ANIMATION FOR HERO ICONS */
.comp-icon i, .proj-icon-box i, .stat-icon-wrapper i {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateZ(25px);
}

.comp-card:hover .comp-icon i,
.project-glass-card:hover .proj-icon-box i,
.stat-glass-card:hover .stat-icon-wrapper i {
    transform: translateZ(40px) scale(1.25) rotate(-5deg);
    color: var(--cyan-glow);
}

/* SHIMMERING TEXT ANIMATION */
.gradient-text {
    background: linear-gradient(90deg, #00f2fe 0%, #3b82f6 25%, #10b981 50%, #00f2fe 75%, #3b82f6 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineText 4s linear infinite;
}

@keyframes shineText {
    to { background-position: 200% center; }
}

/* BUTTON RIPPLE EFFECT */
.btn, .btn-sm {
    position: relative;
    overflow: hidden;
}

.btn .ripple, .btn-sm .ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: rippleAnim 0.6s linear;
    background-color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

@keyframes rippleAnim {
    to { transform: scale(4); opacity: 0; }
}


/* ==========================================================================
   INTERACTIVE THREE.JS 3D CAD MODEL VIEWER STYLES
   ========================================================================== */

.threeD-card-container {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(6, 182, 212, 0.15));
    border: 1px solid var(--cyan-glow);
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: 0 0 35px rgba(0, 242, 254, 0.2);
    position: relative;
    overflow: hidden;
}

.threeD-viewport-box {
    width: 100%;
    height: 480px;
    background: radial-gradient(circle at 50% 50%, #0c182b 0%, #030712 90%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

#threeDCanvas {
    width: 100%;
    height: 100%;
    display: block;
    cursor: grab;
}

#threeDCanvas:active {
    cursor: grabbing;
}

.threeD-overlay-controls {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

.threeD-overlay-controls > * {
    pointer-events: auto;
}

.threeD-model-btn-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.threeD-btn {
    padding: 8px 14px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--border-color);
    color: var(--text-sub);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.threeD-btn:hover, .threeD-btn.active {
    background: var(--cyan-glow);
    color: #030712;
    border-color: var(--cyan-glow);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.threeD-info-pill {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: var(--cyan-glow);
    backdrop-filter: blur(10px);
}


/* ==========================================================================
   PROJECT & KTI DETAIL MODAL POPUP STYLES
   ========================================================================== */

.project-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(3, 7, 18, 0.88);
    backdrop-filter: blur(16px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 20px;
}

.project-modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.project-modal-box {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(11, 15, 25, 0.98));
    border: 1px solid var(--cyan-glow);
    border-radius: var(--radius-xl);
    max-width: 850px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 0 50px rgba(0, 242, 254, 0.3);
    position: relative;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 32px;
}

.project-modal-backdrop.active .project-modal-box {
    transform: scale(1) translateY(0);
}

.project-modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.project-modal-close:hover {
    background: var(--cyan-glow);
    color: #030712;
}

.modal-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 10px;
}

.modal-proj-title {
    font-size: 24px;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    margin-bottom: 14px;
    line-height: 1.3;
}

.modal-spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 13px;
}

.modal-spec-table th, .modal-spec-table td {
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.modal-spec-table th {
    background: rgba(0, 242, 254, 0.12);
    color: var(--cyan-glow);
    font-weight: 700;
    width: 30%;
}

.modal-spec-table td {
    color: var(--text-sub);
}

.modal-action-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}


/* ==========================================================================
   CINEMA HD VIDEO PLAYBACK MODAL STYLES
   ========================================================================== */

.cinema-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(3, 7, 18, 0.92);
    backdrop-filter: blur(20px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    padding: 20px;
}

.cinema-modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.cinema-modal-dialog {
    background: #030712;
    border: 1px solid var(--cyan-glow);
    border-radius: var(--radius-xl);
    max-width: 950px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(0, 242, 254, 0.35);
    position: relative;
    transform: scale(0.92);
    transition: transform 0.35s ease;
}

.cinema-modal-backdrop.active .cinema-modal-dialog {
    transform: scale(1);
}

.cinema-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.cinema-modal-close:hover {
    background: var(--cyan-glow);
    color: #030712;
}

.cinema-frame-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
}

.cinema-frame-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.cinema-details-box {
    padding: 24px;
    background: var(--bg-card);
}


/* ==========================================================================
   HERO SECTION INTERACTIVE 3D WEBGL CANVAS STYLES
   ========================================================================== */

.hero-layout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: center;
}

@media (max-width: 992px) {
    .hero-layout-grid {
        grid-template-columns: 1fr;
    }
}

.hero-3d-wrapper {
    position: relative;
    width: 100%;
    height: 340px;
    background: radial-gradient(circle at center, rgba(0, 242, 254, 0.12) 0%, rgba(15, 23, 42, 0.6) 70%);
    border: 1px solid var(--cyan-glow);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 0 35px rgba(0, 242, 254, 0.25);
}

#hero3DCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-3d-badge {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(3, 7, 18, 0.85);
    border: 1px solid var(--cyan-glow);
    color: var(--cyan-glow);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    pointer-events: none;
    white-space: nowrap;
}

/* ==========================================================================
   UTILITY TEXT COLOR CLASSES
   ========================================================================== */
.text-cyan { color: var(--cyan-glow); }
.text-gold { color: var(--gold-glow); }
.text-emerald { color: var(--emerald-neon); }
.text-blue { color: var(--blue-electric); }
.text-red { color: #ef4444; }
.text-muted { color: var(--text-muted); }

/* ==========================================================================
   EDUCATION TIMELINE SECTION STYLES (4-LEVEL TIMELINE)
   ========================================================================== */

.edu-timeline-container {
    position: relative;
    padding: 20px 0 10px 0;
    margin-top: 10px;
}

.edu-timeline-track {
    position: absolute;
    top: 30px;
    bottom: 30px;
    left: 28px;
    width: 3px;
    background: linear-gradient(180deg, var(--gold-glow) 0%, var(--cyan-glow) 40%, var(--blue-electric) 75%, var(--emerald-neon) 100%);
    border-radius: 3px;
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.4);
    z-index: 1;
}

.edu-timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 36px;
    z-index: 2;
}

.edu-timeline-item:last-child {
    margin-bottom: 0;
}

/* Timeline Glowing Nodes */
.edu-timeline-node {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    position: relative;
    z-index: 3;
    transition: all 0.35s ease;
}

.gold-node {
    border: 2px solid var(--gold-glow);
    color: var(--gold-glow);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.35), inset 0 0 12px rgba(245, 158, 11, 0.2);
}

.purple-node {
    border: 2px solid #a855f7;
    color: #c084fc;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.35), inset 0 0 12px rgba(168, 85, 247, 0.2);
}

.blue-node {
    border: 2px solid var(--cyan-glow);
    color: var(--cyan-glow);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.35), inset 0 0 12px rgba(0, 242, 254, 0.2);
}

.emerald-node {
    border: 2px solid var(--emerald-neon);
    color: var(--emerald-neon);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.35), inset 0 0 12px rgba(16, 185, 129, 0.2);
}

.edu-timeline-item:hover .edu-timeline-node {
    transform: scale(1.12);
}

/* Education Glass Cards */
.edu-glass-card {
    flex: 1;
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 26px 28px;
    box-shadow: var(--glass-shadow);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}

.edu-glass-card.highlight-card {
    border-color: rgba(245, 158, 11, 0.4);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(245, 158, 11, 0.05));
    box-shadow: 0 10px 35px -5px rgba(0, 0, 0, 0.7), 0 0 20px rgba(245, 158, 11, 0.15);
}

.edu-glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--cyan-glow);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 242, 254, 0.2);
}

.edu-glass-card.highlight-card:hover {
    border-color: var(--gold-glow);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 25px rgba(245, 158, 11, 0.3);
}

.edu-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.edu-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.edu-status-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.edu-status-badge.active-status {
    background: rgba(16, 185, 129, 0.15);
    color: var(--emerald-neon);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.edu-status-badge.complete-status {
    background: rgba(148, 163, 184, 0.12);
    color: var(--text-sub);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.edu-period {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.edu-institution {
    font-size: 22px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    margin-bottom: 4px;
    letter-spacing: -0.3px;
}

.edu-degree {
    font-size: 14px;
    font-weight: 700;
    color: var(--cyan-glow);
    margin-bottom: 14px;
}

.edu-summary {
    font-size: 13.5px;
    color: var(--text-sub);
    line-height: 1.65;
    margin-bottom: 16px;
}

.edu-focus-box {
    background: rgba(11, 15, 25, 0.7);
    border-left: 3px solid var(--cyan-glow);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 10px 14px;
    margin-bottom: 16px;
}

.edu-glass-card.highlight-card .edu-focus-box {
    border-left-color: var(--gold-glow);
}

.focus-title {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-main);
    display: block;
    margin-bottom: 4px;
}

.focus-desc {
    font-size: 12.5px;
    color: var(--text-sub);
    margin-bottom: 0;
    line-height: 1.5;
}

.edu-achievements-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.edu-achieve-item {
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 8px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--gold-glow);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.edu-pill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.edu-pill-tags span {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid var(--border-color);
    color: var(--text-sub);
    transition: all 0.25s ease;
}

.edu-pill-tags span:hover {
    background: rgba(0, 242, 254, 0.18);
    color: var(--cyan-glow);
    border-color: var(--cyan-glow);
}

/* 3D Card Depth Hover Effect */
.comp-card, .stat-glass-card, .article-glass-card, .project-glass-card, .cert-card-box, .edu-glass-card {
    transform-style: preserve-3d;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.comp-card:hover .comp-icon,
.stat-glass-card:hover .stat-icon-wrapper,
.project-glass-card:hover .proj-icon-box,
.cert-card-box:hover .cert-thumb {
    transform: translateZ(25px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* MOBILE GPU & RENDERING PERFORMANCE OPTIMIZATIONS (60 FPS SMOOTH SCROLL) */
@media (max-width: 768px) {
    /* Reduce GPU backdrop filter blur rendering overhead */
    .article-glass-card, .cert-card-box, .project-glass-card, .stat-glass-card, .comp-card, .edu-glass-card {
        backdrop-filter: blur(6px) !important;
        -webkit-backdrop-filter: blur(6px) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
    }
    
    /* Disable heavy 3D perspective transforms on touch scrolling */
    .comp-card, .stat-glass-card, .article-glass-card, .project-glass-card, .cert-card-box, .edu-glass-card {
        transform: none !important;
        transform-style: flat !important;
    }
    
    /* Adjust Hero 3D wrapper height on mobile */
    .hero-3d-wrapper {
        height: 220px !important;
    }

    /* Education Timeline Mobile Tweaks */
    .edu-timeline-track {
        left: 20px;
    }
    .edu-timeline-node {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
    .edu-timeline-item {
        gap: 16px;
        margin-bottom: 24px;
    }
    .edu-glass-card {
        padding: 18px 16px;
    }
    .edu-institution {
        font-size: 18px;
    }
    .edu-degree {
        font-size: 13px;
    }
}
