/* Hero Section */
#heroCareer {
    min-height: calc(100svh - 80px);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/assets/images/sections/career.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.heroCareer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.heroCareer h3 {
    font-size: clamp(1.25rem, 2vw + 0.5rem, 2.25rem);
    font-weight: 300;
    margin: 0;
}

.heroCareer h1 {
    font-size: clamp(2.5rem, 5vw + 1rem, 6.75rem);
    font-weight: 500;
    margin: 10px 0;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    background-color: black;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    margin: 0 auto;
    margin-bottom: 40px;
}

.content {
    padding: 40px 20px;
    align-items: center;
    text-align: center;
}

.page-intro {
    text-align: center;
    margin-bottom: 60px;
}

.page-intro h1 {
    color: #ff4c4c;
    margin-bottom: 10px;
}

.page-intro p {
    color: #ccc;
}

.text {
    text-align: center;
    text-decoration: none;
    list-style: none;
}

/* Job Listings */
.job-listings {
    padding: 20px;
    margin-bottom: 60px;
    text-align: center;
}

.job-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.job-listings h2 {
    color: #ff4c4c;
    margin-bottom: 30px;
    font-size: 2em;
}

.job-card {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 76, 76, 0.2);
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(255, 76, 76, 0.2);
}

.job-card h3 {
    color: #ff4c4c;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.job-card .text {
    line-height: 1.6;
}

.disclaimer-card {
    grid-column: span 2;
    text-align: center;
    max-width: 800px;
    margin: 20px auto;
    background-color: #2a2a2a;
}

/* Application Form Section */
.application-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
    border-radius: 8px;
    margin: 40px 0;
}

.application-container {
    max-width: 800px;
    margin: 0 auto;
}

.application-container .thin-title {
    margin-bottom: 10px;
}

.application-container .big-title {
    margin-bottom: 20px;
}

.application-container > .text {
    margin-bottom: 40px;
    color: #cccccc;
}

/* Career Form */
.career-form {
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h3 {
    color: #ff4c4c;
    font-size: 1.5em;
    margin-bottom: 20px;
    font-weight: 500;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 1em;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: #ff4c4c;
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 76, 76, 0.1);
}

.form-control::placeholder {
    color: #999999;
}

/* Select dropdown styling */
select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

select.form-control option {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 10px;
}

/* Textarea */
textarea.form-control {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

/* Form Row (for side-by-side fields) */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Form hints */
.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.875rem;
    color: #999999;
}

/* File Upload Styling */
.file-upload-group {
    position: relative;
}

.file-upload-label {
    display: flex;
    align-items: center;
    padding: 30px;
    border: 2px dashed rgba(255, 76, 76, 0.3);
    border-radius: 8px;
    background-color: rgba(255, 76, 76, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    border-color: #ff4c4c;
    background-color: rgba(255, 76, 76, 0.1);
}

.file-upload-icon {
    font-size: 3em;
    margin-right: 20px;
}

.file-upload-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.file-upload-text strong {
    color: #ffffff;
    font-size: 1.1em;
}

.file-upload-hint {
    color: #999999;
    font-size: 0.9em;
}

.file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.file-name {
    display: block;
    margin-top: 10px;
    font-size: 0.9em;
    color: #4CAF50;
    font-weight: 500;
}

/* Checkbox Styling */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cccccc;
    padding-left: 35px;
    position: relative;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    top: 2px;
    height: 22px;
    width: 22px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ff4c4c;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #ff4c4c;
    border-color: #ff4c4c;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

/* Submit Button */
.submit-group {
    margin-top: 40px;
    text-align: center;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 48px;
    background: linear-gradient(135deg, #ff4c4c 0%, #ff6b6b 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 76, 76, 0.3);
    min-width: 250px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 76, 76, 0.4);
    background: linear-gradient(135deg, #ff6b6b 0%, #ff4c4c 100%);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-icon {
    font-size: 1.3em;
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Hidden class */
.hidden {
    display: none !important;
}

/* Alternative Email Method */
.alternative-method {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.email-requirements {
    text-align: left;
    max-width: 600px;
    margin: 20px auto;
    padding-left: 20px;
}

.email-requirements li {
    margin-bottom: 12px;
    line-height: 1.6;
    list-style-type: disc;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .heroCareer h3 {
        font-size: clamp(1.25rem, 2vw + 0.5rem, 2.25rem);
    }

    .heroCareer h1 {
        font-size: clamp(2.5rem, 5vw + 1rem, 6.75rem);
    }

    .container {
        width: 95%;
    }
}

@media screen and (max-width: 768px) {
    /* Hero */
    #heroCareer {
        flex-direction: column;
        background-position: center;
    }

    .heroCareer h3 {
        font-size: clamp(1.25rem, 2vw + 0.5rem, 2.25rem);
    }

    .heroCareer h1 {
        font-size: clamp(2.5rem, 5vw + 1rem, 6.75rem);
    }

    /* Job Grid */
    .job-grid {
        grid-template-columns: 1fr;
    }

    .disclaimer-card {
        grid-column: span 1;
        max-width: 100%;
    }

    /* Form */
    .career-form {
        padding: 30px 20px;
    }

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

    .file-upload-label {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }

    .file-upload-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .submit-btn {
        width: 100%;
        min-width: auto;
    }

    .text {
        font-size: 16px;
    }

    .content {
        padding: 30px 15px;
    }

    .application-section {
        padding: 40px 15px;
    }
}

@media screen and (max-width: 480px) {
    .heroCareer h1 {
        font-size: clamp(2.5rem, 5vw + 1rem, 6.75rem);
    }

    .job-card {
        padding: 20px;
    }

    .form-section h3 {
        font-size: 1.25em;
    }
}