/* ==========================
   GOOGLE FONT
========================== */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700;800&family=Quicksand:wght@400;500;600;700&display=swap');

/* ==========================
   RESET
========================== */

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

body{

    font-family:'Quicksand',sans-serif;

    background:linear-gradient(
        135deg,
        #FDF6E3 0%,
        #F4EFD8 100%
    );

    min-height:100vh;

    color:#33362A;

    padding-top:140px;
    overflow-x:hidden;
}

.hero-left{

    animation:slideLeft 1s ease;

}

.hero-right{

    animation:slideRight 1s ease;

}

@keyframes slideLeft{

from{

opacity:0;

transform:translateX(-60px);

}

to{

opacity:1;

transform:translateX(0);

}

}

@keyframes slideRight{

from{

opacity:0;

transform:translateX(60px);

}

to{

opacity:1;

transform:translateX(0);

}

}

/* ==========================
   NAVBAR
========================== */

nav{

    position:fixed;

    top:20px;

    left:50%;

    transform:translateX(-50%);

    width:92%;

    max-width:1350px;

    padding:18px 40px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    border-radius:25px;

    background:rgba(255,255,255,.35);

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.4);

    box-shadow:0 15px 35px rgba(0,0,0,.08);

    transition:.35s;

    z-index:1000;

}

nav.scrolled{

    padding:14px 35px;

    background:rgba(255,255,255,.55);

    backdrop-filter:blur(30px);

}

.logo{

    font-size:32px;
    font-weight:700;
    letter-spacing:2px;

    background:linear-gradient(
        135deg,
        #5F7052,
        #A3AF7E
    );

    background-clip:text;
    -webkit-background-clip:text;

    color:transparent;
    -webkit-text-fill-color:transparent;

}

nav ul{

    display:flex;

    list-style:none;

    gap:28px;

}

.nav-menu{

display:flex;

gap:40px;

list-style:none;

}

.nav-menu a{

position:relative;

text-decoration:none;

font-size:17px;

font-weight:600;

color:#4C5140;

transition:.3s;

}

.nav-menu a:hover{

color:#5F7052;

}

.nav-menu a::after{

content:"";

position:absolute;

left:0;

bottom:-8px;

width:0;

height:3px;

border-radius:50px;

background:#5F7052;

transition:.35s;

}

.nav-menu a:hover::after{

width:100%;

}

nav ul li a:hover{

    color:#5F7052;

}

/* ==========================
   HERO SECTION
========================== */

.hero{
    max-width:1200px;
    margin:80px auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:80px;
    padding:40px;
    position:relative;
    z-index:2;
}

.hero-left{
    flex:1;
}

.hero-right{
    flex:1;
    display:flex;
    justify-content:center;
}

.hello{
    font-size:24px;
    margin-bottom:15px;
}

.hero h1{
    font-size:70px;
    line-height:1.1;
}

.hero h2{
    font-size:42px;
    color:#5F7052;
    margin:20px 0;
}

.description{
    font-size:22px;
    line-height:1.8;
    max-width:650px;
}

/* ==========================
   AVATAR
========================== */

.avatar{

    width:360px;
    height:360px;

    border-radius:50%;

    background:rgba(255,255,255,.35);

    backdrop-filter:blur(20px);

    border:2px solid rgba(255,255,255,.5);

    box-shadow:
        0 20px 60px rgba(255,105,180,.25),
        0 20px 60px rgba(0,180,255,.15);

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:120px;
    font-weight:700;

    color:#5F7052;

}

/* ==========================
   BUTTON
========================== */

.hero-button{
    display:flex;
    gap:20px;
    margin-top:40px;
}

.btn,
.btn2{

    padding:16px 36px;

    border-radius:50px;

    text-decoration:none;

    font-weight:600;

    transition:.35s;

}

.btn{

    background:linear-gradient(
        135deg,
        #6B7F55,
        #A9B98A
    );

    color:white;

    box-shadow:0 12px 30px rgba(255,105,180,.35);

}

.btn:hover{

    transform:translateY(-6px);

}

.btn2{

    border:2px solid #6B7F55;

    color:#6B7F55;

}

.btn2:hover{

    background:#6B7F55;

    color:white;

}

