/* =========================
   RESET
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    background: #F4F6F7;
    color: #17212B;
}

h1,
h2,
h3,
.logo {
    font-family: "Montserrat", sans-serif;
}

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

ul {
    list-style: none;
}


/* =========================
   HEADER
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(244, 246, 247, 0.94);

    border-bottom: 1px solid #D5DEE3;

    backdrop-filter: blur(10px);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: "Montserrat", sans-serif;

    font-size: 0.9rem;
    font-weight: 700;

    letter-spacing: 3px;

    color: #0B1F2A;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    position: relative;

    font-size: 0.7rem;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 1.5px;

    color: #17212B;
}

.nav-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: #0B1F2A;

    transition: width 0.25s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    border: none;
    background: none;
    font-size: 1.5rem;
    cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 90vh;

    display: flex;
    align-items: center;

    padding: 120px 30px;

    position: relative;

    background: #F4F6F7;

    overflow: hidden;
}

.hero-layout {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    align-items: center;

    gap: 80px;
}

.hero-image {
    position: relative;

    width: 100%;
    max-width: 430px;

    justify-self: end;
}

.hero-image img {
    position: relative;
    z-index: 1;

    display: block;

    width: 100%;
    aspect-ratio: 4 / 5;

    object-fit: cover;

    filter: grayscale(15%);

    border-radius: 2px;

    box-shadow:
        20px 20px 0 rgba(11, 31, 42, 0.08);
}

.hero-image::before {
    content: "";

    position: absolute;

    top: -15px;
    left: -15px;

    width: 100%;
    height: 100%;

    border: 1px solid rgba(11, 31, 42, 0.12);

    z-index: 0;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.eyebrow {
    font-size: 0.7rem;

    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;

    margin-bottom: 18px;

    color: #718792;
}

.hero h1 {
    font-size: clamp(3.5rem, 9vw, 7rem);

    line-height: 0.95;

    font-weight: 700;

    letter-spacing: -4px;

    margin-bottom: 25px;

    color: #0B1F2A;
}

.hero h2 {
    font-family: "Inter", sans-serif;

    font-size: clamp(1.2rem, 3vw, 1.7rem);

    font-weight: 500;

    letter-spacing: 1px;

    color: #536773;

    margin-bottom: 30px;
}

.hero-description {
    max-width: 650px;

    margin: 0 auto 40px;

    font-size: 1.05rem;

    line-height: 1.8;

    color: #53616A;
}


/* =========================
   BUTTONS
========================= */

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.button {
    display: inline-block;

    padding: 14px 28px;

    border: 1px solid #0B1F2A;

    font-size: 0.75rem;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.button:hover {
    transform: translateY(-2px);
}
.button-primary {
    background: #0B1F2A;
    color: #FFFFFF;
}

.button-primary:hover {
    background: #172F3C;
}

.button-secondary {
    background: transparent;
}

.button-secondary:hover {
    background: #17212b;
    color: white;
}

.hero::before {
    content: "";

    position: absolute;

    top: 50%;
    right: -120px;

    width: 420px;
    height: 420px;

    border: 1px solid rgba(11, 31, 42, 0.08);

    border-radius: 50%;

    transform: translateY(-50%);
}

.hero::after {
    content: "";

    position: absolute;

    top: 50%;
    right: 90px;

    width: 1px;
    height: 520px;

    background: rgba(11, 31, 42, 0.08);

    transform: translateY(-50%) rotate(45deg);
}

/* =========================
   GENERAL SECTIONS
========================= */

.section {
    max-width: 1200px;
    margin: 0 auto;

    padding: 120px 30px;
}

.section-alt {
    max-width: none;
    padding-left: max(30px, calc((100% - 1140px) / 2));
    padding-right: max(30px, calc((100% - 1140px) / 2));

    background: #e9eef1;
}

.section-heading {
    max-width: 700px;

    margin-bottom: 70px;
}

.section-heading h2 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);

    line-height: 1;

    letter-spacing: -1.5px;

    color: #0B1F2A;
}


