* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: #f7f9fc;
    color: #002d56;
    line-height: 1.5;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem;
    background: #ffffff;
    color: #003366;
    position: sticky;
    top: 0;
    z-index: 1000;
    text-transform: uppercase;
}

.logo {
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 7px;
}

.logo-img {
    max-width: 80%;
    max-height: 50px;
    position: relative;
        left: 5px;
}

.menu-toggle {
    font-size: 1.8rem;
    cursor: pointer;
    display: none;
}

.nav-list {
    padding-top: 0px;
    display: flex;
    list-style: none;
    gap: 1.2rem;
}

.nav-list li {
    padding-top: 10px;
    
}

.nav-list li a {
    color: #002d56;
    text-decoration: none;
    transition: color 0.2s;
 
}

.nav-list li a:hover {
}

/* Hero */
.hero {
    position: relative;
}

.hero-img {
    width: 100%;
    /* height: 500px; */
    height: 90vw;
    max-height: 500px;
    object-fit: cover;
    /* filter: brightness(0.9); */
}

.hero-text {
    position: absolute;
    top: 10px;
    right: 20px;
    color: white;
    width: 60%;    
    text-align: right;
    max-height: 280px;
   
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.5);
}

.hero-text .quote {
    font-size: 3.0vw;
     
}

.hero-text .author {
    font-size: 1.8vw;
    margin-top: 2px;
    font-style: italic;
}

/* Content Sections */
.content {
    padding: 1.5rem 1.5rem;
    max-width: 1000px;
    margin: auto;
}

h2 {
    color: #002d56;
    margin-bottom: 0.8rem;
    display: block;
    font-weight: 500;
    font-size: 1.6em;
}

h3 {
    margin-top: 1em;
    font-weight: 500;
}

ul {
    list-style: circle outside;
    margin-left: 20px;
    margin-bottom: 0px;
}

ul li {
    margin-bottom: 0.8rem;
}

address {
    margin-bottom: 2em;
}

/* Qualifications */
.qual-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.qual-grid h3 {
    margin-bottom: 1rem;
    padding-top: 0px;
    margin-top: 0.1rem;
}

/* Resume */
.resume-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

.card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.card a {
    color: #002d56;
    text-decoration: none;
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card .skipper {
    position: relative;
   
    height: 22px;
    width: 22px;
    margin-right: 3px;
}

.card-body {
    padding: 0.5rem 1rem 1rem 1rem;
    font-style: normal;
}

.details {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

.details td {
  padding: 4px 8px;
  vertical-align: middle;
}

.details tr td:first-child {
  width: 35%;
    padding: 6px 0 6px 0;
}

.details tr:nth-child(even) {
  background-color: #f9f9f9;
}

.statistics {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

.statistics td {
  padding: 4px 8px;
  vertical-align: middle;
}

.statistics tr td:first-child {
  width: 80%;
    padding: 6px 0 6px 0;
}

.statistics tr:nth-child(even) {
  background-color: #f9f9f9;
}

.card-body h3 {
    color: #002d56;
    margin: 0px;
    padding: 0px;
    display: inline;
}
.card-body .date {
    display: inline;
    margin-left: 15px;
}

.top-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.card-body .miles {
    font-style: bold;
}

/* Footer */
footer {
    background: #ffffff;
    color: #002d56;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
    font-size: 0.9rem;
}

footer a {
    color: #002d56;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        background: #ffffff;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        padding-left: 10px;

    }

    .nav-list.active {
        display: flex;
    }

    .qual-grid {
        grid-template-columns: 1fr;
    }

    .resume-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) {
    .qual-grid {
        grid-template-columns: 1fr 1fr;
    }

    .resume-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ====== Striped Tables ====== */
table.striped {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.0rem;
    font-size: 1rem;
}

table.striped td {
    padding: 0.7rem 0.5rem;
    border-bottom: 1px solid #ddd;
}

/* Alternating background colors */
table.striped tr:nth-child(odd) {
    background-color: #f4f8fc; /* light blue tone */
}

table.striped tr:nth-child(even) {
    background-color: #ffffff;
}

/* Optional hover effect */
table.striped tr:hover {
    background-color: #e8f2ff;
    transition: background 0.3s ease;
}