:root {
    --primary-color: #dc2626;
    --primary-hover: #b91c1c;
    --text-main: #1e293b;
    --text-muted: #475569;
    --bg-body: #f1f5f9;
    --bg-surface: #ffffff;
    --border-color: #e2e8f0;
    --error-color: #ef4444;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    background-color: var(--bg-surface);
    padding: 1rem 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-apply-header {
    background-color: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    padding: 0.6rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.2s, transform 0.1s;
    box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.2);
}

.btn-apply-header:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 6px 8px -1px rgba(220, 38, 38, 0.3);
}

.btn-apply-header:active {
    transform: translateY(1px);
}

.logo {
    max-height: 50px;
    width: auto;
    display: block;
}

h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-main);
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.2;
}

.hero {
    background-color: #0f172a;
    background-image: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.8)), url('https://static.wixstatic.com/media/2194bb_5859c8bfcd274ec2895f4aa03c82e626~mv2.jpg');
    background-size: cover;
    background-position: center;
    padding: 6rem 2rem 8rem;
    text-align: center;
    color: #ffffff;
}

.hero h1 {
    color: #ffffff;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-top: 0;
    margin-bottom: 1rem;
}

.hero .hero-subtitle {
    color: #cbd5e1;
    font-size: 1.25rem;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
}

h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

p {
    margin-bottom: 1.25rem;
}

ul {
    padding-left: 1.5rem;
    color: var(--text-main);
    font-weight: 500;
}

ul li {
    margin-bottom: 0.5rem;
}

/* Cards for structured content */
.info-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.info-card h2 {
    margin-top: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.instructions-box {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem 2.5rem;
    margin: 3rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.instructions-box h2 {
    margin-top: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.instructions-box ol {
    padding-left: 1rem;
    margin: 0;
}

.instructions-box li {
    margin-bottom: 3rem;
    color: var(--text-main);
}

.instructions-box li:last-child {
    margin-bottom: 0;
}

.instructions-box img {
    margin-top: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.form-container {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    margin-top: 3rem;
    margin-bottom: 4rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
    margin-top: 0;
    border-bottom: none;
    text-align: center;
    font-size: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-main);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    box-sizing: border-box;
    background-color: #f8fafc;
    transition: all 0.2s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.row {
    display: flex;
    gap: 1.5rem;
}

.col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.error-message {
    color: var(--error-color);
    font-size: 0.85rem;
    display: none;
    margin-top: 0.35rem;
    font-weight: 500;
}

.form-group.error .error-message {
    display: block;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--error-color);
    background-color: #fef2f2;
}

button {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    margin-top: 1rem;
    transition: background-color 0.2s, transform 0.1s;
    box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.2);
}

button:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 6px 8px -1px rgba(220, 38, 38, 0.3);
}

button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px -1px rgba(220, 38, 38, 0.2);
}

button:disabled {
    background-color: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
}

.hidden {
    display: none;
}

#successMessage {
    text-align: center;
    background-color: #f0fdf4;
    color: #166534;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #bbf7d0;
    margin-top: 2rem;
}

#successMessage h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #15803d;
}

#successMessage p {
    margin: 0;
}

@media (max-width: 768px) {
    header {
        padding: 0.75rem 1rem;
    }

    .container {
        padding: 1rem;
    }
    
    .row {
        flex-direction: column;
        gap: 0;
    }
    
    h1 {
        font-size: 1.75rem;
        margin-top: 1rem;
        margin-bottom: 1.5rem;
    }
    
    h2 {
        font-size: 1.25rem;
    }
    
    .info-card, .instructions-box, .form-container {
        padding: 1.5rem;
    }
}
