/* --- Core Engine Variables (Maroon & Gold Theme) --- */
:root {
    --dark-void: #080102;
    --royal-maroon: #800000;
    --luxurious-gold: #FFC107; /* အရင်က ရွှေရောင်အတိုင်း ပြန်ပြောင်းထားသည် */
    --cloud-white: #ffffff;
    --ash-grey: #aaaaaa;
}

html {
    scroll-behavior: smooth;
    box-sizing: border-box;
}
*, *:before, *:after { box-sizing: inherit; }

body.portfolio-body {
    background-color: var(--dark-void);
    color: var(--cloud-white);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* --- Responsive Layout Base Container --- */
.portfolio-main-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
}

/* --- FIXED SPACING FOR TOP HEADER BAR --- */
.top-action-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 30px 0 10px 0; 
    width: 100%;
}

.go-back-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--cloud-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 24px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.go-back-home-btn:hover {
    background: rgba(128, 0, 0, 0.15); /* Maroon Base Glow */
    border-color: var(--luxurious-gold);
    color: var(--luxurious-gold);
    box-shadow: 0 4px 20px rgba(255, 193, 7, 0.15);
    transform: translateY(-2px);
}
.go-back-home-btn i { transition: transform 0.3s; }
.go-back-home-btn:hover i { transform: translateX(-4px); }

