:root {
    --primary: #379683;
    --dark: #053642;
    --light: #f8fafc;
    --glass: rgba(255, 255, 255, 0.75);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'JetBrains Mono', monospace;
    background-color: var(--light);
    background-image: radial-gradient(var(--primary) 0.5px, transparent 0.5px);
    background-size: 24px 24px;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px;
}

h1, h2, h3 { font-family: 'Anton', sans-serif; text-transform: uppercase; letter-spacing: 0.5px; }

.section { padding: 100px 20px; display: flex; justify-content: center; }
.alt-bg { background: rgba(55, 150, 131, 0.05); }
.section-container { width: 100%; max-width: 1100px; }

.content-box.glass {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.content-box:hover { transform: translateY(-8px); }

.flex-row { display: flex; gap: 40px; align-items: center; }
.profile-img { width: 180px; border-radius: 30px; box-shadow: 0 10px 30px rgba(55, 150, 131, 0.2); }
.edu-logo { width: 90px; height: auto; object-fit: contain; }

.timeline { position: relative; border-left: 3px solid var(--primary); margin-left: 20px; padding-left: 40px; margin-top: 30px; }
.timeline-item { margin-bottom: 40px; position: relative; }
.timeline-item::before {
    content: ''; position: absolute; left: -53px; top: 35px;
    width: 20px; height: 20px; background: var(--primary); border-radius: 50%;
    border: 4px solid var(--light);
}
.date { font-weight: bold; color: var(--primary); font-size: 0.9rem; margin-bottom: 5px; display: block; }

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

.tech-stack-pills { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.tech-stack-pills span { background: var(--dark); color: white; padding: 6px 14px; border-radius: 50px; font-size: 0.8rem; }

.contact-card { text-align: center; }

/* REDUCED EMAIL SIZE */
.email-text { 
    font-size: 1.1rem; 
    color: var(--primary); 
    text-decoration: none; 
    font-weight: 700; 
    margin-bottom: 30px; 
    display: block; 
    letter-spacing: 0.5px;
}

.social-icons { display: flex; justify-content: center; gap: 25px; align-items: center; flex-wrap: wrap; }
.social-icon img { height: 40px; transition: 0.3s; }
.social-icon:hover img { transform: translateY(-5px) scale(1.1); }
.cv-download {
    display: flex; align-items: center; gap: 12px; background: var(--dark);
    color: white; padding: 12px 24px; border-radius: 15px; text-decoration: none; transition: 0.3s;
}
.cv-download:hover { background: var(--primary); transform: translateY(-5px); }
.cv-download img { height: 20px; filter: invert(1); }

.footer { text-align: center; padding: 40px; opacity: 0.6; font-size: 0.8rem; }

.reveal { opacity: 0; transform: translateY(30px); transition: 1s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
    .section { padding: 60px 20px; }
    .flex-row { flex-direction: column; text-align: center; gap: 20px; }
    .timeline { margin-left: 0; padding-left: 25px; }
    .timeline-item::before { left: -38px; }
    .image-col { order: -1; }
}