/* =========================
   ABOUT
========================= */

.section-content {
    max-width: 750px;
}

.section-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}


/* =========================
   EXPERIENCE
========================= */

.experience-list {
    max-width: 900px;
}

.experience-item {
    display: grid;

    grid-template-columns: 120px 1fr;

    gap: 40px;

    padding: 40px 0;

    border-top: 1px solid #C8D2D8;
}

.experience-date {
    font-family: "Montserrat", sans-serif;

    font-size: 0.8rem;

    font-weight: 700;

    letter-spacing: 1px;

    color: #718792;
}

.experience-item h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}


/* =========================
   QUALIFICATIONS
========================= */

.qualification-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.qualification-card {
    padding: 40px;

    border: 1px solid #D5DEE3;

    background: #FFFFFF;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.qualification-card:hover {
    transform: translateY(-5px);

    border-color: #AABAC3;

    box-shadow: 0 15px 35px rgba(11, 31, 42, 0.08);
}

.qualification-icon {
    font-size: 1.6rem;

    margin-bottom: 25px;

    opacity: 0.75;
}

.qualification-card h3 {
    margin-bottom: 10px;
}


/* =========================
   COVER LETTER
========================= */

.cover-letter {
    max-width: 750px;
    font-size: 1.05rem;
}

.cover-letter p {
    margin-bottom: 25px;
}


/* =========================
   CV
========================= */

.cv-content {
    max-width: 700px;
}

.cv-content p {
    margin-bottom: 30px;
}


/* =========================
   CONTACT
========================= */

.contact-content {
    max-width: 700px;
}

.contact-content p {
    margin-bottom: 25px;
}

.contact-link {
    font-size: 1.3rem;
    font-weight: 700;
}


/* =========================
   FOOTER
========================= */

.site-footer {
    padding: 50px 30px;

    text-align: center;

    background: #0B1F2A;

    color: #FFFFFF;
}

.site-footer p {
    margin-bottom: 6px;

    font-size: 0.8rem;

    letter-spacing: 1px;

    opacity: 0.75;
}

/* =========================
   QUALIFICATION CATEGORIES
========================= */

.qualification-category {
    margin-bottom: 90px;
}

.qualification-category:last-child {
    margin-bottom: 0;
}

.qualification-category-heading {
    margin-bottom: 35px;
}

.qualification-category-heading h3 {
    font-size: 1.5rem;

    color: #0B1F2A;
}


/* =========================
   QUALIFICATION TOP
========================= */

.qualification-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    margin-bottom: 25px;
}


/* =========================
   STCW BADGE
========================= */

.qualification-badge {
    display: inline-block;

    padding: 6px 9px;

    background: #0B1F2A;

    color: #FFFFFF;

    font-size: 0.65rem;

    font-weight: 700;

    letter-spacing: 1.5px;
}


/* =========================
   STCW CODE
========================= */

.qualification-code {
    font-size: 0.7rem;

    font-weight: 700;

    letter-spacing: 1px;

    color: #718792;
}


/* =========================
   QUALIFICATION TYPE
========================= */

.qualification-type {
    font-size: 0.65rem;

    font-weight: 700;

    letter-spacing: 1.5px;

    color: #718792;
}


/* =========================
   STATUS
========================= */

.qualification-status {
    font-size: 0.65rem;

    font-weight: 700;

    letter-spacing: 1px;

    color: #718792;
}


/* =========================
   QUALIFICATION TEXT
========================= */

.qualification-card h3 {
    font-size: 1.15rem;

    line-height: 1.3;

    margin-bottom: 12px;

    color: #0B1F2A;
}

.qualification-short {
    font-size: 0.75rem;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;

    color: #718792;

    margin-bottom: 15px;
}

