@font-face {
    font-family: 'HeadBold';
    src: url('fonts/vintec-medium.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'TextRegular';
    src: url('fonts/vintec-light.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'TextRegular', sans-serif;
    background-color: #ffffff;
    color: #000000;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* Remove any width constraints that could cause horizontal scroll */
    width: 100%;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

.vintec-header {
    display: flex;
    justify-content: center;
    width: 100%;
    background-color: #ffffff;
    line-height: 0;
    /* Remove potential gap below image */
}



.vintec-header img {
    width: 100%;
    height: auto;
    display: block;
}

@media (min-width: 676px) {
    .vintec-header img {
        width: 100%;
        max-width: 1900px;
        object-fit: cover;
        object-position: center;
    }
}

.content-column {
    /* Adjust constraints for better mobile scaling */
    max-width: 750px;
    width: 100%;
    padding: 0 2rem;
    /* Reduce padding on mobile */
    margin: 0 auto;
    font-family: 'TextRegular', sans-serif;
    flex: 1 0 auto;
    box-sizing: border-box;
    /* Ensure padding is included in width calculation */
}

h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 25px;
    color: #000000;
    margin-bottom: 15px;
    margin-top: 35px;
    text-align: center;
    text-transform: uppercase;
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #000000;
}

#paragraph-content p {
    text-align: center;
    margin-bottom: 1.5rem;
}

#paragraph-content p:last-child {
    padding-bottom: 1.5rem;
}

label {
    font-family: 'HeadBold', sans-serif;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #000000;
    text-transform: none;
}

.checkbox-container label {
    display: inline;
    margin-left: 0.5rem;
}


input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 10px 15px;
    margin-bottom: 1rem;
    border: 1px solid hsla(225, 3%, 77%, .15);
    border-radius: 0;
    background-color: #181818;
    font-size: 1rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-sizing: border-box;
}

select {
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 0.7rem top 50%;
    background-size: 0.65rem auto;
    padding-right: 2rem;
    margin-bottom: 1rem !important;
    font-family: 'TextRegular', sans-serif;
    color: #242221;
}

select::-ms-expand {
    display: none;
}

select option {
    font-family: 'TextRegular', sans-serif;
    color: #242221;
}

textarea {
    margin-bottom: 1rem !important;
    font-family: 'TextRegular', sans-serif;
}

textarea::placeholder {
    font-family: 'TextRegular', sans-serif;
}

input[type="submit"] {

    background: #c27d29;
    border: 1px solid #c27d29;
    border-radius: 30px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    padding: 10px 24px;
    color: #fff;
    font-size: 20px;
    text-align: center;
    text-transform: uppercase;
    transition: .3s;
    margin: 30px 0;
    line-height: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}

input[type="submit"]:hover {
    background: #d2c295;
    border: 1px solid #d2c295;
}

.name-row {
    display: flex;
    justify-content: space-between;
}

.name-row>div {
    width: 46%;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    /* Change from center to flex-start */
    margin-bottom: 1rem;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 0.2rem;
    /* Add small top margin to align with first line of text */
    flex-shrink: 0;
    /* Prevent checkbox from shrinking */
}

.checkbox-container label {
    font-weight: bold;
    color: #000000;
    display: block;
    margin: 0;
    line-height: 1.5;
    text-transform: none;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
}

label a {
    color: #9f6728;
    text-decoration: underline;
}

a {
    color: #9f6728;
    text-decoration: underline;
    font-size: 16px;
}

.form-row {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;

}

.form-row>div {
    width: 48%;
}

.google-recaptcha,
.google-recaptcha p {
    margin-top: 22px;
    font-size: 10px;
    color: #999;
}

.google-recaptcha a {
    color: #001e50;
    text-decoration: none;
}

.grecaptcha-badge {
    visibility: hidden !important;
}

.errorlist {
    color: red !important;
    font-size: 0.88rem;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
}

footer {
    margin-top: 2rem;
    color: #000000;
    font-size: 0.88rem;
    background-color: #ffffff;
}

footer hr {
    border: 0;
    border-top: 1px solid #ccc;
    /* margin: 1rem 0; */
}

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