/* --- HERO STYLE ARCHITECTURE --- */
.hero-section {
    display: flex;
    align-items: center;
    padding: 40px 0 80px 0; /* မိုဘိုင်းနှင့် Desktop Spacing ညီစေရန် ထိန်းချုပ်မှု */
}
.hero-content-card {
    width: 100%;
}
.welcome-badge {
    background: rgba(255, 193, 7, 0.08);
    border: 1px solid rgba(255, 193, 7, 0.15);
    color: var(--luxurious-gold);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 25px;
}
.hero-name { font-size: 4rem; margin: 0 0 15px 0; font-weight: 800; }
.highlight-gold { color: var(--luxurious-gold); text-shadow: 0 0 20px rgba(255,193,7,0.2); }
.hero-typing-box { font-size: 2.2rem; margin: 0 0 25px 0; font-weight: 600; color: #fff; }
.cursor-pipe { animation: blink 0.7s infinite; color: var(--luxurious-gold); }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-bio-desc {
    max-width: 750px;
    line-height: 1.8;
    color: var(--ash-grey);
    font-size: 1.05rem;
    text-align: justify;
    margin: 0 0 40px 0;
}
.hero-action-buttons { display: flex; gap: 20px; flex-wrap: wrap; }
.btn-explore { background: var(--royal-maroon); color: #fff; padding: 14px 32px; border-radius: 12px; font-weight: 600; text-decoration: none; transition: 0.3s; box-shadow: 0 10px 20px rgba(128,0,0,0.3); }
.btn-explore:hover { background: #a60000; transform: translateY(-3px); }
.btn-talk { background: transparent; border: 1px solid rgba(255,255,255,0.1); color: #fff; padding: 14px 32px; border-radius: 12px; font-weight: 600; text-decoration: none; transition: 0.3s; }
.btn-talk:hover { background: rgba(255,255,255,0.05); }

/* --- UNIFORM SECTION HEADERS --- */
.section-header { text-align: center; margin-bottom: 60px; }
.section-subtitle { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 3px; color: var(--luxurious-gold); font-weight: 600; display: block; margin-bottom: 8px; }
.section-title { font-size: 2.5rem; margin: 0; font-weight: 700; }
.section-title span { background: linear-gradient(135deg, var(--luxurious-gold), #de2d43); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.title-underline { width: 60px; height: 3px; background: var(--royal-maroon); margin: 12px auto 0 auto; border-radius: 10px; }

/* --- CORE COMPETENCIES SKILLS --- */
.skills-section { padding: 80px 0; }
.skills-grid-box { display: flex; flex-direction: column; gap: 30px; }
.skill-card { background: rgba(255,255,255,0.01); border: 1px solid rgba(255,255,255,0.03); padding: 25px; border-radius: 16px; backdrop-filter: blur(10px); }
.skill-meta { display: flex; justify-content: space-between; margin-bottom: 12px; font-weight: 600; }
.skill-meta i { color: var(--luxurious-gold); margin-right: 8px; }
.progress-bar-track { width: 100%; height: 6px; background: rgba(255,255,255,0.05); border-radius: 10px; overflow: hidden; }
.progress-bar-track span { height: 100%; background: linear-gradient(to right, var(--royal-maroon), var(--luxurious-gold)); display: block; width: 0%; transition: width 1.5s cubic-bezier(0.1, 1, 0.1, 1); }

/* --- DYNAMIC PROJECTS FILTER GRID --- */
.projects-section { padding: 80px 0; }
.portfolio-filter-tabs { display: flex; justify-content: center; gap: 15px; margin-bottom: 50px; flex-wrap: wrap; }
.tab-btn { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); color: var(--ash-grey); padding: 10px 24px; border-radius: 50px; cursor: pointer; font-weight: 600; transition: 0.3s; }
.tab-btn.active, .tab-btn:hover { background: var(--royal-maroon); color: #fff; border-color: var(--luxurious-gold); }

.projects-layout-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.project-card-item { background: rgba(20, 8, 10, 0.6); border: 1px solid rgba(255,255,255,0.04); border-radius: 20px; overflow: hidden; transition: all 0.3s ease; }
.project-card-item:hover { border-color: rgba(255,193,7,0.3); transform: translateY(-4px); }
.p-img-box { height: 230px; overflow: hidden; background: #111; }
.p-img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.project-card-item:hover .p-img-box img { transform: scale(1.06); }
.p-info-details { padding: 30px; }
.p-category-tag { font-size: 0.7rem; color: var(--luxurious-gold); font-weight: 700; text-transform: uppercase; display: block; margin-bottom: 8px; }
.p-info-details h3 { font-size: 1.4rem; margin: 0 0 12px 0; }
.p-info-details p { color: var(--ash-grey); font-size: 0.95rem; line-height: 1.6; margin: 0 0 20px 0; text-align: justify; }
.p-action-link { color: #fff; text-decoration: none; font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }
.p-action-link:hover { color: var(--luxurious-gold); }

/* --- EDUCATION TIMELINE LOG --- */
.education-timeline-section { padding: 80px 0; }
.main-timeline-container { max-width: 800px; margin: 0 auto; border-left: 2px solid rgba(128,0,0,0.3); padding-left: 30px; }
.timeline-node { position: relative; margin-bottom: 50px; }
.node-indicator-dot { width: 12px; height: 12px; background: var(--luxurious-gold); position: absolute; left: -37px; top: 6px; border-radius: 50%; box-shadow: 0 0 10px var(--luxurious-gold); }
.node-year-badge { font-size: 0.85rem; color: var(--luxurious-gold); font-weight: 700; display: block; margin-bottom: 8px; }
.node-inner-card { background: rgba(255,255,255,0.01); border: 1px solid rgba(255,255,255,0.03); padding: 25px; border-radius: 14px; }
.node-inner-card h3 { margin: 0 0 10px 0; font-size: 1.2rem; }
.node-inner-card p { margin: 0; color: var(--ash-grey); font-size: 0.95rem; line-height: 1.6; }

/* --- INTERACTIVE FLOATING CONTACT FORM --- */
.contact-form-section { padding: 80px 0; background: linear-gradient(to top, rgba(128,0,0,0.05), transparent); }
.form-outer-wrapper { background: rgba(255,255,255,0.01); border: 1px solid rgba(128,0,0,0.15); padding: 40px; border-radius: 24px; backdrop-filter: blur(15px); max-width: 600px; margin: 0 auto; }
.form-header-box { text-align: center; margin-bottom: 35px; }
.form-header-box .f-sub { color: var(--luxurious-gold); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; }
.form-header-box h2 { font-size: 1.8rem; margin: 5px 0 0 0; }
.form-header-box h2 span { color: var(--luxurious-gold); }

.floating-input-group { position: relative; margin-bottom: 30px; }
.floating-input-group input, .floating-input-group textarea { width: 100%; background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding: 10px 0; color: #fff; font-size: 1rem; outline: none; transition: border-color 0.3s; }
.floating-input-group textarea { resize: none; }
.floating-input-group label { position: absolute; left: 0; top: 10px; color: #666; pointer-events: none; transition: 0.3s ease all; }

.floating-input-group input:focus ~ label, .floating-input-group input:not(:placeholder-shown) ~ label,
.floating-input-group textarea:focus ~ label, .floating-input-group textarea:not(:placeholder-shown) ~ label {
    top: -15px; font-size: 0.8rem; color: var(--luxurious-gold);
}
.floating-input-group input:focus, .floating-input-group textarea:focus { border-color: var(--luxurious-gold); }
.form-submit-btn { width: 100%; background: var(--royal-maroon); color: #fff; border: none; padding: 14px; border-radius: 10px; font-weight: 600; font-size: 1rem; cursor: pointer; transition: 0.3s; }
.form-submit-btn:hover { background: #a60000; box-shadow: 0 5px 15px rgba(128,0,0,0.4); }

/* --- PREMIUM AMBIENT GLOW ORBS --- */
.bg-glow-orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(140px); opacity: 0.12; }
.orb-1 { width: 400px; height: 400px; background: var(--royal-maroon); top: -10%; left: -10%; }
.orb-2 { width: 500px; height: 500px; background: var(--luxurious-gold); bottom: -10%; right: -10%; }

/* --- CUSTOM CURSOR CONTROL --- */
@media (min-width: 1025px) {
    .custom-cursor { width: 8px; height: 8px; background: var(--luxurious-gold); position: fixed; border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); transition: transform 0.1s ease; }
    .custom-cursor-blur { width: 40px; height: 40px; border: 1px solid var(--royal-maroon); position: fixed; border-radius: 50%; pointer-events: none; z-index: 9998; transform: translate(-50%, -50%); transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1); }
}

/* ================= ULTRA MOBILE RESPONSIVE ENGINE ================= */
@media (max-width: 992px) {
    .projects-layout-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-name { font-size: 3.2rem; }
    .hero-typing-box { font-size: 1.8rem; }
}

@media (max-width: 600px) {
    .portfolio-main-wrapper { padding: 0 16px; }
    .top-action-header { padding: 25px 0 0 0; } /* Mobile ထိပ်ဆုံး Spacing ကို လျှော့ချသည် */
    .go-back-home-btn { padding: 8px 18px; font-size: 0.88rem; }
    
    .hero-section { padding: 20px 0 50px 0; } /* 💡 Welcome Badge နှင့် ခလုတ်ကြား ကွာဟချက်ကို လုံးဝ ထိန်းညှိပြီးသားနေရာ */
    .welcome-badge { margin-bottom: 20px; font-size: 0.75rem; }
    
    .hero-name { font-size: 2.6rem; }
    .hero-typing-box { font-size: 1.4rem; }
    .hero-bio-desc { font-size: 0.98rem; line-height: 1.7; margin-bottom: 35px; }
    .hero-action-buttons { flex-direction: column; gap: 12px; }
    .btn-explore, .btn-talk { width: 100%; text-align: center; padding: 13px; }
    .section-title { font-size: 2rem; }
    .form-outer-wrapper { padding: 30px 20px; }
}


/* --- CORE COMPETENCIES SKILLS (DUAL COLUMN ARCHITECTURE) --- */
.skills-section { 
    padding: 80px 0; 
}

/* Desktop မှာ Column ၂ ခုခွဲရန် Grid စနစ်ပြောင်းလဲခြင်း */
.skills-dual-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 40px; 
}

.skills-column-box {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.skill-group-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--luxurious-gold);
    margin: 0 0 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 3px solid var(--royal-maroon);
    padding-left: 12px;
}

.skill-card { 
    background: rgba(255,255,255,0.01); 
    border: 1px solid rgba(255,255,255,0.03); 
    padding: 22px; 
    border-radius: 16px; 
    backdrop-filter: blur(10px); 
    transition: border-color 0.3s;
}
.skill-card:hover {
    border-color: rgba(255, 193, 7, 0.15);
}

.skill-meta { 
    display: flex; 
    justify-content: space-between; 
    margin-bottom: 12px; 
    font-weight: 600; 
    font-size: 0.95rem;
}
.skill-meta i { 
    color: var(--luxurious-gold);
    margin-right: 6px; 
}

.progress-bar-track { 
    width: 100%; 
    height: 6px; 
    background: rgba(255,255,255,0.05); 
    border-radius: 10px; 
    overflow: hidden; 
}
.progress-bar-track span { 
    height: 100%; 
    background: linear-gradient(to right, var(--royal-maroon), var(--luxurious-gold));
    display: block; 
    width: 0%; 
    transition: width 1.5s cubic-bezier(0.1, 1, 0.1, 1); 
}

/* ================= ULTRA MOBILE RESPONSIVE ENGINE (ADDITIONAL) ================= */
@media (max-width: 992px) {
    /* မိုဘိုင်းနှင့် Tablet ပေါ်တွင် Column အားလုံးကို တစ်တန်းတည်း ပြန်စီပေးခြင်း */
    .skills-dual-grid { 
        grid-template-columns: 1fr; 
        gap: 45px; 
    }
}