.qualification-provider {
    display: block;

    margin-top: 25px;

    padding-top: 18px;

    border-top: 1px solid #E0E6EA;

    font-size: 0.72rem;

    font-weight: 600;

    letter-spacing: 0.5px;

    color: #536773;
}


/* =========================
   STCW CARD
========================= */

.stcw-card {
    border-top: 3px solid #0B1F2A;
}


/* =========================
   IN PROGRESS
========================= */

.in-progress {
    background: #F8FAFB;
}

.in-progress .qualification-status {
    font-weight: 700;
}
/* =========================
   MOBILE
========================= */

/* =========================
   WHY ME
========================= */

.strength-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 0 60px;

    max-width: 1000px;
}

.strength-item {
    display: grid;

    grid-template-columns: 55px 1fr;

    gap: 20px;

    padding: 35px 0;

    border-top: 1px solid #C8D2D8;
}

.strength-number {
    font-family: "Montserrat", sans-serif;

    font-size: 0.75rem;

    font-weight: 700;

    letter-spacing: 1px;

    color: #718792;
}

.strength-item h3 {
    margin-bottom: 10px;

    font-size: 1.15rem;

    color: #0B1F2A;
}

.strength-item p {
    font-size: 0.95rem;

    line-height: 1.7;

    color: #53616A;
}

/* =========================
   STCW SUMMARY
========================= */

.stcw-summary {
    display: grid;

    grid-template-columns: 180px 1fr;

    gap: 30px;

    align-items: center;

    margin-top: 30px;

    padding: 25px 0;

    border-top: 1px solid #C8D2D8;

    border-bottom: 1px solid #C8D2D8;
}

.stcw-summary-label {
    font-family: "Montserrat", sans-serif;

    font-size: 0.7rem;

    font-weight: 700;

    letter-spacing: 2px;

    color: #0B1F2A;
}

.stcw-summary p {
    font-size: 0.9rem;

    color: #53616A;
}


/* =========================
   QUALIFICATION NOTE
========================= */

.qualification-note {
    margin-top: 20px;

    padding-top: 20px;

    border-top: 1px solid #D5DEE3;
}

.qualification-note p {
    font-size: 0.8rem;

    color: #718792;

    font-style: italic;
}

/* =========================
   MARITIME TIMELINE
   ========================= */

.timeline {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0;
    padding-left: 70px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #8FA6B2;
}

.timeline-item {
    position: relative;
    display: flex;
    margin-bottom: 50px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -70px;
    top: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: #0B1F2A;
    color: #F4F6F7;

    border-radius: 50%;

    font-family: "Montserrat", sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;

    z-index: 2;
}

.timeline-content {
    width: 100%;
    padding: 28px 30px;

    background: #FFFFFF;
    border: 1px solid #E1E7EA;

    border-radius: 4px;

    box-shadow: 0 8px 24px rgba(11, 31, 42, 0.05);
}

.timeline-category {
    display: block;
    margin-bottom: 9px;

    font-family: "Montserrat", sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;

    color: #8FA6B2;
}

.timeline-content h3 {
    margin-bottom: 12px;

    font-family: "Montserrat", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;

    color: #0B1F2A;
}

.timeline-content p {
    margin-bottom: 18px;

    font-size: 0.9rem;
    line-height: 1.75;

    color: #53616A;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.timeline-tags span {
    padding: 6px 10px;

    border: 1px solid #D8E0E4;
    border-radius: 3px;

    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.04em;

    color: #53616A;
    background: #F4F6F7;
}

.timeline-future .timeline-marker {
    background: transparent;
    color: #0B1F2A;
    border: 1px solid #8FA6B2;
}

.timeline-future .timeline-content {
    border-style: dashed;
    background: #F8FAFB;
}

/* =========================
   DECKHAND PROFILE
   ========================= */

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;

    max-width: 1100px;
    margin: 55px auto 0;
}

