@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

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

body {
    font-family: 'Inter', Arial, sans-serif;
    background-color: #f4f1eb;
    color: #2c2c2c;
    line-height: 1.6;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 75, 135, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 75, 135, 0.03) 0%, transparent 50%);
}

/* ===================== */
/*   HEADER              */
/* ===================== */
header {
    background: linear-gradient(160deg, #0060a8 0%, #004b87 40%, #003d6e 100%);
    color: white;
    padding: 22px 0;
    text-align: center;
    box-shadow:
        0 4px 15px rgba(0, 60, 110, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

header a {
    text-decoration: none;
    color: inherit;
}

header img {
    vertical-align: middle;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

header h1 {
    display: inline-block;
    margin-left: 14px;
    font-size: 32px;
    font-weight: 800;
    position: relative;
    top: 5px;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

/* ===================== */
/*   NAVIGATION          */
/* ===================== */
nav {
    text-align: center;
    background: linear-gradient(160deg, #0072c6, #005da0);
    padding: 12px 10px;
    box-shadow: 0 2px 8px rgba(0, 60, 110, 0.2);
}

nav a {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 18px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.8px;
    padding: 6px 4px;
    transition: color 0.2s ease, border-bottom 0.2s ease;
    border-bottom: 2px solid transparent;
}

nav a:hover {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.6);
}

/* ===================== */
/*   CONTAINER           */
/* ===================== */
.container {
    max-width: 960px;
    margin: 40px auto 100px;
    text-align: center;
    padding: 0 24px;
}

.container h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #003d6e;
    letter-spacing: 0.5px;
}

.container h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 14px 0;
    color: #004b87;
}

.container p {
    font-size: 16px;
    line-height: 1.7;
    color: #4a4a4a;
}

/* ===================== */
/*   CARDS               */
/* ===================== */
.project, .team-member, .intro, .experience {
    background: linear-gradient(180deg, #fefcf8, #f8f2e8);
    margin-bottom: 28px;
    padding: 28px 24px;
    text-align: center;
    border-radius: 14px;
    border: 1px solid rgba(0, 75, 135, 0.08);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.project:hover, .team-member:hover, .intro:hover, .experience:hover {
    box-shadow:
        0 8px 24px rgba(0, 60, 110, 0.1),
        0 2px 6px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.project img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 16px;
    border: 3px solid rgba(0, 75, 135, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ===================== */
/*   SEPARATOR           */
/* ===================== */
hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 75, 135, 0.15), transparent);
    margin: 18px 0;
}

/* ===================== */
/*   FOOTER              */
/* ===================== */
footer {
    background: linear-gradient(160deg, #004b87, #003358);
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    padding: 14px 0;
    width: 100%;
    position: fixed;
    bottom: 0;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.3px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
}

/* ===================== */
/*   FORM                */
/* ===================== */
form {
    background: linear-gradient(180deg, #fefcf8, #f8f2e8);
    padding: 28px 24px;
    border-radius: 14px;
    border: 1px solid rgba(0, 75, 135, 0.08);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04);
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    color: #3a3a3a;
    letter-spacing: 0.3px;
}

input[type="email"], textarea {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 16px;
    border: 2px solid rgba(0, 75, 135, 0.12);
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #2c2c2c;
    background: #fffdf8;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="email"]:focus, textarea:focus {
    border-color: rgba(0, 96, 168, 0.4);
    box-shadow: 0 0 0 3px rgba(0, 96, 168, 0.1);
}

textarea {
    resize: none;
    height: 110px;
}

button {
    background: linear-gradient(160deg, #0072c6, #005da0);
    color: white;
    padding: 12px 28px;
    border: none;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow:
        0 3px 0 #003d6e,
        0 4px 10px rgba(0, 60, 110, 0.2);
    transition: all 0.1s ease;
}

button:hover {
    background: linear-gradient(160deg, #0080d8, #0068b0);
    box-shadow:
        0 4px 0 #003d6e,
        0 6px 14px rgba(0, 60, 110, 0.25);
    transform: translateY(-1px);
}

button:active {
    box-shadow:
        0 1px 0 #003d6e,
        0 2px 4px rgba(0, 60, 110, 0.15);
    transform: translateY(2px);
}

.message {
    margin-top: 18px;
    font-size: 15px;
    font-weight: 500;
    color: #090;
}

/* ===================== */
/*   RESPONSIVE          */
/* ===================== */
@media (max-width: 600px) {
    header h1 {
        font-size: 24px;
    }

    nav a {
        font-size: 14px;
        display: inline-block;
        width: 100%;
        margin: 4px 0;
    }

    .container h2 {
        font-size: 22px;
    }

    .container p {
        font-size: 15px;
    }

    .container h3 {
        font-size: 19px;
    }
}
