:root {
    --color-teal: #0d9488; --color-teal-light: #e0f2f1;
    --color-gold: #d97706; --color-gold-light: #fef3c7;
    --color-coral: #fb7185; --color-coral-light: #ffe4e6;
    
    --bg-body: #fdfdfc;
    --bg-white: #ffffff;
    --text-dark: #334155; --text-heading: #0f172a;
    
    --border-light: #e5e7eb;
    --border-radius-card: 20px;
    --shadow-soft: 0 10px 40px -10px rgba(0,0,0,0.05);
    --shadow-hover: 0 25px 50px -12px rgba(13, 148, 136, 0.15);
    
    --font-head: 'Nunito', sans-serif; --font-body: 'Open Sans', sans-serif;
}

* { box-sizing: border_box; margin: 0; padding: 0; }

html, body {
    position: relative;
}

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--text-heading); font-weight: 800; line-height: 1.2; }
a { text-decoration: none; transition: 0.3s; }
.container { max-width: 1150px; margin: 0 auto; padding: 0 25px; position: relative; z-index: 2; }
.blob-bg { position: absolute; z-index: -1; opacity: 0.05; filter: blur(80px); pointer-events: none; }
.page-header { padding: 80px 0 60px 0; text-align: center; position: relative; }
.page-header h1 { color: var(--text-heading); margin-bottom: 15px; font-size: 3rem; }
.page-header p { max-width: 700px; margin: 0 auto; font-size: 1.15rem; color: #6b7280; }
.header-blob { position: absolute; top: -50%; left: 50%; transform: translateX(-50%); width: 600px; height: 600px; background: var(--color-gold); opacity: 0.04; border-radius: 50%; z-index: -1; filter: blur(80px); }

.vacancy-section { padding: 40px 0 80px 0; }
.vacancy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 40px; }

.vacancy-card {
    background: white; padding: 40px; border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-soft); border: 1px solid var(--border-light);
    transition: 0.3s; display: flex; flex-direction: column; cursor: pointer;
}
.vacancy-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,0.06); border-color: var(--color-teal); }