.capability-card {
    position: relative;

    padding: 30px 28px;

    background: #FFFFFF;
    border: 1px solid #E1E7EA;
    border-radius: 4px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.capability-card:hover {
    transform: translateY(-4px);

    border-color: #8FA6B2;

    box-shadow: 0 12px 28px rgba(11, 31, 42, 0.08);
}

.capability-number {
    margin-bottom: 22px;

    font-family: "Montserrat", sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;

    color: #8FA6B2;
}

.capability-card h3 {
    margin-bottom: 13px;

    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 700;

    color: #0B1F2A;
}

.capability-card p {
    font-size: 0.84rem;
    line-height: 1.75;

    color: #53616A;
}

.capability-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    max-width: 1100px;
    margin: 35px auto 0;
    padding: 22px 26px;

    border-top: 1px solid #D8E0E4;
    border-bottom: 1px solid #D8E0E4;
}

.capability-footer span {
    font-family: "Montserrat", sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;

    color: #8FA6B2;
}

.capability-footer strong {
    font-family: "Montserrat", sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;

    color: #0B1F2A;
}

/* =========================
   CONTACT SECTION
   ========================= */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;

    max-width: 900px;
    margin: 55px auto 0;
}

.contact-card {
    display: block;

    padding: 34px 32px;

    background: #FFFFFF;
    border: 1px solid #E1E7EA;
    border-radius: 4px;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.contact-card:hover {
    transform: translateY(-4px);

    border-color: #8FA6B2;

    box-shadow: 0 12px 28px rgba(11, 31, 42, 0.08);
}

.contact-label {
    display: block;
    margin-bottom: 12px;

    font-family: "Montserrat", sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;

    color: #8FA6B2;
}

.contact-card h3 {
    margin-bottom: 12px;

    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 700;

    color: #0B1F2A;
}

.contact-card p {
    margin-bottom: 22px;

    font-size: 0.84rem;
    line-height: 1.7;

    color: #53616A;
}

.contact-action {
    font-family: "Montserrat", sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;

    color: #0B1F2A;
}

.contact-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    max-width: 900px;
    margin: 35px auto 0;
    padding: 22px 26px;

    border-top: 1px solid #D8E0E4;
    border-bottom: 1px solid #D8E0E4;
}

.contact-note span {
    font-family: "Montserrat", sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;

    color: #8FA6B2;
}

.contact-note strong {
    font-family: "Montserrat", sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;

    color: #0B1F2A;
}


@media (max-width: 600px) {

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 40px;
    }

    .contact-card {
        padding: 28px 22px;
    }

    .contact-card h3 {
        font-size: 0.92rem;
    }

    .contact-card p {
        font-size: 0.82rem;
    }

    .contact-note {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;

        padding: 20px;
    }

    .contact-note strong {
        line-height: 1.6;
    }
}

/* =========================
   DESKTOP NAVIGATION ALIGNMENT
   ========================= */

@media (min-width: 769px) {

    .nav-links {
        display: flex;
        align-items: center;
    }

    .nav-links a {
        display: inline-block;
        line-height: 1.6;
    }
}

