
/* Careers page specific styles */

.careers-main {
    padding-top: 100px;
}

/* Careers Hero Section */
.careers-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.careers-hero .hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.careers-hero .hero-content p {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Job Offers Section */
.job-offers {
    padding: 6rem 0;
    background: #f8f9fa;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.job-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.job-card:hover {
    transform: translateY(-5px);
}

.job-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
}

.job-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.job-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.job-type, .job-location {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.job-content {
    padding: 2rem;
}

.job-section {
    margin-bottom: 2rem;
}

.job-section h4 {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid #c53030;
    padding-bottom: 0.5rem;
}

.job-section ul {
    list-style: none;
    padding: 0;
}

.job-section li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: #555;
}

.job-section li:before {
    content: "•";
    color: #c53030;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.job-footer {
    padding: 0 2rem 2rem;
}

.apply-btn {
    width: 100%;
    background: linear-gradient(135deg, #c53030 0%, #a02626 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(197, 48, 48, 0.3);
}

/* Company Benefits */
.company-benefits {
    padding: 6rem 0;
    background: white;
    text-align: center;
}

.company-benefits h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #999;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
}

.close:hover {
    color: #333;
}

.modal-content h2 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    border-radius: 15px 15px 0 0;
}

#application-form {
    padding: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input[type="file"] {
    padding: 0.5rem;
    background: #f8f9fa;
}

.checkbox-label {
    display: flex !important;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-label .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 0.8rem;
    margin-top: 2px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #667eea;
    border-color: #667eea;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 3px;
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #c53030 0%, #a02626 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(197, 48, 48, 0.3);
}

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

/* Active navigation link */
.nav-menu a.active {
    color: #c53030;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .careers-hero .hero-content h1 {
        font-size: 2rem;
    }
    
    .careers-hero .hero-content p {
        font-size: 1.1rem;
    }
    
    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .job-card {
        margin: 0 1rem;
    }
    
    .job-header {
        padding: 1.5rem;
    }
    
    .job-content {
        padding: 1.5rem;
    }
    
    .job-footer {
        padding: 0 1.5rem 1.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 2% auto;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
        padding: 1.5rem;
    }
    
    #application-form {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .careers-main {
        padding-top: 80px;
    }
    
    .careers-hero {
        padding: 2rem 0;
    }
    
    .careers-hero .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .job-offers {
        padding: 3rem 0;
    }
    
    .company-benefits {
        padding: 3rem 0;
    }
    
    .company-benefits h2 {
        font-size: 2rem;
    }
    
    .job-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .job-type, .job-location {
        display: inline-block;
        width: auto;
    }
}

/* Form validation states */
.form-group input.error,
.form-group textarea.error {
    border-color: #e53e3e;
    background: #fef5f5;
}

.form-group input.success,
.form-group textarea.success {
    border-color: #38a169;
    background: #f0fff4;
}

.error-message {
    color: #e53e3e;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: none;
}

.error-message.show {
    display: block;
}

/* Loading states */
.apply-btn.loading,
.submit-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 0.4; }
    100% { opacity: 0.7; }
}

/* Success message */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    border: 1px solid #c3e6cb;
    display: none;
}

.success-message.show {
    display: block;
}

/* Application Form */
.application-form {
    padding: 4rem 0;
    background: #f8f9fa;
}
.application-form h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
}
#applyForm {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
}
.apply-btn {
    background: #c53030;
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}
.apply-btn:hover {
    background: #a02626;
}
.job-filter .filter-buttons{display:flex;justify-content:center;flex-wrap:wrap;gap:1rem;margin:2rem 0;}
.job-filter .filter-btn{background:transparent;border:2px solid #c53030;color:#c53030;padding:0.5rem 1.25rem;border-radius:30px;font-weight:500;cursor:pointer;transition:all .3s ease;text-transform:uppercase;letter-spacing:1px;font-size:0.85rem;}
.job-filter .filter-btn.active,.job-filter .filter-btn:hover{background:#c53030;color:#fff;transform:translateY(-2px);}