/*==========================
ANIMATED BLOBS
==========================*/

.blob{

position:fixed;

border-radius:50%;

filter:blur(90px);

z-index:-2;

opacity:.6;

animation:blobMove 18s ease-in-out infinite;

}

.blob1{

width:350px;
height:350px;

background:#A9B98A;

top:-120px;
left:-120px;

}

.blob2{

width:420px;
height:420px;

background:#C7D2A5;

top:180px;
right:-140px;

animation-delay:2s;

}

.blob3{

width:300px;
height:300px;

background:#E3DBB8;

bottom:-120px;
left:35%;

animation-delay:4s;

}

.blob4{

width:260px;
height:260px;

background:#D8E0BC;

bottom:80px;
right:15%;

animation-delay:6s;

}

.blob5{

width:180px;
height:180px;

background:#FFFDF7;

top:45%;
left:12%;

animation-delay:8s;

}

@keyframes blobMove{

0%{

transform:translate(0,0) scale(1);

}

25%{

transform:translate(60px,-40px) scale(1.12);

}

50%{

transform:translate(-50px,40px) scale(.9);

}

75%{

transform:translate(40px,60px) scale(1.05);

}

100%{

transform:translate(0,0) scale(1);

}

}

.theme-btn{

    width:48px;

    height:48px;

    border:none;

    border-radius:50%;

    cursor:pointer;

    background:white;

    font-size:20px;

    transition:.3s;

    box-shadow:
        0 8px 20px rgba(0,0,0,.08);

}

.theme-btn:hover{

    transform:rotate(20deg);

}

/*==========================
PROJECTS PAGE
==========================*/

.projects{

    max-width:1200px;

    margin:120px auto;

    padding:20px;

}

.projects h1{

    font-size:56px;

    text-align:center;

    color:#5F7052;

    margin-bottom:20px;

}

.projects>p{

    text-align:center;

    max-width:700px;

    margin:auto;

    font-size:18px;

    line-height:1.8;

    color:#4C5140;

    margin-bottom:60px;

}


/*==========================
BACK TO TOP
==========================*/

#backToTop{

    position:fixed;

    right:30px;

    bottom:30px;

    width:60px;

    height:60px;

    border:none;

    border-radius:50%;

    cursor:pointer;

    background:linear-gradient(135deg,#8A9B6E,#A3AF7E);

    color:white;

    font-size:24px;

    box-shadow:0 15px 35px rgba(0,0,0,.18);

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:999;

}

#backToTop.show{

    opacity:1;

    visibility:visible;

}

#backToTop:hover{

    transform:translateY(-6px) scale(1.08);

}

/*========== BADGE ==========*/

.badge{

display:inline-block;

padding:10px 20px;

border-radius:50px;

background:white;

margin-bottom:25px;

font-weight:600;

box-shadow:0 8px 20px rgba(0,0,0,.08);

}

/*========== STATS ==========*/

.stats{

max-width:1200px;

margin:80px auto;

display:grid;

grid-template-columns:repeat(4,1fr);

gap:25px;

}

.stat{

background:rgba(255,255,255,.45);

backdrop-filter:blur(20px);

padding:35px;

border-radius:20px;

text-align:center;

box-shadow:0 15px 35px rgba(0,0,0,.08);

transition:.4s;

}

.stat:hover{

transform:translateY(-10px);

}

.stat h2{

font-size:42px;

color:#5F7052;

margin-bottom:10px;

}

/*========== FOOTER ==========*/

footer{

margin-top:120px;

padding:40px;

text-align:center;

color:#5A5F4E;

}

.hero{

    min-height:90vh;

    display:flex;

    justify-content:space-between;

    align-items:center;

    max-width:1300px;

    margin:auto;

    gap:80px;

}