@media (max-width: 900px) {

    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 40px;
    }

    .capability-card {
        padding: 25px 22px;
    }

    .capability-card h3 {
        font-size: 0.95rem;
    }

    .capability-card p {
        font-size: 0.82rem;
    }

    .capability-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;

        padding: 20px;
    }

    .capability-footer strong {
        line-height: 1.6;
    }
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 800px) {

    .hero::before,
    .hero::after {
        display: none;
    }

    .stcw-summary {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .strength-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .strength-item {
        grid-template-columns: 45px 1fr;
        gap: 15px;
    }

    .qualification-category {
        margin-bottom: 65px;
    }

    .qualification-top {
        align-items: flex-start;
    }

    .qualification-category-heading h3 {
        font-size: 1.3rem;
    }

    .hero {
        min-height: auto;
        padding: 90px 20px 100px;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-image {
        max-width: 340px;
        justify-self: center;
    }

    .navbar {
        padding: 18px 20px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;

        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        flex-direction: column;

        padding: 25px 20px;

        background: #f5f7f8;

        border-bottom: 1px solid #d9e0e5;
    }

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

    .hero {
        min-height: 85vh;
        padding: 80px 20px;
    }

    .section {
        padding: 80px 20px;
    }

    .section-alt {
        padding-left: 20px;
        padding-right: 20px;
    }

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

    .experience-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .timeline {
        margin-top: 45px;
        padding-left: 48px;
    }

    .timeline::before {
        left: 17px;
    }

    .timeline-marker {
        left: -48px;
        width: 36px;
        height: 36px;
        font-size: 0.5rem;
    }

    .timeline-item {
        margin-bottom: 35px;
    }

    .timeline-content {
        padding: 22px 20px;
    }

    .timeline-content h3 {
        font-size: 0.95rem;
    }

    .timeline-content p {
        font-size: 0.84rem;
        line-height: 1.7;
    }

    .timeline-tags span {
        font-size: 0.58rem;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 40px;
    }

    .capability-card {
        padding: 25px 22px;
    }

    .capability-card h3 {
        font-size: 0.95rem;
    }

    .capability-card p {
        font-size: 0.82rem;
    }

    .capability-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 20px;
    }

    .capability-footer strong {
        line-height: 1.6;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 40px;
    }

    .contact-card {
        padding: 28px 22px;
    }

    .contact-card h3 {
        font-size: 0.92rem;
    }

    .contact-card p {
        font-size: 0.82rem;
    }

    .contact-note {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 20px;
    }

    .contact-note strong {
        line-height: 1.6;
    }
}


/* ========================================
   LANGUAGE SELECTOR
======================================== */

.language-menu,
.theme-menu {
    position: relative;
}

.language-toggle,
.theme-toggle {
    font: inherit;
    font-size: 0.7rem;
    font-family: inherit;
    letter-spacing: inherit;
    color: #0B1F2A;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px 0;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.language-toggle:hover,
.theme-toggle:hover {
    color: #8FA6B2;
}

.language-options {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
    min-width: 145px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: #ffffff;
    border: 1px solid #d9e0e5;
    box-shadow: 0 10px 25px rgba(11, 31, 42, 0.10);
}

.language-options li {
    display: block;
    margin: 0;
    padding: 0;
}

.language-options button {
    display: block;
    width: 100%;
    padding: 10px 16px;
    text-align: left;
    font-family: inherit;
    font-size: 0.75rem;
    color: #0B1F2A;
    background: transparent;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.language-options button:hover {
    background: #f4f6f7;
}

/* Desktop: show languages on hover or keyboard focus */
@media (min-width: 801px) {
    .language-menu:hover .language-options,
    .language-menu:focus-within .language-options {
        display: block;
    }
}

/* Mobile: show languages when the menu is opened */
@media (max-width: 800px) {
    .language-toggle,
    .theme-toggle {
        display: block;
        width: 100%;
        padding: 12px 0;
        text-align: left;
        font-size: 0.8rem;
    }

    .language-options {
        position: static;
        min-width: 0;
        padding: 0 0 8px 14px;
        border: none;
        box-shadow: none;
        background: transparent;
    }

    .language-options button {
        padding: 10px 12px;
        font-size: 0.8rem;
        background: transparent;
    }

    .language-menu.open .language-options {
        display: block;
    }
}


/* ========================================
   DARK THEME
======================================== */

body.dark-theme {
    background: #0B1F2A;
    color: #E5EDF1;
}

/* Header and navigation */
body.dark-theme .site-header {
    background: rgba(11, 31, 42, 0.96);
    border-bottom-color: #29414D;
}

body.dark-theme .logo,
body.dark-theme .nav-links a,
body.dark-theme .language-toggle,
body.dark-theme .theme-toggle {
    color: #E5EDF1;
}

body.dark-theme .nav-links a::after {
    background: #E5EDF1;
}

body.dark-theme .menu-toggle {
    color: #E5EDF1;
}

body.dark-theme .language-options {
    background: #102B38;
    border-color: #29414D;
}

body.dark-theme .language-options button {
    color: #E5EDF1;
}

body.dark-theme .language-options button:hover {
    background: #1A3947;
}

/* Main backgrounds */
body.dark-theme .hero,
body.dark-theme .section {
    background-color: #0B1F2A;
}

body.dark-theme .section-alt {
    background: #102B38;
}

/* Headings and main text */
body.dark-theme .hero h1,
body.dark-theme .section-heading h2,
body.dark-theme .qualification-category-heading h3,
body.dark-theme .qualification-card h3,
body.dark-theme .strength-item h3,
body.dark-theme .timeline-content h3,
body.dark-theme .capability-card h3,
body.dark-theme .capability-footer strong,
body.dark-theme .contact-card h3,
body.dark-theme .contact-action,
body.dark-theme .stcw-summary-label {
    color: #E5EDF1;
}

body.dark-theme .hero h2,
body.dark-theme .hero-description,
body.dark-theme .section-content p,
body.dark-theme .cover-letter,
body.dark-theme .cv-content p,
body.dark-theme .contact-content p,
body.dark-theme .strength-item p,
body.dark-theme .stcw-summary p,
body.dark-theme .timeline-content p,
body.dark-theme .capability-card p,
body.dark-theme .contact-card p {
    color: #C0CFD6;
}

/* Cards */
body.dark-theme .qualification-card,
body.dark-theme .timeline-content,
body.dark-theme .capability-card,
body.dark-theme .contact-card {
    background: #102B38;
    border-color: #294653;
}

body.dark-theme .qualification-card:hover,
body.dark-theme .capability-card:hover,
body.dark-theme .contact-card:hover {
    border-color: #8FA6B2;
}

body.dark-theme .in-progress,
body.dark-theme .timeline-future .timeline-content {
    background: #153541;
}

body.dark-theme .qualification-provider {
    border-top-color: #294653;
    color: #C0CFD6;
}

/* Timeline and tags */
body.dark-theme .timeline-tags span {
    background: #153541;
    border-color: #36515E;
    color: #C0CFD6;
}

body.dark-theme .timeline-future .timeline-marker {
    color: #E5EDF1;
    border-color: #8FA6B2;
}

/* Dividers and borders */
body.dark-theme .experience-item,
body.dark-theme .strength-item,
body.dark-theme .stcw-summary,
body.dark-theme .capability-footer,
body.dark-theme .contact-note {
    border-color: #294653;
}

body.dark-theme .qualification-note {
    border-top-color: #294653;
}

body.dark-theme .hero::before,
body.dark-theme .hero::after {
    border-color: rgba(229, 237, 241, 0.10);
    background-color: rgba(229, 237, 241, 0.10);
}

body.dark-theme .hero-image::before {
    border-color: rgba(229, 237, 241, 0.18);
}

/* Buttons */
body.dark-theme .button {
    border-color: #8FA6B2;
}

body.dark-theme .button-primary {
    background: #E5EDF1;
    color: #0B1F2A;
}

body.dark-theme .button-primary:hover {
    background: #C0CFD6;
}

body.dark-theme .button-secondary {
    color: #E5EDF1;
    background: transparent;
}

body.dark-theme .button-secondary:hover {
    background: #E5EDF1;
    color: #0B1F2A;
}

/* Footer */
body.dark-theme .site-footer {
    background: #071720;
    border-top: 1px solid #29414D;
}

/* Mobile navigation */
@media (max-width: 800px) {
    body.dark-theme .nav-links {
        background: #102B38;
        border-bottom-color: #29414D;
    }

    body.dark-theme .language-options {
        background: transparent;
    }
}
