:root {
    --page-bg: #e5e5e5;
    --nav-bg: #f7f7f8;
    --header-bg: linear-gradient(90deg, #021a31 0%, #001428 100%);
    --text-main: #0f172a;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: var(--page-bg);
    color: var(--text-main);
    font-family: "Barlow", Arial, sans-serif;
}
a {
    color: inherit;
}
.wrapper {
    min-height: calc(100vh - 72px);
}
.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
#navbar {
    background: var(--nav-bg);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
#navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    gap: 16px;
}
#branding a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 30px;
    line-height: 1;
    font-weight: 400;
    color: #000;
}
.logo-tvas {
    width: 36px;
    height: 36px;
    display: block;
}
.qub-link {
    text-align: right;
    font-size: 16px;
    line-height: 1.35;
}
.qub-link a {
    text-decoration: none;
}
.qub-link a:hover {
    text-decoration: underline;
}
#header {
    background: var(--header-bg);
    color: #fff;
    padding: 44px 0 64px;
    text-align: center;
}
.qub-logo img {
    width: 140px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 14px;
}
#header h1 {
    margin: 0;
    color: #fff;
    font-size: 54px;
    line-height: 1.05;
    font-weight: 700;
}
main {
    padding-bottom: 28px;
}
.wufoo-native {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}
.wufoo-native-form {
    background: #fff;
    border-radius: 6px;
    padding: 20px;
    font-family: Arial, sans-serif;
    color: #000;
}
.wufoo-native-form ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.wufoo-confirmation {
    display: none;
    background: #fff;
    border-radius: 6px;
    padding: 24px 20px;
    font-family: Arial, sans-serif;
}
.wufoo-confirmation h2 {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 300;
}
.wufoo-confirmation p {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
}
.wufoo-confirmation-note {
    display: block !important;
    visibility: visible !important;
    margin-top: 10px;
    padding: 10px 12px;
    background: #f5f6f7;
    border-left: 3px solid #c9ced6;
    color: #3f4650;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.wufoo-native-header {
    margin-bottom: 16px;
}
.wufoo-native-header h2 {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 300;
}
.wufoo-native-header p {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
}
.wufoo-native-header strong {
    color: #000;
}
.wufoo-native-field {
    margin: 0;
    padding: 8px 0;
    list-style: none;
}
.wufoo-native-field label {
    display: block;
    margin-bottom: 3px;
    color: #444;
    font-size: 13.3px;
    font-weight: 700;
}
.wufoo-native-field .req {
    color: rgb(255, 0, 0);
}
.wufoo-native-error {
    display: none;
    margin-top: 6px;
    color: #c53030;
    font-size: 12px;
    line-height: 1.4;
}
.wufoo-native-field input[type="text"],
.wufoo-native-field input[type="email"],
.wufoo-native-field select,
.wufoo-native-field textarea {
    width: 100%;
    border: 0;
    border-radius: 0;
    background: #f2f2f2;
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 14px;
    box-sizing: border-box;
}
.wufoo-native-field input[type="text"],
.wufoo-native-field input[type="email"],
.wufoo-native-field select {
    height: 38px;
    padding: 0 16px;
}
.wufoo-native-field select {
    cursor: pointer;
    padding-right: 44px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #6b7280 50%),
        linear-gradient(135deg, #6b7280 50%, transparent 50%);
    background-position:
        calc(100% - 22px) 16px,
        calc(100% - 16px) 16px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}
.wufoo-native-field textarea {
    min-height: 150px;
    padding: 12px 16px;
    resize: vertical;
}
.wufoo-native-field input:focus,
.wufoo-native-field select:focus,
.wufoo-native-field textarea:focus {
    outline: none;
    background-color: #eef4fa;
}
.wufoo-native-actions {
    list-style: none;
    padding: 8px 0 0;
    margin: 0;
}
.wufoo-native-submit {
    background: #003da5;
    color: #fff;
    border: 0;
    border-radius: 4px;
    padding: 10px 16px;
    font-size: 15px;
    cursor: pointer;
}
.wufoo-native-hidden {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 16px;
    }
    #header h1 {
        font-size: 46px;
    }
    .wufoo-native {
        margin: 24px auto;
        padding: 0 16px;
    }
    .wufoo-native-form,
    .wufoo-confirmation {
        padding: 18px 16px;
    }
}

@media (max-width: 768px) {
    #navbar .container {
        min-height: 58px;
    }
    #branding a {
        font-size: 24px;
        gap: 8px;
    }
    .logo-tvas {
        width: 30px;
        height: 30px;
    }
    .qub-link {
        font-size: 13px;
    }
    #header {
        padding: 34px 0 46px;
    }
    #header h1 {
        font-size: 38px;
    }
    .wufoo-native {
        margin: 16px auto;
        padding: 0 12px;
    }
    .wufoo-native-form {
        padding: 14px;
        border-radius: 4px;
    }
    .wufoo-confirmation {
        padding: 18px 14px;
        border-radius: 4px;
    }
    .wufoo-confirmation h2 {
        font-size: 26px;
    }
    .wufoo-confirmation p {
        font-size: 14px;
    }
    .wufoo-native-header h2 {
        font-size: 26px;
    }
    .wufoo-native-header p {
        font-size: 14px;
    }
    .wufoo-native-submit {
        width: 100%;
        min-height: 42px;
    }
    .wufoo-native-field input[type="text"],
    .wufoo-native-field select,
    .wufoo-native-field textarea {
        font-size: 16px;
    }
    .wufoo-native-field select {
        background-position:
            calc(100% - 22px) 18px,
            calc(100% - 16px) 18px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    #navbar .container {
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: space-between;
        padding-top: 8px;
        padding-bottom: 8px;
    }
    #branding a {
        font-size: 22px;
    }
    .qub-link {
        width: 100%;
        text-align: left;
        font-size: 12px;
    }
    #header {
        padding: 28px 0 38px;
    }
    #header h1 {
        font-size: 32px;
    }
    .wufoo-native {
        padding: 0 10px;
    }
    .wufoo-native-form,
    .wufoo-confirmation {
        padding: 14px 12px;
    }
    .wufoo-native-header h2,
    .wufoo-confirmation h2 {
        font-size: 24px;
    }
    .wufoo-native-header p,
    .wufoo-confirmation p {
        font-size: 13px;
        line-height: 1.45;
    }
    .wufoo-confirmation-note {
        font-size: 13px;
        padding: 9px 10px;
    }
    .wufoo-native-field {
        padding: 7px 0;
    }
    .wufoo-native-field textarea {
        min-height: 130px;
    }
}
#footer {
    background: #0a0c11;
    min-height: 72px;
}
