/* ============================================
   Gitz Green Energy - Premium Application Form
   Modern Design with Animations
   ============================================ */

/* CSS Variables - Premium Design Tokens */
:root {
    /* Brand Colors */
    --primary: #2d5f3f;
    --primary-light: #4a9d6f;
    --primary-dark: #1e4029;
    --accent: #84cc16;
    --accent-light: #a3e635;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2d5f3f 0%, #4a9d6f 100%);
    --gradient-accent: linear-gradient(135deg, #84cc16 0%, #a3e635 100%);
    --gradient-bg: linear-gradient(135deg, #f0fdf4 0%, #ffffff 50%, #ecfdf5 100%);

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Status Colors */
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-green: 0 10px 30px -5px rgba(45, 95, 63, 0.3);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Typography */
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

/* ============================================
   Reset & Base
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--gradient-bg);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ============================================
   Premium Animated Header
   ============================================ */

.page-header {
    background: var(--gradient-primary);
    padding: 2.5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

/* Animated Background Shapes */
.bg-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    top: -150px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    bottom: -100px;
    right: -50px;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    top: 50%;
    right: 10%;
    animation-delay: 10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

/* Decorative Circles */
.deco-circles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: pulse 4s infinite ease-in-out;
}

.circle-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 150px;
    height: 150px;
    bottom: 30%;
    right: 15%;
    animation-delay: 1.5s;
}

.circle-3 {
    width: 80px;
    height: 80px;
    top: 60%;
    left: 80%;
    animation-delay: 3s;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.2;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.4;
    }
}

.header-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.header-logo {
    display: inline-block;
    margin-bottom: 1.25rem;
    animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-logo:hover {
    animation: bounce 0.6s ease;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.header-logo img {
    height: 55px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.header-content {
    color: var(--white);
}

.header-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeInUp 0.8s ease 0.2s both;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-tag i {
    font-size: 1rem;
}

.header-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 900;
    margin: 0 0 0.75rem 0;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease 0.4s both;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #d1fae5 50%, #a3e635 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.2);
    }
}

.header-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    opacity: 0.95;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
    animation: fadeInUp 0.8s ease 0.6s both;
}

/* ============================================
   Side Decorations
   ============================================ */

.side-decorations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.left-deco,
.right-deco {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.left-deco {
    left: 2%;
}

.right-deco {
    right: 2%;
}

.deco-leaf,
.deco-energy {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 95, 63, 0.1);
    border-radius: var(--radius-full);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(45, 95, 63, 0.15);
    animation: floatSide 6s infinite ease-in-out;
}

.deco-leaf i,
.deco-energy i {
    font-size: 1.75rem;
    color: var(--primary);
    opacity: 0.7;
}

.deco-leaf-1,
.deco-energy-1 {
    animation-delay: 0s;
}

.deco-leaf-2,
.deco-energy-2 {
    animation-delay: 2s;
}

.deco-leaf-3,
.deco-energy-3 {
    animation-delay: 4s;
}

@keyframes floatSide {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.7;
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
        opacity: 1;
    }
}

/* ============================================
   Container & Layout
   ============================================ */

.container {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
}

/* ============================================
   Premium Form Card
   ============================================ */