footer a:hover {
    text-decoration: underline;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

th {
    background-color: #f8f9fa;
    color: #242221;
    font-family: 'HeadBold', sans-serif;
    font-weight: normal;
    padding: 1rem 1rem 1rem 2rem;
    text-align: left;
    border-bottom: 2px solid #dee2e6;
}

td {
    padding: 1rem 1rem 1rem 2rem;
    border-bottom: 1px solid #dee2e6;
    color: #242221;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover {
    background-color: #f8f9fa;
    transition: background-color 0.2s ease;
}

.button {
    background-color: #c27d29;
    color: #ffffff;
    padding: 0.8rem 3.5rem;
    margin-top: 1rem;
    text-decoration: none;
    border-radius: 99px;
    border: none;
    cursor: pointer;
    font-family: 'HeadBold', sans-serif;
    transition: background-color 0.3s ease;
    font-size: 0.8rem;
    display: inline-block;
}

.button:hover {
    background-color: #6a6a6a;
}

.google-section {
    margin-top: auto;
    padding-top: 2rem;
}

.google-section p {
    font-size: 10px;
    text-align: center;
}

.google-section a {
    color: #001e50;
}

.google-section a:hover {
    color: #001e50;
}


html,
body {
    height: 100%;
    margin: 0 auto;
}

h1,
p {
    color: #000000;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content-column {
    flex: 1 0 auto;
}

footer.footer-content {
    flex-shrink: 0;
    width: 100%;
    background-color: #ffffff;
    padding: 1rem 0;
    margin-top: auto;
}

.footer-section {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 0.5rem;
    display: block;
    padding: 0 2rem;
}

.success-title {
    color: #000000;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 25px;
    line-height: 30px;
}

.footer-section p {
    margin: 0;
    font-size: 12px;
    display: inline-block;
    margin-right: 1rem;
    color: #000000;
}

.footer-section p:last-child {
    margin-right: 0;
}

.footer-section p a {
    color: #000000;
    text-decoration: underline;
}

/* Mobile styles - stack the links */
@media (max-width: 768px) {
    .footer-section p {
        display: block;
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .footer-section p:last-child {
        margin-bottom: 0;
    }
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .checkbox-container {
        align-items: flex-start;
    }

    .checkbox-container label {
        font-size: 15px;
        /* Slightly smaller text on mobile */
        line-height: 1.5;
        /* Better line spacing for mobile */
    }

    /* Ensure links don't break awkwardly */
    .checkbox-container label a {
        display: inline;
        /* Keep links inline */
        word-break: keep-all;
        /* Prevent breaking within words */
    }
}

/* New form field styling */
.form-field {
    border: none;
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 0;
    position: relative;
    width: 100%;
    margin: 0 0 25px;
    background-color: transparent;
    box-sizing: border-box;
}

.form-field:focus-within {
    border-color: #96172e;
}

.field-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 1rem;
    color: #000000;
    text-transform: none;
    margin-bottom: 10px;
    padding: 0;
    position: static;
    pointer-events: auto;
}

.form-field input,
.form-field textarea,
.form-field select {
    border: 1px solid #000000;
    border-radius: 10px;
    background: #ffffff;
    color: #000000;
    font-size: 1rem;
    padding: 10px 15px;
    margin: 0;
    width: 100%;
    outline: none;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
}

.form-field textarea {
    resize: vertical;
    min-height: 60px;
    height: 68px;
}

/* Adjust height for textarea fields */
.form-field:has(textarea) {
    height: auto;
    min-height: 68px;
}

/* Error styling */
.form-field.field-error {
    border-color: #d32f2f;
}

.form-field .error-text {
    position: static;
    margin-top: 5px;
    font-size: 0.75rem;
    color: #d32f2f;
}

/* Checkbox container adjustments - remove border styling */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 0;
    /* Remove padding */
    background-color: transparent;
    /* Remove background */
    height: auto;
    min-height: auto;
    /* Remove min-height */
    width: 100%;
    /* Ensure same width as other fields */
}

.checkbox-container input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 0.2rem;
    flex-shrink: 0;
    /* Custom checkbox styling */
    display: grid;
    place-content: center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    min-height: 25px;
    max-height: 25px;
    min-width: 25px;
    max-width: 25px;
    background: #ffffff;
    border-radius: 5px;
    border: 1px solid #000000;
    cursor: pointer;
    position: relative;
}

.checkbox-container input[type="checkbox"]:checked {
    background: #000000;
    border-color: #000000;
}

.checkbox-container input[type="checkbox"]:checked::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    /* Remove absolute positioning as grid handles centering */
    position: static;
    margin-top: -2px;
    /* Slight adjustment for visual centering */
}

.checkbox-container input[type="checkbox"]:focus {
    outline: none;
    border-color: #000000;
}

.checkbox-container label {
    font-weight: normal;
    color: #000000;
    display: block;
    margin: 0;
    line-height: 2;
    text-transform: none;
}

/* Mobile adjustments */
@media (max-width: 768px) {

    /* Remove checkbox container mobile padding */
    .checkbox-container {
        padding: 0;
    }
}

/* Mobile adjustments - improve scaling */
@media (max-width: 768px) {
    .content-column {
        padding: 0 2rem;
        /* Even smaller padding on mobile */
        max-width: 100%;
        /* Allow full width on mobile */
    }

    .form-field {
        padding: 0;
        margin: 0 0 25px;
    }

    /* Adjust submit button for mobile */
    input[type="submit"] {
        padding: 15px 30px;
        /* Reduce button padding */
        font-size: 16px;
        /* Smaller font */
        margin: 20px 0;
        width: 100%;
        /* Full width button on mobile */
        box-sizing: border-box;
    }

    /* Ensure footer doesn't cause overflow */
    .footer-section {
        padding: 0 0.5rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .content-column {
        padding: 0 2rem;
        /* Minimal padding */
    }

    .form-field {
        padding: 0;
        width: 100%;
        box-sizing: border-box;
    }

    /* Adjust heading for very small screens */
    h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    #paragraph-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    /* Ensure submit button doesn't overflow */
    input[type="submit"] {
        padding: 15px 20px;
        width: 100%;
        box-sizing: border-box;
    }
}