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

body {
    font-family: 'Arial', sans-serif;
    background: url('img/bg-image.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #333;
    line-height: 1.6;
    padding: 40px;
}

header {
    text-align: center;
    margin-bottom: 20px;
}

header h1 {
    font-size: 36px;
    line-height: 1.2em;
    font-weight: bold;
    margin-bottom: 30px;
    color: black;
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center; /* Aligns content vertically */
    gap: 40px; /* Space between columns */
}

.left-column {
    flex: 1;
    width: 50%;
}

.form-section {
    flex: 1;
    width: 50%;
    background: none;
    box-shadow: none;
}
.form-section h2 {
    font-size:24px;
    line-height: 1.2em;
    font-weight: bold;
    color: #707070;
    text-align: center;
    margin-bottom: 30px;
}

.promo-container {
    position: relative;
    display: inline-block;
}

.promo-image {
    width: 100%;
    height: auto;
    border-radius: 0;
}

.promo-text {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
}
.promo-text .lrg-txt {
    font-size: 80px;
    font-weight: bold;
    line-height: 1em;
}
.promo-text .sml-txt {
    font-size: 24px;
    font-weight: bold;
}

.voucher h3 {
    font-size: 18px;
    margin-bottom: 20px;
    margin-top: 30px;
    text-align: center;
    color: #707070;
    font-weight: 300;
}

.voucher-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Ensure 4 logos in one row on desktop */
    gap: 10px; /* Spacing between logos */
    max-width: 100%; /* Restrict width to parent container */
    justify-items: center; /* Center-align logos */
}

.voucher-logos img {
    max-width: 100%; /* Ensure logos are responsive */
    height: auto;
}

.selectable-logo {
    cursor: pointer;
    border: 1px solid transparent; /* Default state with no border */
    transition: border 0.3s ease; /* Smooth border transition */
}

.selectable-logo.selected {
    border: 1px solid #707070; /* Highlighted state */
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.16);
}

.gender {
    margin-bottom: 20px;
}

.gender button {
    width: 48%; /* Buttons fit side by side */
    padding: 20px 10px;
    margin: 5px 1% 0 0;
    border: 1px solid #707070;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.16);
    background-color: white;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    color: #707070;
}

.gender button:hover {
    background-color: #f0f0f0;
}

/* Checkbox Styling */
.checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 30px;
}

.checkbox input {
    margin-right: 20px;
    width: 16px; /* Styled checkbox size */
    height: 16px;
    border: 1px solid #707070;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.16);
    cursor: pointer;
}

.checkbox label {
    font-size: 13px;
    color: #707070;
    line-height: 15px;
}
.checkbox label a {
    color: #707070;
    text-decoration: underline;
}
.checkbox label a:hover {
    color: #000000;
}

/* Form Input Field Styling */
form input[type="text"],
form input[type="email"] {
    width: 100%;
    padding: 10px 5px;
    margin-bottom: 15px;
    border: none;
    border-bottom: 1px solid #707070;
    background: transparent;
    color: #707070;
}
form input::placeholder {
    color: #707070 !important;
    opacity: 1; /* Firefox */
  }
  
form input::-ms-input-placeholder { /* Edge 12 -18 */
    color: #707070 !important;
}

.form-section .label {
    font-size: 13px;
    color: :#707070;
    margin: 10px 0 20px 5px;
}

.date-fields {
    display: flex;
    justify-content: space-between; /* Space between each field */
    gap: 10px; /* Add spacing between fields */
}

.date-fields input {
    flex: 1; /* Make all fields equal width */
    padding: 20px 10px !important;
    border: 1px solid #707070 !important; /* Solid border for distinction */
    border-radius: 0px; /* Rounded corners for styling */
    text-align: center; /* Center-align text */
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.16);
}

.date-of-birth {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.dob-dropdown {
    font-size: 13px;
    color: #707070;
    background-color: #fff;
    cursor: pointer;
    flex: 1; /* Make all fields equal width */
    padding: 20px 10px !important;
    border: 1px solid #707070 !important; /* Solid border for distinction */
    border-radius: 0px; /* Rounded corners for styling */
    text-align: center; /* Center-align text */
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.16);
    appearance: none; /* Removes the default dropdown arrow in most browsers */
    -moz-appearance: none; /* Firefox-specific */
    -webkit-appearance: none; /* WebKit-specific (Safari, Chrome) */
}

