.resume{
background:#ebebeb;
}
/* Disable text selection globally */

*{
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
:root{

--accent:#2e6b46;

--card:#ffffff;

--shadow:rgba(0,0,0,0.06);

--hoverShadow:rgba(0,0,0,0.12);

/* TEXT COLORS */

--boxText:#141414;

--hoverText:#ffffff;

}

.timeline-card:hover .year{
color:var(--hoverText);
}

body{
background:#ebebeb;
font-family:Arial, Helvetica, sans-serif;
color:#2b2b2b;
}



.resume{
max-width:1100px;
margin:100px auto;
padding:0 80px;
}



/* HEADER */

.resume-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:50px;
}

.resume-header h1{
font-size:46px;
}



/* DOWNLOAD BUTTON */

.download-btn{

background:var(--accent);

padding:12px 20px;

border-radius:6px;

text-decoration:none;

color:white;

box-shadow:0 4px 14px var(--shadow);

transition:.3s;

cursor:pointer;

user-select:none;

}

.download-btn:hover{

transform:translateY(-3px);

box-shadow:0 10px 25px var(--hoverShadow);

}



/* SUMMARY */

.summary{
margin-bottom:70px;
font-size:18px;
line-height:1.7;
color:#555;
}



/* SECTIONS */

.section{
margin-bottom:80px;
}

.section h2{
margin-bottom:30px;
font-size:28px;
}



/* TIMELINE */

.timeline{
display:grid;
gap:25px;
}

.timeline-card{

background:var(--card);

padding:25px;

border-radius:8px;

box-shadow:0 8px 25px var(--shadow);

transition:.3s;

cursor:pointer;

user-select:none;

color:var(--boxText);

}

.timeline-card:hover{

transform:translateY(-6px);

background:var(--accent);

color:var(--hoverText);

box-shadow:0 20px 40px var(--hoverShadow);

}

.timeline-card *{
cursor:pointer;
user-select:none;
}



/* YEAR */

.year{

font-size:14px;

color:var(--boxText);

}



/* EDUCATION */

.education-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:25px;
}

.edu-card{

background:var(--card);

padding:25px;

border-radius:8px;

box-shadow:0 6px 20px var(--shadow);

transition:.3s;

cursor:pointer;

user-select:none;

color:var(--boxText);

}

.edu-card:hover{

transform:translateY(-5px);

background:var(--accent);

color:var(--hoverText);

}

.edu-card *{
cursor:pointer;
user-select:none;
}



/* SKILLS */

.skills-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:15px;
}

.skill{

background:var(--card);

padding:12px;

text-align:center;

border-radius:6px;

box-shadow:0 4px 14px var(--shadow);

transition:.3s;

cursor:pointer;

user-select:none;

color:var(--boxText);

}

.skill:hover{

transform:translateY(-4px);

background:var(--accent);

color:var(--hoverText);

box-shadow:0 10px 25px var(--hoverShadow);

}

.skill *{
cursor:pointer;
user-select:none;
}



/* CERTIFICATIONS */

.cert-grid{
display:flex;
gap:20px;
flex-wrap:wrap;
}

.cert-btn{

background:var(--card);

padding:12px 18px;

border-radius:6px;

text-decoration:none;

color:var(--boxText);

box-shadow:0 4px 14px var(--shadow);

transition:.3s;

cursor:pointer;

user-select:none;

}

.cert-btn:hover{

background:var(--accent);

color:var(--hoverText);

transform:translateY(-4px);

box-shadow:0 10px 25px var(--hoverShadow);

}



/* LANGUAGES */

.lang-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:15px;
}

.lang{

background:var(--card);

padding:12px;

border-radius:6px;

box-shadow:0 4px 14px var(--shadow);

transition:.3s;

cursor:pointer;

user-select:none;

color:var(--boxText);

}

.lang:hover{

background:var(--accent);

color:var(--hoverText);

}



/* HOBBIES */

.hobby-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:15px;
}

.hobby{

background:var(--card);

padding:12px;

text-align:center;

border-radius:6px;

box-shadow:0 4px 14px var(--shadow);

transition:.3s;

cursor:pointer;

user-select:none;

color:var(--boxText);

}

.hobby:hover{

background:var(--accent);

color:var(--hoverText);

}

/* DIM BACKGROUND EFFECT */

.resume{
position:relative;
}

.resume::before{

content:"";

position:fixed;

top:0;
left:0;

width:100%;
height:100%;

background:rgba(0,0,0,0.25);

opacity:0;

pointer-events:none;

transition:opacity .35s ease;

z-index:5;

}


/* SHOW DIM WHEN HOVERING CARDS */

.resume:has(.timeline-card:hover)::before,
.resume:has(.edu-card:hover)::before,
.resume:has(.skill:hover)::before,
.resume:has(.cert-btn:hover)::before,
.resume:has(.lang:hover)::before,
.resume:has(.hobby:hover)::before{

opacity: 0;

}


/* CARD FOCUS */

.timeline-card:hover,
.edu-card:hover,
.skill:hover,
.cert-btn:hover,
.lang:hover,
.hobby:hover{

transform:scale(1.08);

z-index:10;

position:relative;

box-shadow:0 35px 80px rgba(124, 122, 122, 0.25);

}

/* DISABLE TEXT SELECTION */

.portfolio,
.portfolio *{

user-select:none;
-webkit-user-select:none;
-moz-user-select:none;
-ms-user-select:none;

cursor:default;

}

/* Reduce space before footer */

.section:last-of-type{
margin-bottom:0px;
}

/* =========================
   RESUME MOBILE VIEW
========================= */

@media (max-width:900px){

/* PAGE WIDTH */

.resume{
margin:30px auto;
padding:0 20px;
}

/* HEADER */

.resume-header{
flex-direction:column;
align-items:flex-start;
gap:15px;
margin-bottom:35px;
}

.resume-header h1{
font-size:32px;
}

/* SUMMARY */

.summary{
font-size:15px;
line-height:1.6;
margin-bottom:45px;
}

/* SECTION SPACING */

.section{
margin-bottom:50px;
}

.section h2{
font-size:22px;
margin-bottom:20px;
}

/* TIMELINE */

.timeline{
gap:18px;
}

.timeline-card{
padding:18px;
}

/* EDUCATION */

.education-grid{
grid-template-columns:1fr;
gap:18px;
}

/* SKILLS */

.skills-grid{
grid-template-columns:repeat(2,1fr);
gap:12px;
}

/* CERTIFICATIONS */

.cert-grid{
gap:12px;
}

/* LANGUAGES */

.lang-grid{
grid-template-columns:1fr;
gap:12px;
}

/* HOBBIES */

.hobby-grid{
grid-template-columns:repeat(2,1fr);
gap:12px;
}

/* DOWNLOAD BUTTON */

.download-btn{
padding:10px 16px;
font-size:14px;
}

/* CARD SCALE REDUCED FOR MOBILE */

.timeline-card:hover,
.edu-card:hover,
.skill:hover,
.cert-btn:hover,
.lang:hover,
.hobby:hover{
transform:scale(1.04);
}

/* Reduce space before footer */

.section:last-of-type{
margin-bottom:0px;
}

}