/* 1. Global Reset & Foundations */
* {
    box-sizing: border-box; /* Fixes layout breaking on inputs/images */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    color: #333;
    background: #f4f7f6;
}

/* 2. Header & Navigation Fixes */
header {
    background: #002d62;
    color: white;
    padding: 30px 15px;
    text-align: center;
    width: 100%;
}

header h1 {
    margin: 0;
    font-size: 2.2rem;
}

nav {
    margin-top: 20px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    padding: 5px 10px;
    transition: color 0.3s;
}

nav a:hover {
    color: #ffcc00; /* Subtle highlight for navigation */
}

/* 3. Main Content Container */
section {
    padding: 40px 20px;
    max-width: 900px;
    margin: 30px auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-height: 450px;
}

/* 4. Home Page: Headshot & Clocks */
.profile-img {
    float: right;
    width: 180px; /* Forces professional size */
    height: auto;
    margin: 0 0 20px 20px;
    border-radius: 8px;
    border: 3px solid #002d62;
}

.bio-wrapper::after {
    content: "";
    clear: both;
    display: table;
}

#clocks-container {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    background: #e9ecef;
    border-radius: 6px;
    margin-top: 30px;
    border: 1px solid #dee2e6;
    font-size: 0.85rem;
    clear: both;
}

/* 5. Experience & Credentials Page styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

th {
    background-color: #002d62;
    color: white;
}

.item {
    border-left: 5px solid #002d62;
    padding: 15px;
    margin-bottom: 20px;
    background: #fdfdfd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* 6. Form Styling (Friendly & Functional) */
.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #002d62;
}

input, textarea, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

button {
    background: #002d62;
    color: white;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 4px;
    width: 100%;
}

button:hover {
    background: #004085;
}