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

body {
    font-family: 'Helvetica Neue', sans-serif;
    line-height: 1.4;
    color: #333;
    background-color: #fafafa;
    padding-top: 50px;
    /* Adjust to match header height */
}

a {
    color: #0077cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h3 {
    font-size: 1.5rem;
 }
/* Container to center the page and cap width */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Make header fixed at the top */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #eaeaea;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}
header > div {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.logo {
    font-weight: bold;
    font-size: 0.9rem;
    color: #111;
}

.logo a {
    color: #111;
}

nav a {
    margin-left: 1.5rem;
    font-size: 0.9rem;
}

section {
    padding: 4rem 2rem;
}
/* About section */
.about {
    display: flex;
    flex-wrap: wrap;
    color: #fff;
    padding: 2rem;
    position: relative;
}

.about::before {
    content: "";
    background-color: #00a9b7;
    position: absolute;
    left: 0;
    right: 0;
    top: 180px;
    bottom: 0;
    z-index: -1;
}

.profile-img {
    width: 450px;
    height: 450px;
    border-radius: 50%;
    margin-right: 2rem;
    object-fit: cover;
}

.intro {
    padding-top: 70px;
    max-width: 600px;
}

.intro h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.tagline {
    font-weight: none;
    font-size: 2rem;
    margin: 1rem 0;
}

 .intro .description {
    font-size: 1.5rem;
 }

/* Section titles */
section h2 {
    font-size: 3rem;
    color: #00a9b7;
    margin-bottom: 10px;
}

/* Skills */
#skills {
    background-color: #fff;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.skills-grid>div {
    flex: 1 1;
}

.skills-grid ul {
    margin: 14px 0 0 14px;
}

.highlight {
    color: #f5a623;
    font-weight: bold;
}

.catch-phrase {
    font-size: 2rem;
    text-align: center;
}
/* Projects */
#projects {
    background-color: #f5f5f5;
}

#projects h3 {
    padding-bottom: 18px;
}

#projects article {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 2rem;
}
#projects article > div {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

#projects img {
    max-width: 300px;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.orange {
    color: #f5a623;
    font-weight: bold;
}

.confidential {
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Contact */
#contact {
    background-color: #fff;
}

#contact a {
    color: #0077cc;
}

#contact .highlight {
    color: #f5a623;
}

/* Footer */
footer {
    background-color: #00a9b7;
    color: #fff;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
}

#menu-toggle {
    display: none;
}

/* Hamburger icon */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    width: 30px;
    height: 24px;
    gap: 5px;
}

.hamburger span {
    height: 3px;
    width: 100%;
    background: #333;
    display: block;
    border-radius: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about {
        flex-direction: column;
        align-items: center;
    }

    .intro {
        padding-top: 10px;
    }

    #projects article > div {
        flex-direction: column;
    }

    .profile-img {
        margin-bottom: 1rem;
        margin-right: 0;
    }

    nav a {
        margin: 0 1rem 0 0;
    }

    #projects img {
        max-width: 100%;
    }
}

@media (max-width: 450px) {
    .profile-img {
        width: 80%;
        height: auto;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .hamburger {
        display: flex;
    }

    nav {
        position: absolute;
        top: 100%;
        right: 0;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        width: 200px;
        display: none;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        padding: 10px;
        z-index: 1000;
    }

    #menu-toggle:checked + .hamburger + nav {
        display: flex;
    }

    nav a {
        padding: 10px 0;
        width: 100%;
    }
}