/* =========================================================
   GLOBAL
========================================================= */

* {
    box-sizing: border-box;
}


:root {

    --navy: #061a36;
    --navy-dark: #031329;

    --yellow: #ffc21a;
    --yellow-hover: #ffd24d;

    --text: #0c1c34;
    --muted: #657184;

    --border: #e4e8ed;

    --light: #f5f7fa;

    --blue: #0957a5;

}


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    font-family:
        "Inter",
        Arial,
        sans-serif;

    color: var(--text);

    background: #f7f9fc;

    -webkit-font-smoothing: antialiased;

}


a {

    color: inherit;

    text-decoration: none;

}


button,
input,
select,
textarea {

    font-family: inherit;

}


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

.site-header {

    height: 68px;

    background: var(--navy);

    color: white;

    position: relative;

    z-index: 100;

}


.header-container {

    width: min(
        1110px,
        calc(100% - 48px)
    );

    height: 68px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


/* LOGO */

.logo {

    display: flex;

    align-items: center;

    gap: 9px;

}


.logo-globe {

    width: 40px;

    color: var(--yellow);

    font-size: 40px;

    line-height: 1;

}


.logo-text {

    display: flex;

    flex-direction: column;

}


.logo-name {

    font-size: 20px;

    font-weight: 700;

    line-height: 20px;

    letter-spacing: -0.5px;

}


.logo-name span {

    color: var(--yellow);

}


.logo-subtitle {

    margin-top: 2px;

    font-size: 8px;

    letter-spacing: 1.2px;

    color: white;

}


/* DESKTOP NAV */

.desktop-navigation {

    display: flex;

    align-items: center;

    gap: 30px;

    font-size: 13px;

}


.desktop-navigation a {

    transition: color 0.2s ease;

}


.desktop-navigation a:hover {

    color: var(--yellow);

}


.language-button {

    padding: 9px 14px;

    background: transparent;

    color: white;

    border: 1px solid #5c6d84;

    border-radius: 7px;

    cursor: pointer;

}


.language-button span {

    margin-left: 8px;

}


/* MOBILE MENU */

.mobile-menu-button {

    display: none;

    border: none;

    background: transparent;

    color: white;

    font-size: 25px;

    cursor: pointer;

}


.mobile-navigation {

    display: none;

}


/* =========================================================
   APPLICATION PAGE
========================================================= */

.application-page {

    padding: 60px 0 80px;

}


.application-container {

    width: min(
        820px,
        calc(100% - 40px)
    );

    margin: 0 auto;

}


/* =========================================================
   PAGE HEADING
========================================================= */

.application-heading {

    text-align: center;

    margin-bottom: 35px;

}


.section-label {

    color: var(--yellow);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.25px;

}


.application-heading h1 {

    margin: 10px 0 0;

    font-size: 36px;

    line-height: 1.2;

    letter-spacing: -1px;

    color: var(--navy);

}


.yellow-line {

    width: 34px;

    height: 3px;

    margin: 12px auto 18px;

    background: var(--yellow);

}


.application-heading p {

    max-width: 620px;

    margin: auto;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.7;

}


/* =========================================================
   APPLICATION CARD
========================================================= */

.application-card {

    background: white;

    border: 1px solid var(--border);

    border-radius: 12px;

    box-shadow:
        0 12px 35px
        rgba(14, 31, 54, 0.08);

    padding: 40px;

}


/* =========================================================
   FORM SECTIONS
========================================================= */

.form-section {

    padding-bottom: 30px;

    margin-bottom: 30px;

    border-bottom: 1px solid #edf0f4;

}


.form-section:last-of-type {

    border-bottom: none;

    margin-bottom: 20px;

}


.form-section-title {

    color: var(--navy);

    font-size: 18px;

    font-weight: 700;

    margin-bottom: 22px;

    position: relative;

    padding-left: 14px;

}


.form-section-title::before {

    content: "";

    position: absolute;

    left: 0;

    top: 2px;

    bottom: 2px;

    width: 4px;

    border-radius: 3px;

    background: var(--yellow);

}


/* =========================================================
   FORM ROW
========================================================= */

.form-row {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 20px;

}


/* =========================================================
   FORM GROUP
========================================================= */

.form-group {

    margin-bottom: 20px;

}


.form-group label {

    display: block;

    margin-bottom: 8px;

    font-size: 12px;

    font-weight: 700;

    color: var(--text);

}


.form-group label span {

    color: #e0a900;

}


.form-group input,
.form-group select,
.form-group textarea {

    width: 100%;

    border: 1px solid #dce2e9;

    border-radius: 7px;

    background: white;

    color: var(--text);

    font-size: 13px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;

}


.form-group input,
.form-group select {

    height: 47px;

    padding: 0 14px;

}


.form-group textarea {

    padding: 13px 14px;

    resize: vertical;

    min-height: 120px;

    line-height: 1.6;

}


.form-group input::placeholder,
.form-group textarea::placeholder {

    color: #9aa5b3;

}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {

    border-color: var(--blue);

    box-shadow:
        0 0 0 3px
        rgba(9, 87, 165, 0.08);

}


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

.upload-box {

    min-height: 205px;

    border: 2px dashed #cbd5e1;

    border-radius: 10px;

    background: #fafbfd;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background 0.2s ease;

}


.upload-box:hover {

    border-color: var(--yellow);

    background: #fffdf5;

}


.upload-icon {

    width: 52px;

    height: 52px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: #eef3f8;

    color: var(--blue);

    font-size: 25px;

    font-weight: 700;

    margin-bottom: 12px;

}


.upload-title {

    color: var(--navy);

    font-size: 15px;

    font-weight: 700;

}


.upload-description {

    margin-top: 6px;

    color: var(--blue);

    font-size: 12px;

    font-weight: 600;

}


.upload-format {

    margin-top: 8px;

    color: var(--muted);

    font-size: 10px;

}


.upload-box input {

    display: none;

}


/* =========================================================
   SELECTED FILE
========================================================= */

.selected-file {

    margin-top: 12px;

}


.file-success {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 12px 15px;

    background: #f2f7fc;

    border: 1px solid #dce8f3;

    border-radius: 7px;

}


.file-icon {

    width: 40px;

    height: 40px;

    display: grid;

    place-items: center;

    border-radius: 6px;

    background: var(--navy);

    color: white;

    font-size: 9px;

    font-weight: 800;

}


.file-success strong {

    display: block;

    color: var(--text);

    font-size: 12px;

    word-break: break-all;

}


.file-success small {

    display: block;

    margin-top: 3px;

    color: var(--muted);

    font-size: 10px;

}


/* =========================================================
   AGREEMENT
========================================================= */

.agreement {

    margin-top: 5px;

    margin-bottom: 20px;

}


.checkbox-container {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    cursor: pointer;

}


.checkbox-container input {

    width: 17px;

    height: 17px;

    margin-top: 2px;

    accent-color: var(--yellow);

    flex-shrink: 0;

}


.agreement-text {

    color: var(--muted);

    font-size: 11px;

    line-height: 1.6;

}


/* =========================================================
   IMPORTANT NOTICE
========================================================= */

.notice-box {

    display: flex;

    align-items: flex-start;

    gap: 13px;

    padding: 16px;

    background: #fffaf0;

    border: 1px solid #f3df9d;

    border-radius: 8px;

    margin-bottom: 25px;

}


.notice-icon {

    width: 25px;

    height: 25px;

    flex-shrink: 0;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: var(--yellow);

    color: var(--navy);

    font-weight: 800;

    font-size: 13px;

}


.notice-box strong {

    display: block;

    margin-bottom: 5px;

    color: var(--navy);

    font-size: 12px;

}


.notice-box p {

    margin: 0;

    color: #6f654a;

    font-size: 10px;

    line-height: 1.6;

}


/* =========================================================
   SUBMIT
========================================================= */

.submit-area {

    text-align: center;

}


.submit-button {

    min-height: 50px;

    padding: 0 28px;

    border: none;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    color: #101010;

    background: var(--yellow);

    border-radius: 6px;

    font-size: 13px;

    font-weight: 800;

    cursor: pointer;

    transition: 0.2s ease;

}


.submit-button:hover {

    background: var(--yellow-hover);

    transform: translateY(-1px);

}


.submit-icon {

    font-size: 18px;

}


.secure-text {

    margin-top: 12px;

    color: var(--muted);

    font-size: 11px;

}


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

.footer {

    padding: 35px 0 18px;

    background: var(--navy);

    color: white;

}


.footer-container {

    width: min(
        1110px,
        calc(100% - 48px)
    );

    margin: auto;

}


.footer-top {

    min-height: 80px;

    padding-bottom: 25px;

    display: flex;

    align-items: center;

    border-bottom: 1px solid #29415e;

}


.footer-message {

    display: flex;

    align-items: center;

    gap: 18px;

}


.footer-globe {

    color: var(--yellow);

    font-size: 42px;

}


.footer h2 {

    margin: 3px 0 6px;

    font-size: 19px;

    line-height: 1.25;

}


.footer p {

    margin: 0;

    color: #c7d1dc;

    font-size: 11px;

}


.footer-bottom {

    padding-top: 16px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    color: #aeb9c7;

    font-size: 10px;

}


.footer-links {

    display: flex;

    gap: 25px;

}


.footer-links a:hover {

    color: white;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 800px) {

    .desktop-navigation {

        display: none;

    }


    .mobile-menu-button {

        display: block;

    }


    .mobile-navigation {

        position: absolute;

        top: 68px;

        left: 0;

        right: 0;

        padding: 22px;

        display: none;

        flex-direction: column;

        gap: 18px;

        background: var(--navy);

        box-shadow:
            0 10px 20px
            rgba(0,0,0,.2);

    }


    .mobile-navigation.open {

        display: flex;

    }


    .form-row {

        grid-template-columns: 1fr;

        gap: 0;

    }


    .application-card {

        padding: 30px;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 480px) {

    .header-container,
    .footer-container {

        width: calc(100% - 32px);

    }


    .application-container {

        width: calc(100% - 24px);

    }


    .application-page {

        padding: 40px 0 55px;

    }


    .application-heading h1 {

        font-size: 30px;

    }


    .application-heading p {

        font-size: 13px;

    }


    .application-card {

        padding: 22px 18px;

        border-radius: 9px;

    }


    .form-section-title {

        font-size: 16px;

    }


    .upload-box {

        min-height: 190px;

    }


    .submit-button {

        width: 100%;

    }


    .footer-message {

        align-items: flex-start;

    }


    .footer h2 {

        font-size: 17px;

    }


    .footer-bottom {

        flex-direction: column;

        align-items: flex-start;

        gap: 10px;

        line-height: 1.6;

    }


    .footer-links {

        flex-direction: column;

        gap: 5px;

    }

}


/* =========================================================
   SUCCESS POPUP
========================================================= */

.success-overlay {

    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;

    background: rgba(3, 19, 41, 0.72);

    backdrop-filter: blur(4px);

}


.success-popup {

    width: 100%;

    max-width: 460px;

    padding: 42px 38px;

    text-align: center;

    background: white;

    border-radius: 14px;

    box-shadow:
        0 25px 70px
        rgba(0, 0, 0, 0.28);

    animation:
        successPopupOpen
        0.35s ease;

}


@keyframes successPopupOpen {

    from {

        opacity: 0;

        transform:
            translateY(20px)
            scale(0.96);

    }

    to {

        opacity: 1;

        transform:
            translateY(0)
            scale(1);

    }

}


.success-popup-icon {

    width: 72px;

    height: 72px;

    margin:
        0
        auto
        20px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: #ffc21a;

    color: #061a36;

    font-size: 34px;

    font-weight: 800;

    box-shadow:
        0 8px 20px
        rgba(255, 194, 26, 0.25);

}


.success-popup h2 {

    margin:
        0
        0
        12px;

    color: #061a36;

    font-size: 25px;

    font-weight: 800;

}


.success-popup p {

    max-width: 360px;

    margin:
        0
        auto;

    color: #657184;

    font-size: 13px;

    line-height: 1.7;

}


.success-divider {

    width: 45px;

    height: 3px;

    margin:
        20px
        auto;

    border-radius: 5px;

    background: #ffc21a;

}


.success-popup .redirect-message {

    color: #061a36;

    font-size: 11px;

    font-weight: 600;

}


.popup-loader {

    width: 100%;

    height: 4px;

    margin-top: 20px;

    overflow: hidden;

    border-radius: 10px;

    background: #edf1f5;

}


.popup-loader-bar {

    width: 0;

    height: 100%;

    border-radius: 10px;

    background: #ffc21a;

    animation:
        popupLoading
        3s linear
        forwards;

}


@keyframes popupLoading {

    from {

        width: 0;

    }

    to {

        width: 100%;

    }

}


@media (max-width: 480px) {

    .success-popup {

        padding:
            35px
            24px;

    }


    .success-popup h2 {

        font-size: 22px;

    }

}