@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600&family=Open+Sans:wght@400;500&display=swap');

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

:root {
    --primary: #6C63FF;
    --primary-hover: #5A54E3;
    --bg: #F9FAFB;
    --card-bg: #FFFFFF;
    --border: #E5E7EB;
    --text-main: #111827;
    --text-body: #374151;
    --text-muted: #6B7280;
    --success: #22C55E;
    --note-bg: #F9F5FF;
}

body {
    min-height: 100vh;
    width: 100%;
    background-color: var(--bg);
    color: var(--text-main);
    overflow-x: hidden;
}

.header {
    width: 100%;
    height: 60px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.active {
    background-color: #005a9e;
    color: #fff;
    padding: 7px 12px;
    border-radius: 5px;
}

ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

li a {
    text-decoration: none;
    padding: 7px 10px;
    color: #1a1a1a;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

li a:hover {
    background-color: #0078d4;
    color: white;
}

.content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 40px auto;
    padding: 20px;
    width: 100%;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    width: 90%;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

form h1 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 5px;
}

form p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

label {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--text-body);
}

input,
textarea {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 10px;
    font-size: 0.9rem;
    outline: none;
    width: 100%;
    transition: border 0.3s;
    resize: none;
}

input:focus,
textarea:focus {
    border-color: #0078d4;
}

.submit {
    border: none;
    background-color: #0078d4;
    color: white;
    padding: 12px 18px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.error {
    color: red;
    font-size: 0.9rem;
}

.success {
    color: green;
    font-weight: bold;
    margin-top: 1rem;
}

.submit:hover {
    background-color: #005a9e;
}

.about-me {
    width: 100%;
    background-color: #ffffff;
    padding: 10px 10px;
}

.header2 {
    font-size: 1rem;
    margin-left: 20px;
    font-weight: 700;
    padding-top: 20px;
}

.container2 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 2rem;
}

.container2 div {
    background-color: #fafafa;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.container2 h5 {
    margin-top: 10px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-main);
}

.container2 p {
    line-height: 1.6;
    font-size: 0.95rem;
    color: var(--text-body);
    margin-top: 8px;
    font-family: 'Open Sans', sans-serif;
}




/* -------------------- RESPONSIVE DESIGN -------------------- */
@media screen and (max-width: 600px) {
    form {
        width: 90%;
        height: auto;
        padding: 20px;
    }

    .header {
        flex-direction: column;
        height: auto;
        padding: 10px 0;
    }


    ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 10px;
    }

    li {
        margin-right: 10px;
    }

    .about-me {
        margin-top: 5vw;
        padding: 15px;
    }

    .container2 div {
        height: auto;
        padding: 10px;
    }
}