.dob-dropdown::-ms-expand {
    display: none; /* Hides the dropdown arrow in Internet Explorer */
}

.date-of-birth {
    margin-bottom: 30px;
}

/* Submit Button Styling */
.submit-btn {
    display: block;
    width: 100%;
    padding: 20px 15px;
    margin-top: 10px;
    background-color: black;
    color: white;
    border: none;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.16);
    text-align: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
}

.submit-btn:hover {
    background-color: #333;
}

.single-column .submit-btn {
    max-width: 50%;
    margin: 0 auto;
}

.single-column {
    max-width: 1200px;
    margin: 0 auto;
    background: transparent;
}

.single-column.narrow {
    max-width: 500px;
}

.single-column p {
    font-size: 14px;
    color: #707070;
    text-align: left;
    margin-bottom: 20px;
}

.single-column.centered,
.single-column.centered p,
.single-column.centered .job-listing {
    text-align: center;
}

.question-block {
    position: relative; /* Ensures the indicator is positioned relative to the box */
    padding: 20px;
    background-color: white;
    border: 1px solid #707070;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.16);
    border-radius: 0px;
    margin-bottom: 20px;
}

.question-block p {
    font-size: 16px;
    color: #707070;
    margin-bottom: 10px;
}

.question-block .indicator {
    position: absolute;
    top: 0px; /* Adjusts the vertical position */
    right: 0px; /* Adjusts the horizontal position */
    background-color: #707070;
    color: #fff;
    font-size: 12px;
    padding: 5px 8px;
    border-radius: 0px;
    font-weight: bold;
    text-align: center;
}

.radio-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.radio-options label {
    flex: 1 1 calc(25% - 10px); /* Four radio buttons per row */
    max-width: calc(25% - 10px);
    font-size: 14px;
    color: #707070;
    background: transparent;
    padding: 10px;
    border: none;
    cursor: pointer;
}

.radio-options label input {
    margin-right: 5px;
}

.radio-options label:hover {
    background: #f0f0f0;
    border-color: #999;
}
.unsubscribe .radio-options label {
    flex: 1 1 calc(100% - 10px); /* Four radio buttons per row */
    max-width: calc(100% - 10px);
}
.unsubscribe .radio-options label:last-child {
    margin-bottom: 30px;
}

.confetti img {
    width: 80px;
    margin: 20px auto;
    display: block;
}

.single-column .intro-txt {
    max-width: 750px;
    margin: 20px auto 40px auto;
}

.single-column .job-description {
    max-width: 600px;
    margin: 0 auto;
}

.job-listing {
    text-align: left;
    margin-bottom: 20px;
    padding: 10px 20px;
    position: relative;
}

.job-listing::after {
    content: '';
    display: block;
    width: 200px; /* Set the width of the divider */
    height: 1px; /* Divider thickness */
    background-color: #707070; /* Divider color */
    margin: 40px auto 0; /* Center the divider and add spacing */
}
  
.job-listing:last-child::after {
    display: none; /* Remove divider line for the last job listing */
}

.job-listing h3 {
    font-size: 16px;
    color: #707070;
    margin-bottom: 5px;
}

.job-listing p {
    font-size: 14px;
    color: #707070;
    margin-bottom: 5px;
}

form.unsubscribe {
    text-align: left !important;
}

/* Footer Styling */
footer {
    margin-top: 60px;
    text-align: center;
    font-size: 14px;
    color: #707070;
}

footer ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

footer ul li {
    margin: 0 20px 0 0;
}

footer ul li a {
    text-decoration: underline;
    color: #707070;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: #000;
    text-decoration: underline;
}

/* Responsive Layout */
@media (max-width: 768px) {
    header h1 {
        font-size: 28px;
    }

    .form-section h2 {
        font-size:22px;
        margin-top: 30px;
    }

    .main-content {
        flex-direction: column;
        gap: 20px;
    }

    .left-column, .form-section {
        width: 100%; /* Columns take up full width on mobile */
    }

    .voucher-logos {
        grid-template-columns: repeat(2, 1fr); /* 2 logos per row */
    }

    .gender button {
        width: 48%; /* Maintain button alignment on mobile */
    }

    .radio-options label {
        flex: 1 1 100% !important; /* Full width for each radio option on mobile */
        min-width: 100% !important;
    }
    .single-column .submit-btn {
        max-width: 100%;
    }
}