.vacancy-tag { display: inline-block; background: #f0fdfa; color: var(--color-teal); padding: 6px 12px; border-radius: 20px; font-size: 0.85rem; font-weight: 700; margin-bottom: 15px; width: fit-content; letter-spacing: 0.5px; text-transform: uppercase;}
.vacancy-tag.open { background: #fff7ed; color: var(--color-gold); }
.vacancy-card h3 { font-size: 1.6rem; margin-bottom: 15px; color: var(--text-heading); }
.vacancy-card p { color: #6b7280; margin-bottom: 25px; flex: 1; font-size: 1rem; }
.vacancy-link { font-weight: 800; color: var(--text-heading); display: flex; align-items: center; gap: 8px; margin-top: auto; font-size: 0.95rem; transition: 0.3s; }
.vacancy-link i { color: var(--color-teal); transition: 0.3s; }
.vacancy-card:hover .vacancy-link { color: var(--color-teal); gap: 12px; }

.culture-section { padding: 100px 0; position: relative; background-color: #fff; border-top: 1px solid #f1f5f9; }

.culture-header { text-align: center; max-width: 700px; margin: 0 auto 60px auto; }
.culture-header h2 { font-size: 1.6rem; margin-bottom: 15px; }
.culture-header p { font-size: 1.1rem; color: #64748b; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }

.feature-card {
    background: var(--bg-body); padding: 40px 30px; border-radius: 24px;
    text-align: center; transition: 0.3s; border: 1px solid transparent;
}
.feature-card:hover { background: white; box-shadow: var(--shadow-soft); border-color: var(--border-light); transform: translateY(-5px); }

.feature-icon {
    width: 70px; height: 70px; margin: 0 auto 25px auto;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; transition: 0.3s;
}

.f-teal .feature-icon { background: var(--color-teal-light); color: var(--color-teal); }
.f-gold .feature-icon { background: var(--color-gold-light); color: var(--color-gold); }
.f-coral .feature-icon { background: var(--color-coral-light); color: var(--color-coral); }

.feature-card:hover .feature-icon { transform: scale(1.1); }

.feature-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.feature-card p { font-size: 0.95rem; color: #64748b; line-height: 1.6; }

.modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.85); z-index: 2000; backdrop-filter: blur(8px);
    align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s;
}
.modal-overlay.active { display: flex; opacity: 1; }

.modal-content {
    background: white; width: 90%; max-width: 950px; max-height: 90vh;
    border-radius: 24px; padding: 0; overflow-y: auto; position: relative;
    transform: translateY(30px); transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 25px 60px rgba(0,0,0,0.08); border: 1px solid #e5e7eb;
}
.modal-overlay.active .modal-content { transform: translateY(0); }

.close-modal {
    position: absolute; top: 25px; right: 25px; background: transparent; border: none;
    width: 40px; height: 40px; border-radius: 50%; font-size: 1.8rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center; color: #9ca3af; z-index: 10; transition: 0.2s;
}
.close-modal:hover { background: #f3f4f6; color: var(--text-heading); }

.modal-header { padding: 50px 50px 30px 50px; }
.modal-header h2 { font-size: 2.2rem; color: var(--text-heading); margin-bottom: 15px; }
.modal-tags span { background: #f3f4f6; color: #6b7280; padding: 6px 14px; border-radius: 20px; font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; margin-right: 10px;}

.modal-body { padding: 0 50px 50px 50px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; }
.job-description h3 { font-size: 1.3rem; margin-top: 30px; margin-bottom: 15px; color: var(--text-heading); }
.job-description ul { padding-left: 20px; margin-bottom: 20px; }
.job-description li { margin-bottom: 10px; color: #4b5563; }

.application-form { background: #f8fafc; padding: 35px; border-radius: 20px; border: 1px solid #e5e7eb; height: fit-content; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-weight: 700; margin-bottom: 10px; font-size: 0.9rem; color: var(--text-heading); }
.form-input { width: 90%; padding: 12px 16px; border: 1px solid #e2e8f0; border-radius: 10px; font-family: inherit; background: white; transition: 0.2s; font-size: 1rem; }
.form-input:focus { border-color: var(--color-teal); outline: none; box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.08); }

.file-upload-label { display: block; padding: 20px; background: white; border: 1px dashed #cbd5e1; border-radius: 10px; text-align: center; cursor: pointer; color: #64748b; font-size: 0.9rem; transition: 0.2s; }
.file-upload-label:hover { border-color: var(--color-teal); color: var(--color-teal); background: #f0fdfa; }

.submit-btn { width: 100%; background: var(--color-teal); color: white; padding: 16px; border: none; border-radius: 50px; font-weight: 800; font-size: 1rem; cursor: pointer; margin-top: 15px; transition: 0.2s; }
.submit-btn:hover { background: #0f766e; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(13, 148, 136, 0.2); }

.cta-container-wrapper { padding: 80px 0; position: relative; }
.cta-blob { bottom: -50px; right: -50px; width: 500px; height: 500px; background: var(--color-mint); opacity: 0.15; position: absolute; border-radius: 50%; filter: blur(100px); z-index: 0; }
.cta-bar { background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%); padding: 70px; text-align: center; border-radius: 32px; margin: 0 auto; max-width: 950px; box-shadow: var(--shadow-soft); border: 1px solid white; position: relative; z-index: 2; }
.cta-bar h2 { color: var(--color-teal); margin-bottom: 15px; font-size: 2.4rem; }
.cta-btn { background-color: var(--color-teal); color: white; padding: 16px 50px; font-weight: 800; border-radius: 50px; font-size: 1.1rem; display: inline-block; margin-top: 25px; box-shadow: 0 10px 25px rgba(13, 148, 136, 0.3); transition: 0.3s; }
.cta-btn:hover { transform: translateY(-5px); background-color: #0f766e; }
@media (max-width: 900px) {
    .modal-body { grid-template-columns: 1fr; gap: 40px; padding: 30px; }
    .features-grid { grid-template-columns: 1fr; }
    .nav-menu { display: none; }
    .modal-header { padding: 30px 30px 10px 30px; }
    .logo-img { height: 60px; }
    .page-header h1 { font-size: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .legal-links a { margin: 0 10px; }
}
.form-message { padding: 15px 20px; margin-bottom: 25px; border-radius: 12px; font-weight: 700; font-size: 0.95rem; align-items: center; gap: 10px; }
.msg-error { display: flex; background-color: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; box-shadow: 0 2px 5px rgba(153, 27, 27, 0.05); }

.application-form {
    position: relative;
    overflow: hidden;  
}

.form-lock {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6); 
    backdrop-filter: blur(4px);            
    z-index: 50;
    display: flex; 
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.form-lock.unlocked {
    opacity: 0;
    visibility: hidden;
    pointer-events: none; 
}

.lock-content {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 80%;
}

.lock-content i {
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.lock-content h3 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.lock-content p {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 15px;
}

.btn-small {
    background: var(--color-teal);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

