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

/* Body */

body {
    font-family: system-ui, sans-serif;
    line-height: 1.6;
    color: #B2B8BE;
    background-color: #001427;
}

/* Header */

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #001427;
    border-bottom: 1px solid #001427;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

header.hide {
    transform: translateY(-100%);
}

/* Navbar */

.navbar {
    margin: auto;
    padding: 2.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: bold;
    color: #F2F3F4;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.8rem;
}

.nav-links a {
    text-decoration: none;
    color: #3C787E;
    font-weight: 500;
}

.nav-links a:hover {
    color: #60E1E0;
}

.resume-btn {
    padding: 0.4rem 0.9rem;
    border: 1px solid #3C787E;
    border-radius: 6px;
    color: #3C787E;
}

.resume-btn:hover {
    color: #60E1E0;
    border-radius: 6px;
    border: 1px solid #60E1E0;
}

/* Hero Section */

.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 1rem;
    color: #F2F3F4;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

/* Text width, size and style */

.main {
    max-width: 1000px;
    margin: auto;
    padding: 4rem 1rem;
}

.section {
    max-width: 900px;
    margin: auto;
    padding: 4rem 1rem;
    scroll-margin-top: 30px;
    position: relative;
    z-index: 1;
}

.subtitle {
    font-size: 1.8rem;
    color: #D1D9E1;
    margin-bottom: 1.25rem;
}

.tagline {
    font-size: 1.1rem;
    color: #B2B8BE;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* About Section */

.about-content {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin-top: 2rem;
}

.about-text {
    flex: 1;
}

.profile-pic {
    width: 280px;
    height: 280px;
    border-radius: 5%;
    object-fit: cover;
    border: 2px solid #3C787E;
}

/* Mobile-friendly */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        text-align: left;
    }
}

/* Project Section */

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #D1D9E1;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    border-top: 1px solid rgba(96, 225, 224, 0.15);
    padding-top: 1.25rem;
}

.project-links .btn {
    font-size: 0.95rem;
}

.project-bullets {
    padding-left: 1.2rem;
}

.project-bullets li {
    margin-bottom: 0.6rem;
    line-height: 1.55;
}

.project-meta {
    font-size: 0.85rem;
    color: #9aa4a6;
    margin: 0.4rem 0 0.8rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(96, 225, 224, 0.15);
    border-radius: 10px;
    padding: 1.75rem;
}

/* Experience Section */

.experience {
    margin-top: 2rem;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
}

.experience-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #D1D9E1;
}

.experience-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(96, 225, 224, 0.12);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.date {
    font-size: 0.85rem;
    color: #9aa4a6;
    white-space: nowrap;
}

.experience-bullets {
    margin-top: 0.75rem;
    padding-left: 1.2rem;
}

.experience-bullets li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Contact Section */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 1rem;
}

.btn.primary {
    background: #60E1E0;
    color: #001427;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(96, 225, 224, 0.25);
}

.btn.secondary {
    background: transparent;
    color: #60E1E0;
    border: 1px solid #60E1E0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.secondary:hover {
    background: rgba(96, 225, 224, 0.1);
    transform: translateY(-2px);
}

.contact-links {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
    font-weight: 500;
    justify-content: center;
}

.contact-links a {
    color: #3C787E;
    text-decoration: none;
}

.contact-links a:hover {
    text-decoration: none;
    color: #60E1E0
}