.hero-tag{

    display:inline-block;

    padding:10px 22px;

    border-radius:50px;

    background:white;

    color:#5F7052;

    font-weight:600;

    margin-bottom:25px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.hero h1{

    font-size:82px;

    line-height:1.05;

}

.hero h2{

    margin:20px 0;

    font-size:36px;

    color:#8A9B6E;

}

.description{

    font-size:20px;

    line-height:1.9;

    color:#5A5F4E;

    margin-top:25px;

}

.glass-circle{

    width:480px;

    height:480px;

    border-radius:50%;

    background:rgba(255,255,255,.35);

    backdrop-filter:blur(30px);

    border:2px solid rgba(255,255,255,.5);

    display:flex;

    justify-content:center;

    align-items:center;

    box-shadow:

    0 25px 80px rgba(255,105,180,.2),

    0 25px 80px rgba(125,211,252,.2);

    animation:float 5s ease-in-out infinite;

}

.glass-circle img{

    width:88%;

    border-radius:50%;

}

@keyframes float{

0%{

transform:translateY(0);

}

50%{

transform:translateY(-18px);

}

100%{

transform:translateY(0);

}

}

/*==========================
SCROLL PROGRESS
==========================*/

#progress-bar{

    position:fixed;

    top:0;

    left:0;

    width:0%;

    height:5px;

    background:linear-gradient(90deg,#8A9B6E,#A3AF7E);

    z-index:9999;

}

/*==========================
CURSOR GLOW
==========================*/

.cursor-glow{

    position:fixed;

    width:260px;

    height:260px;

    border-radius:50%;

    background:radial-gradient(circle,
    rgba(255,182,217,.28),
    rgba(158,216,255,.18),
    transparent 70%);

    pointer-events:none;

    transform:translate(-50%,-50%);

    z-index:-1;

    transition:.08s linear;

}

/*==========================
REVEAL
==========================*/

.reveal{

opacity:0;

transform:translateY(80px);

transition:1s;

}

.reveal.active{

opacity:1;

transform:translateY(0);

}


.project-card::after{

content:"";

position:absolute;

top:-150%;

left:-60%;

width:45%;

height:320%;

background:rgba(255,255,255,.35);

transform:rotate(25deg);

transition:.8s;

}

.project-card:hover::after{

left:140%;

}

/*==========================
LOADER
==========================*/

#loader{

position:fixed;

top:0;

left:0;

width:100%;

height:100%;

background:linear-gradient(135deg,#FDF9EF,#F4EFD8);

display:flex;

flex-direction:column;

justify-content:center;

align-items:center;

z-index:99999;

transition:1s;

}

.loader-logo{

width:120px;

height:120px;

border-radius:50%;

background:linear-gradient(135deg,#8A9B6E,#C7D2A5);

display:flex;

justify-content:center;

align-items:center;

font-size:42px;

font-weight:700;

color:white;

animation:spin 2s infinite linear;

}

@keyframes spin{

100%{

transform:rotate(360deg);

}

}

#loader.hide{

opacity:0;

visibility:hidden;

}

#themeToggle{

width:50px;

height:50px;

border-radius:50%;

border:none;

cursor:pointer;

font-size:22px;

background:white;

box-shadow:0 8px 20px rgba(0,0,0,.08);

transition:.3s;

}

.dark{

background:#121212;

color:white;

}

.dark nav{

background:rgba(20,20,20,.55);

}

.dark .project-card{

background:rgba(35,35,35,.6);

color:white;

}

.dark .stat{

background:rgba(35,35,35,.6);

color:white;

}

