/* Universal Selector & Box Sizing Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Element Selector */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background: linear-gradient(
        90deg,
        #233a6a 0%,
        #23272f 20%,
        #23272f 80%,
        #233a6a 100%
    );
    color: #e0e0e0;
}

header {
    background: linear-gradient(
        90deg,
        #233a6a 0%,
        #23272f 20%,
        #23272f 80%,
        #233a6a 100%
    );
    color: #ffffff;
    padding: 2.5rem 1rem;
    text-align: center;
    border-bottom: 4px solid #00b894;
}

header h1 {
    font-size: 3rem;
    font-weight: 300;
}

nav {
    background-color: #2c2c2c;
    padding: 0.5rem;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav a {
    color: #eee;
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}

nav a:visited {
    color: #fffbe6; /* Light yellow for visited links */
}

nav a:hover {
    background-color: #00b894;
    border-radius: 5px;
    color: #23272f;
}

main {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background: #2b2b2b;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

section {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #444;
}

section:last-of-type {
    border-bottom: none;
}

h2 {
    font-size: 1.8rem;
    color: #00b894;
    border-bottom: 2px solid #ffffff22;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.4rem;
    color: #81ecec;
    margin-bottom: 0rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.certifications-flex {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    gap: 2rem;
}

table th, table td {
    border: 1px solid #444;
    padding: 12px;
    text-align: left;
}

table th {
    background-color: #333;
    font-weight: 600;
    color: #eee;
}

table td {
    background-color: #222;
}

ul {
    list-style-position: outside;
    padding-left: 1.5rem;
}

ul li {
    padding-left: 1.5rem;
}

footer {
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
    background: #111820;
    color: #ccc;
}

footer a:hover {
    text-decoration: underline;
    color: #00b894;
}

.media-item {
    display: block;
    max-width: 100%;
    margin-top: 1rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    border: 1px solid #555;
    background-color: #1a1a1a;
    color: #eee;
}

.contact-form input[type="submit"] {
    display: block;
    width: 100%;
    padding: 1rem;
    border: none;
    background-color: #00b894;
    color: white;
    font-size: 1.1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form input[type="submit"]:hover {
    background-color: #019875;
}

.contact-form fieldset {
    border: 1px solid #555;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.contact-form legend {
    padding: 0 0.5rem;
    font-weight: 600;
    color: #00cec9;
}

.contact-form input[type="radio"] {
    margin-right: 0.5rem;
}

.contact-form input[type="radio"] + label {
    display: inline-block;
    margin-right: 1.5rem;
    font-weight: normal;
}

#currentDate {
    font-style: italic;
    font-size: 0.9rem;
    text-align: right;
    color: #999;
    margin-top: 2rem;
}

a[href*="mailto"] {
    color: #00cec9;
    font-weight: 600;
    text-decoration: none;
}