.form-wrapper {
    animation: fadeInUp 0.8s ease 0.8s both;
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-description {
    color: var(--gray-600);
    font-size: 1rem;
}

.required-indicator {
    color: var(--error);
    font-weight: 600;
}

.recruitment-form {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(45, 95, 63, 0.1);
    position: relative;
    overflow: hidden;
}

.recruitment-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

/* ============================================
   Form Groups with Animations
   ============================================ */

.form-group {
    margin-bottom: 1.75rem;
    animation: slideInLeft 0.5s ease both;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.form-row .form-group {
    margin-bottom: 0;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-label {
    display: block;
    margin-bottom: 0.625rem;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9375rem;
    transition: var(--transition-fast);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1.125rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-family: var(--font-sans);
    color: var(--gray-800);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
    border-color: var(--gray-300);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(45, 95, 63, 0.1);
    transform: translateY(-2px);
}

.form-input::placeholder {
    color: var(--gray-400);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   Checkbox & Radio Styles
   ============================================ */

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-top: 0.75rem;
}

.form-checkbox {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: var(--radius-sm);
    border: 2px solid var(--gray-300);
    cursor: pointer;
    transition: var(--transition);
}

.form-checkbox:checked {
    background: var(--gradient-primary);
    border-color: var(--primary);
}

.checkbox-label {
    font-size: 0.9375rem;
    color: var(--gray-600);
    cursor: pointer;
    user-select: none;
}

/* ============================================
   File Upload Premium Design
   ============================================ */

.file-upload-wrapper {
    position: relative;
    margin-top: 0.75rem;
}

.file-upload-area {
    border: 3px dashed var(--gray-300);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: linear-gradient(135deg, rgba(45, 95, 63, 0.02) 0%, rgba(132, 204, 22, 0.03) 100%);
    position: relative;
    overflow: hidden;
}

.file-upload-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(132, 204, 22, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.file-upload-area:hover::before {
    opacity: 1;
}

.file-upload-area:hover {
    border-color: var(--primary);
    border-style: solid;
    background: linear-gradient(135deg, rgba(45, 95, 63, 0.08) 0%, rgba(132, 204, 22, 0.1) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(45, 95, 63, 0.15);
}

.file-upload-area.drag-over {
    border-color: var(--accent);
    border-style: solid;
    background: linear-gradient(135deg, rgba(132, 204, 22, 0.15) 0%, rgba(163, 230, 53, 0.1) 100%);
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(132, 204, 22, 0.2);
}

.file-upload-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(45, 95, 63, 0.25);
    transition: var(--transition);
}

.file-upload-area:hover .file-upload-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(45, 95, 63, 0.35);
}

.file-upload-text {
    font-size: 1.125rem;
    color: var(--gray-800);
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.file-upload-text i {
    color: var(--primary);
    font-size: 1.25rem;
}

.file-upload-hint {
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
    font-weight: 500;
}

.file-upload-hint strong {
    color: var(--gray-700);
}

.file-input {
    display: none;
}

/* File Selected State */
.file-upload-area.has-file {
    border-color: var(--success);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.02) 100%);
}

.file-upload-area.has-file .file-upload-icon {
    background: linear-gradient(135deg, var(--success) 0%, #10b981 100%);
}

/* Loading State */
.file-upload-area.uploading {
    pointer-events: none;
    opacity: 0.7;
}

.file-upload-area.uploading .file-upload-icon {
    animation: rotate 1s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.file-input {
    display: none;
}

/* File Upload Label (The actual clickable upload box) */
.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    border: 3px dashed var(--gray-300);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: linear-gradient(135deg, rgba(45, 95, 63, 0.02) 0%, rgba(132, 204, 22, 0.03) 100%);
    position: relative;
    overflow: hidden;
}

.file-upload-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(132, 204, 22, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.file-upload-label:hover::before {
    opacity: 1;
}

.file-upload-label:hover {
    border-color: var(--primary);
    border-style: solid;
    background: linear-gradient(135deg, rgba(45, 95, 63, 0.08) 0%, rgba(132, 204, 22, 0.1) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(45, 95, 63, 0.15);
}

/* Upload Icon SVG */
.upload-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.25rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-full);
    color: var(--white);
    stroke: var(--white);
    box-shadow: 0 4px 15px rgba(45, 95, 63, 0.25);
    transition: var(--transition);
}

.file-upload-label:hover .upload-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(45, 95, 63, 0.35);
}

/* Upload Text */
.upload-text {
    font-size: 1.125rem;
    color: var(--gray-800);
    font-weight: 700;
    margin-top: 0.5rem;
}

/* File Preview Section */
.file-preview {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 2px solid var(--success);
    border-radius: var(--radius-lg);
    margin-top: 1rem;
    animation: slideInUp 0.3s ease;
}

.file-preview.active {
    display: flex;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* File Name Display */
.file-name {
    flex: 1;
    font-size: 0.9375rem;
    color: var(--gray-800);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.file-name::before {
    content: '📄';
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* File Remove Button */
.file-remove {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--error);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.file-remove:hover {
    background: #dc2626;
    transform: scale(1.1) rotate(90deg);
}

/* Form Hint Below Upload */
.form-hint {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.75rem;
    font-weight: 500;
}

/* Hide upload label when file is selected */
.file-upload-wrapper.has-file .file-upload-label {
    display: none;
}

.file-upload-wrapper.has-file .file-preview {
    display: flex;
}

/* ============================================
   Error Messages
   ============================================ */

.error-message {
    display: block;
    color: var(--error);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-weight: 500;
    animation: shake 0.4s ease;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: var(--error);
    animation: shake 0.4s ease;
}

/* ============================================
   Disclaimer Box
   ============================================ */

.disclaimer-box {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(132, 204, 22, 0.1), rgba(163, 230, 53, 0.05));
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-lg);
    margin: 1.5rem 0;
}

.info-icon {
    flex-shrink: 0;
    color: var(--accent);
}

.disclaimer-text {
    color: var(--gray-700);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.disclaimer-text strong {
    color: var(--gray-900);
    font-weight: 700;
}

/* ============================================
   Submit Button - Premium Animation
   ============================================ */

.form-actions {
    margin-top: 2rem;
}

.btn-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.125rem 2rem;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-xl);
    font-size: 1.125rem;
    font-weight: 700;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-green);
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px -10px rgba(45, 95, 63, 0.4);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-submit:disabled {
    background: var(--gray-300);
    cursor: not-allowed;
    box-shadow: none;
}

.btn-submit:disabled:hover {
    transform: none;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.btn-submit:hover .btn-icon {
    transform: translateX(5px);
}

/* ============================================
   Success Message - Celebration Animation
   ============================================ */

.success-message {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    animation: successPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.success-message.show {
    display: block;
}

@keyframes successPop {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-5deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--success);
    animation: scaleIn 0.6s ease 0.2s both;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-message h3 {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.success-message p {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto 2rem;
    animation: fadeInUp 0.6s ease 0.6s both;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.8s both;
}

.btn-home,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-xl);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-sans);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-home {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-green);
}

.btn-home:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px -8px rgba(45, 95, 63, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    background: var(--gray-50);
    transform: translateY(-3px);
}

/* ============================================
   Back to Home Button
   ============================================ */

.back-home-section {
    margin: 3rem 0;
    text-align: center;
    animation: fadeInUp 0.8s ease 1s both;
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 1.0625rem;
    transition: var(--transition);
    box-shadow: var(--shadow-green);
}

.btn-back-home:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px -10px rgba(45, 95, 63, 0.4);
}

.btn-back-home i {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.btn-back-home:hover i {
    transform: translateX(-5px);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--gray-800);
    color: var(--gray-300);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.footer-col p {
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--gray-400);
}

.footer-contact li i {
    color: var(--accent);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.footer-logo {
    height: 45px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(132, 204, 22, 0.1);
    border-radius: var(--radius-md);
    color: var(--accent);
    font-size: 1.125rem;
    transition: var(--transition);
    text-decoration: none;
}

.footer-socials a:hover {
    background: var(--accent);
    color: var(--gray-900);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--gray-500);
    font-size: 0.9375rem;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
    .side-decorations {
        display: none;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 2rem 1rem;
    }

    .header-logo img {
        height: 45px;
    }

    .header-title {
        font-size: 1.75rem;
    }

    .recruitment-form {
        padding: 1.75rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .success-actions {
        flex-direction: column;
    }

    .btn-home,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .recruitment-form {
        padding: 1.5rem;
        border-radius: var(--radius-xl);
    }

    .form-input,
    .form-select,
    .form-textarea {
        padding: 0.75rem 1rem;
        font-size: 16px;
        /* Prevents zoom on iOS */
    }
}

/* ============================================
   Loading Animation
   ============================================ */

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}