/* General Styles */
header {
    /* Vertical gradient: navy top → light grey bottom */
    background: linear-gradient(to bottom, navy 0%, #d3d3d3 100%);
    color: white;
    padding: 40px 20px; /* bigger height so gradient shows */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    align-items: center;      /* vertically center photo and name */
    justify-content: center;  /* horizontally center */
    gap: 20px;                /* space between photo and name */
    flex-wrap: wrap;           /* wrap on small screens */
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid navy;
    object-fit: cover;
    background-color: white;
}

.name-title {
    font-family: 'Times New Roman', serif;
    color: navy;
    font-size: 2rem;
    margin: 0;
    text-align: center;
}

/* Mobile responsiveness */
@media screen and (max-width: 600px) {
    .profile-photo {
        width: 100px;
        height: 100px;
    }
    .name-title {
        font-size: 1.5rem;
        text-align: center;
    }
    .header-container {
        flex-direction: column;
    }
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    line-height: 1.6;
}

main {
    max-width: 900px;
    margin: auto;
    padding: 20px;
}

section {
    margin-bottom: 30px;
}

/* Section headers */
h2 {
    color: navy;
    border-bottom: 2px solid navy;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
}

/* Table header row styling */
.table-header {
    background-color: navy;
    color: white;
}

table, th, td {
    border: 1px solid navy;
}

th, td {
    padding: 10px;
    text-align: left;
}

ol, ul {
    padding-left: 20px;
}

dt {
    font-weight: bold;
    margin-top: 10px;
}

/* Form Styles */
form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid navy;
    border-radius: 5px;
}

form button {
    background-color: navy;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form button:hover {
    background-color: #000066;
}