.dark footer{

background:linear-gradient(135deg,#1a1a2e,#16213e);

color:#D4D0B8;

}

.dark .footer-title{

color:#F0EDDD;

}

.dark .footer-links a{

color:#B8BCA0;

}

.dark .footer-links a:hover{

color:#8A9B6E;

}

.dark .footer-bottom{

color:#8A8F78;

border-top-color:rgba(255,255,255,.08);

}

/* Chữ nằm trực tiếp trên nền tối (không có khung card) */

.dark .nav-menu a{

color:#E6E2CC;

}

.dark .description,
.dark .section-description,
.dark .task-hero p,
.dark .about-right p,
.dark .reflection-intro,
.dark .contact-intro,
.dark .projects>p,
.dark .skill-bar-label,
.dark .project-info{

color:#CEC9AE;

}

/* Card kính mờ (glass) bị chìm màu vì nền trắng trong suốt đè lên nền tối */

.dark .overview-card,
.dark .reflect-stat{

background:rgba(255,255,255,.06);

border-color:rgba(255,255,255,.12);

}

.dark .overview-card h3{

color:#F0EDDD;

}

.dark .overview-card p,
.dark .reflect-stat p{

color:#CEC9AE;

}

/*==========================
SCROLLBAR
==========================*/

::-webkit-scrollbar{

width:12px;

}

::-webkit-scrollbar-track{

background:#F4EFD8;

}

::-webkit-scrollbar-thumb{

background:linear-gradient(#8A9B6E,#C7D2A5);

border-radius:30px;

}

::-webkit-scrollbar-thumb:hover{

background:linear-gradient(#5F7052,#A3AF7E);

}

.tag{

display:inline-block;

padding:8px 18px;

border-radius:50px;

background:linear-gradient(135deg,#EDE6C8,#EDE6C8);

font-size:14px;

font-weight:600;

margin-bottom:20px;

}


/*==========================
TASK PAGE
==========================*/

.task-hero{

padding-top:170px;

padding-bottom:90px;

text-align:center;

max-width:900px;

margin:auto;

}

.task-number{

display:inline-block;

padding:10px 24px;

border-radius:40px;

background:linear-gradient(135deg,#EDE6C8,#EDE6C8);

font-weight:600;

margin-bottom:25px;

}

.task-hero h1{

font-size:60px;

margin-bottom:20px;

}

.task-hero p{

font-size:20px;

line-height:1.8;

color:#5A5F4E;

}

.task-content{

max-width:1100px;

margin:auto;

padding:20px;

display:grid;

gap:35px;

}

.task-box{

background:white;

padding:40px;

border-radius:25px;

box-shadow:0 20px 45px rgba(0,0,0,.08);

transition:.35s;

}

.task-box:hover{

transform:translateY(-8px);

}

.task-box h2{

margin-bottom:20px;

color:#5F7052;

}

.gallery{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

gap:20px;

margin-top:25px;

}

.gallery img{

width:100%;

border-radius:18px;

cursor:pointer;

transition:.35s;

}

.gallery img:hover{

transform:scale(1.05);

}

.next-task{

text-align:center;

margin:80px;

}

.next-task a{

padding:18px 35px;

border-radius:50px;

background:linear-gradient(135deg,#8A9B6E,#C7D2A5);

color:white;

text-decoration:none;

font-weight:600;

font-size:18px;

}

/*==========================
TASK NAVIGATION
==========================*/


/*==========================
ABOUT PAGE
==========================*/

.about-page{

max-width:1200px;

margin:160px auto 80px;

display:grid;

grid-template-columns:380px 1fr;

gap:70px;

align-items:center;

padding:20px;

}

.about-left img{

width:100%;

border-radius:30px;

box-shadow:0 25px 60px rgba(0,0,0,.12);

}

.about-right h1{

font-size:58px;

margin:15px 0;

}

.about-right h3{

color:#8A9B6E;

margin-bottom:25px;

}

.about-right p{

line-height:1.9;

font-size:18px;

color:#5A5F4E;

}

.about-info{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:25px;

margin-top:40px;

}

.info-card{

background:white;

padding:28px;

border-radius:22px;

box-shadow:0 15px 40px rgba(0,0,0,.08);

transition:.35s;

}

.info-card:hover{

transform:translateY(-8px);

}

.skills{

max-width:1000px;

margin:100px auto;

padding:20px;

}

.section-title{

text-align:center;

font-size:42px;

margin-bottom:60px;

}

.skill{

margin-bottom:35px;

}

.skill-name{

display:flex;

justify-content:space-between;

margin-bottom:10px;

font-weight:600;

}

.progress{

height:15px;

background:#EAE6D2;

border-radius:30px;

overflow:hidden;

}

.progress-bar{

height:100%;

border-radius:30px;

background:linear-gradient(90deg,#8A9B6E,#C7D2A5);

}

/*==========================
REFLECTION
==========================*/

.reflection-page{

max-width:1000px;

margin:160px auto;

padding:20px;

text-align:center;

}

.reflection-page h1{

font-size:56px;

margin:20px 0;

}

.reflection-intro{

font-size:20px;

line-height:1.9;

color:#5A5F4E;

margin-bottom:70px;

}

.timeline{

position:relative;

margin-top:30px;

}

.timeline::before{

content:"";

position:absolute;

left:35px;

top:0;

bottom:0;

width:4px;

background:linear-gradient(#8A9B6E,#C7D2A5);

z-index:1;

}

.timeline-item{

display:flex;

gap:30px;

margin-bottom:60px;

align-items:flex-start;

text-align:left;

}

.circle{

width:70px;

height:70px;

border-radius:50%;

background:linear-gradient(135deg,#8A9B6E,#C7D2A5);

display:flex;

justify-content:center;

align-items:center;

font-size:26px;

font-weight:bold;

color:white;

flex-shrink:0;

position:relative;

z-index:2;

}

.timeline-content{

background:white;

padding:30px;

border-radius:20px;

box-shadow:0 15px 40px rgba(0,0,0,.08);

width:100%;

transition:.35s;

}

.timeline-content:hover{

transform:translateY(-6px);

}

.timeline-content h3{

margin-bottom:15px;

color:#5F7052;

}

.timeline-content p{

line-height:1.8;

color:#5A5F4E;

}

/*==========================
REFLECTION - STATS
==========================*/

.reflect-stats{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:25px;

margin-bottom:80px;

}

.reflect-stat{

background:rgba(255,255,255,.6);

backdrop-filter:blur(10px);

border:1px solid rgba(255,255,255,.6);

border-radius:22px;

padding:30px 15px;

box-shadow:0 15px 35px rgba(0,0,0,.06);

transition:.35s;

}

.reflect-stat:hover{

transform:translateY(-8px);

}

.reflect-stat h2{

font-size:36px;

background:linear-gradient(135deg,#5F7052,#6B7F55);

-webkit-background-clip:text;

-webkit-text-fill-color:transparent;

background-clip:text;

margin-bottom:8px;

}

.reflect-stat p{

font-size:14px;

color:#6B7060;

font-weight:600;

}

/*==========================
REFLECTION - SKILL BARS
==========================*/

.skills-section{

margin-bottom:90px;

text-align:left;

}

.skill-bar-item{

margin-bottom:26px;

}

.skill-bar-label{

display:flex;

justify-content:space-between;

font-weight:600;

margin-bottom:10px;

color:#3E4235;

}

.skill-bar-track{

width:100%;

height:14px;

border-radius:20px;

background:rgba(0,0,0,.06);

overflow:hidden;

}

.skill-bar-fill{

height:100%;

border-radius:20px;

background:linear-gradient(90deg,#8A9B6E,#C7D2A5);

transition:width 1.2s ease;

}

/*==========================
REFLECTION - QUOTE
==========================*/

.reflect-quote{

margin-top:80px;

padding:50px 40px;

border-radius:25px;

background:linear-gradient(135deg,#8A9B6E,#C7D2A5);

color:#FFFDF7;

text-align:center;

box-shadow:0 25px 60px rgba(255,105,180,.25);

}

.reflect-quote p{

font-size:22px;

font-style:italic;

line-height:1.7;

margin-bottom:18px;

}

.reflect-quote span{

font-weight:700;

font-size:16px;

opacity:.9;

}

/*==========================
CONTACT
==========================*/

.contact-page{

max-width:1100px;

margin:160px auto;

padding:20px;

text-align:center;

}

.contact-page h1{

font-size:56px;

margin:20px 0;

}

.contact-intro{

font-size:20px;

line-height:1.8;

color:#5A5F4E;

margin-bottom:60px;

}

.contact-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(230px,1fr));

gap:25px;

margin-bottom:60px;

}

.contact-card{

background:white;

padding:35px;

border-radius:22px;

box-shadow:0 15px 40px rgba(0,0,0,.08);

transition:.35s;

}

.contact-card:hover{

transform:translateY(-8px);

}

.contact-card h2{

margin-bottom:15px;

color:#5F7052;

}

.contact-form{

display:flex;

flex-direction:column;

gap:20px;

max-width:700px;

margin:auto;

}

.contact-form input,
.contact-form textarea{

padding:18px;

border:none;

border-radius:18px;

background:white;

box-shadow:0 10px 30px rgba(0,0,0,.08);

font-size:16px;

outline:none;

}

.contact-form button{

padding:18px;

border:none;

border-radius:50px;

background:linear-gradient(135deg,#8A9B6E,#C7D2A5);

color:white;

font-size:18px;

font-weight:600;

cursor:pointer;

transition:.35s;

}

.contact-form button:hover{

transform:translateY(-5px);

box-shadow:0 15px 35px rgba(255,105,180,.25);

}

.task-list{

margin-top:20px;

padding-left:25px;

line-height:2;

}

.portfolio-table{

width:100%;

border-collapse:collapse;

margin-top:20px;

}

.portfolio-table th{

background:#8A9B6E;

color:white;

padding:15px;

}

.portfolio-table td{

padding:15px;

border:1px solid #F0EDDD;

}

.portfolio-table tr:nth-child(even){

background:#FBF9F0;

}

.projects-page{

max-width:1200px;

margin:160px auto;

padding:20px;

text-align:center;

}

.projects-page h1{

font-size:56px;

margin-bottom:20px;

}


/*==========================
TASK TIMELINE
==========================*/

.timeline-task{

margin-top:35px;

display:flex;

flex-direction:column;

gap:30px;

}

.timeline-step{

display:flex;

gap:20px;

align-items:flex-start;

}

.step-number{

width:55px;

height:55px;

border-radius:50%;

background:linear-gradient(135deg,#8A9B6E,#C7D2A5);

display:flex;

justify-content:center;

align-items:center;

color:white;

font-weight:bold;

font-size:20px;

flex-shrink:0;

}

.skill-result{

margin-top:40px;

}

.skill-item{

margin-top:25px;

}

.skill-item span{

display:block;

margin-bottom:8px;

font-weight:600;

}

.self-evaluate{

margin-top:45px;

padding:30px;

border-radius:20px;

background:linear-gradient(135deg,#FBF3DE,#F4EFD8);

border-left:6px solid #8A9B6E;

}

.code-box{

background:#1e293b;

color:#FFFDF7;

padding:25px;

border-radius:18px;

margin:25px 0;

overflow:auto;

}

.code-box pre{

white-space:pre-wrap;

font-family:Consolas,monospace;

line-height:1.8;

}

.task-box{

background:#FFFDF7;

padding:35px;

margin:35px 0;

border-radius:25px;

box-shadow:0 15px 35px rgba(0,0,0,.08);

}

.task-box h2{

color:#5F7052;

margin-bottom:20px;

}

.task-box p{

line-height:1.9;

color:#4C5140;

}

.gallery{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

gap:20px;

margin-top:25px;

}

.gallery img{

width:100%;

border-radius:15px;

transition:.35s;

cursor:pointer;

}

.gallery img:hover{

transform:scale(1.05);

}

/*======================================================
FOOTER
======================================================*/

footer{

margin-top:120px;

padding:80px 10% 40px;

background:linear-gradient(135deg,#F4EFD8,#F4EFD8);

border-top-left-radius:60px;

border-top-right-radius:60px;

}

.footer-container{

display:grid;

grid-template-columns:2fr 1fr 1fr;

gap:60px;

}

.footer-logo{

font-size:38px;

font-weight:700;

background:linear-gradient(90deg,#5F7052,#A3AF7E);

-webkit-background-clip:text;

-webkit-text-fill-color:transparent;

}

.footer-title{

font-size:22px;

margin-bottom:20px;

color:#3E4235;

}

.footer-links{

display:flex;

flex-direction:column;

gap:15px;

}

.footer-links a{

text-decoration:none;

color:#5A5F4E;

transition:.3s;

}

.footer-links a:hover{

padding-left:8px;

color:#5F7052;

}

.footer-bottom{

margin-top:50px;

padding-top:30px;

border-top:1px solid rgba(0,0,0,.08);

text-align:center;

color:#5A5F4E;

}

/*======================================================
LIGHTBOX
======================================================*/

.lightbox{

position:fixed;

left:0;

top:0;

width:100%;

height:100%;

background:rgba(0,0,0,.88);

display:none;

justify-content:center;

align-items:center;

z-index:9999;

}

.lightbox img{

max-width:90%;

max-height:90%;

border-radius:20px;

box-shadow:0 25px 60px rgba(0,0,0,.5);

animation:zoom .35s;

}

@keyframes zoom{

from{

transform:scale(.8);

opacity:0;

}

to{

transform:scale(1);

opacity:1;

}

}

/*======================================================
DOWNLOAD BUTTON
======================================================*/

.download-area{

margin-top:40px;

display:flex;

gap:20px;

flex-wrap:wrap;

}

.download-btn{

padding:15px 30px;

border-radius:50px;

background:linear-gradient(135deg,#8A9B6E,#C7D2A5);

color:white;

text-decoration:none;

font-weight:600;

transition:.35s;

box-shadow:0 15px 35px rgba(0,0,0,.1);

}

.download-btn:hover{

transform:translateY(-5px);

}

/*======================================================
BACK TO TOP
======================================================*/

#topBtn{

position:fixed;

right:30px;

bottom:30px;

width:60px;

height:60px;

border:none;

border-radius:50%;

background:linear-gradient(135deg,#8A9B6E,#C7D2A5);

color:white;

font-size:26px;

cursor:pointer;

display:none;

z-index:999;

box-shadow:0 20px 40px rgba(0,0,0,.15);

transition:.35s;

}

#topBtn:hover{

transform:translateY(-8px);

}

/*======================================================
RESPONSIVE
======================================================*/

/*==========================
HOME - OVERVIEW (TASK CARDS)
==========================*/

.overview{
max-width:1200px;
margin:140px auto;
padding:0 20px;
text-align:center;
}

.section-description{
max-width:700px;
margin:0 auto 60px;
font-size:18px;
line-height:1.8;
color:#5A5F4E;
}

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

.overview-card{
display:block;
text-align:left;
text-decoration:none;
color:#33362A;
position:relative;
overflow:hidden;
background:rgba(255,255,255,.55);
backdrop-filter:blur(15px);
border:1px solid rgba(255,255,255,.6);
border-radius:25px;
padding:40px 30px;
transition:.4s ease;
box-shadow:0 15px 40px rgba(0,0,0,.06);
}

.overview-card::before{
content:"";
position:absolute;
top:-60px;
right:-60px;
width:140px;
height:140px;
background:linear-gradient(135deg,rgba(255,141,199,.3),rgba(142,216,255,.3));
border-radius:50%;
transition:.5s;
}

.overview-card:hover{
transform:translateY(-10px);
box-shadow:0 25px 60px rgba(255,105,180,.2);
border-color:rgba(255,141,199,.6);
}

.overview-card:hover::before{
transform:scale(1.6);
}

.overview-card h2{
width:70px;
height:70px;
display:flex;
align-items:center;
justify-content:center;
font-size:32px;
margin-bottom:20px;
background:linear-gradient(135deg,#8A9B6E,#C7D2A5);
border-radius:50%;
box-shadow:0 10px 25px rgba(255,105,180,.25);
}

.overview-card h3{
font-size:22px;
font-weight:700;
margin-bottom:10px;
}

.overview-card p{
font-size:15px;
color:#5A5F4E;
line-height:1.6;
margin-bottom:0;
}

.overview-card .card-link{
display:inline-block;
margin-top:18px;
font-size:14px;
font-weight:700;
color:#5F7052;
opacity:0;
transform:translateX(-8px);
transition:.3s;
}

.overview-card:hover .card-link{
opacity:1;
transform:translateX(0);
}

@media(max-width:1000px){

.about-page{

grid-template-columns:1fr;

text-align:center;

}

.footer-container{

grid-template-columns:1fr;

}

.about-info{

grid-template-columns:1fr;

}

.task-hero h1{

font-size:42px;

}

.projects-page h1{

font-size:42px;

}

.project-grid{

grid-template-columns:repeat(2,1fr);

}

.reflect-stats{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:700px){

.nav-menu{

display:none;

}

.timeline-item{

flex-direction:column;

}

.timeline::before{

display:none;

}

.task-navigation{

flex-direction:column;

gap:20px;

}

.contact-grid{

grid-template-columns:1fr;

}

.project-grid{

grid-template-columns:1fr;

}

.reflect-stats{

grid-template-columns:1fr 1fr;

gap:15px;

}

.gallery{

grid-template-columns:1fr;

}

}

.project-grid{

margin-top:60px;

display:grid;

grid-template-columns:repeat(3,1fr);

gap:35px;

}

.project-card{

display:flex;

flex-direction:column;

background:#FFFDF7;

border-radius:25px;

overflow:hidden;

box-shadow:0 20px 45px rgba(0,0,0,.08);

transition:.35s;

}

.project-card img{

width:100%;

height:220px;

object-fit:cover;

}

.project-content{

padding:30px;

display:flex;

flex-direction:column;

flex:1;

}

.project-card:hover{

transform:translateY(-10px);

}

.status{

display:inline-block;

padding:8px 18px;

border-radius:30px;

background:#D8E0BC;

color:#0b8f2d;

font-size:14px;

font-weight:600;

margin-bottom:20px;

}

.project-content h2{

margin-bottom:15px;

font-size:28px;

}

.project-content p{

line-height:1.8;

color:#5A5F4E;

margin-bottom:25px;

}

.project-info{

display:flex;

justify-content:space-between;

margin-bottom:25px;

font-size:15px;

color:#6B7060;

}

.btn-project{

display:inline-block;

align-self:flex-start;

margin-top:auto;

padding:14px 26px;

background:linear-gradient(135deg,#8A9B6E,#C7D2A5);

border-radius:40px;

text-decoration:none;

color:#FFFDF7;

font-weight:600;

transition:.3s;

}

.btn-project:hover{

transform:translateY(-4px);

}

/*==========================
TASK NAVIGATION
==========================*/

.task-navigation{

max-width:1200px;

margin:40px auto;

display:flex;

justify-content:center;

gap:15px;

flex-wrap:wrap;

}

.nav-btn{

padding:14px 22px;

border-radius:50px;

background:white;

text-decoration:none;

color:#3E4235;

font-weight:600;

box-shadow:0 10px 25px rgba(0,0,0,.08);

transition:.3s;

}

.nav-btn:hover{

background:linear-gradient(135deg,#8A9B6E,#C7D2A5);

color:white;

transform:translateY(-5px);

}

/* Nút số trang (1-6) - hình tròn đều nhau, tách riêng khỏi nút chữ */
.nav-btn-num{

width:46px;

height:46px;

padding:0;

border-radius:50%;

background:white;

display:inline-flex;

align-items:center;

justify-content:center;

text-decoration:none;

color:#3E4235;

font-weight:700;

box-shadow:0 10px 25px rgba(0,0,0,.08);

transition:.3s;

flex-shrink:0;

}

.nav-btn-num:hover{

background:linear-gradient(135deg,#8A9B6E,#C7D2A5);

color:white;

transform:translateY(-5px);

}

.nav-btn-num.active{

background:linear-gradient(135deg,#8A9B6E,#C7D2A5);

color:white;

box-shadow:0 12px 28px rgba(255,105,180,.35);

}

.pdf-preview{

max-width:1200px;

margin:80px auto;

padding:40px;

background:#FFFDF7;

border-radius:25px;

box-shadow:0 15px 40px rgba(0,0,0,.08);

}

.pdf-preview h2{

margin-bottom:15px;

font-size:32px;

}

.pdf-preview p{

margin-bottom:30px;

color:#5A5F4E;

line-height:1.8;

}

.pdf-preview iframe{

width:100%;

height:900px;

border:none;

border-radius:20px;

background:white;

}

.pdf-actions{

display:flex;

gap:20px;

margin-top:30px;

flex-wrap:wrap;

}



.pdf-frame{

width:100%;

height:900px;

border:none;

border-radius:20px;

margin-top:25px;

box-shadow:0 15px 35px rgba(0,0,0,.08);

}

.dark .project-content p{
    color:#DCD8C0;
}

.dark .project-info{
    color:#DCD8C0;
}

.dark .project-content h2{
    color:#FFFDF7;
}
/* ==========================
   PASTEL->OLIVE CUTE THEME OVERRIDES
   Rounded chunky display font for headings, softer body bg
========================== */
h1, h2, h3, h4,
.hero-title, .section-title, .about-right h1, .about-right h3,
.reflection-page h1, .contact-page h1, .projects-page h1, .task-hero h1 {
    font-family:'Baloo 2', sans-serif;
}
