/* Careers Page Specific Styles */

/* Careers Hero Section */
.careers-hero {
    background: linear-gradient(135deg, #ff3366, #ff9966);
    padding: 120px 0 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.nav-links .active {
    color: #ff3366;
    font-weight: 600;
}

.careers-hero-content {
    position: relative;
    z-index: 2;
}

.careers-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.careers-hero p {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp 1s ease 0.2s both;
}

/* Why Join Us Section */
.why-join-us {
    background: #f8f9fa;
}

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

.benefit-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #ff3366;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff3366, #ff9966);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

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

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

/* Job Openings Section */
.job-openings {
    background: white;
}

.jobs-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0 3rem;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid #e1e5e9;
    background: white;
    color: #666;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #ff3366, #ff9966);
    /* border-color: #ff3366; */
    color: white;
}

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

.job-card {
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ff3366, #ff6b9d);
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #ff3366;
}

.job-header {
    margin-bottom: 1.5rem;
}

.job-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

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

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.job-meta-item i {
    color: #ff3366;
}

.job-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.job-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.skill-tag {
    background: #f8f9fa;
    color: #666;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid #e1e5e9;
}

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

.btn-view-details {
    flex: 1;
    background: transparent;
    color: #ff3366;
    border: 2px solid #ff3366;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
}

.btn-view-details:hover {
    background: linear-gradient(135deg, #ff3366, #ff9966);
    color: white;
}

.btn-apply-now {
    flex: 1;
    background: linear-gradient(135deg, #ff3366, #ff9966);
    color: white;
    border: 1px solid #ff3366;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
}

.btn-apply-now:hover {
    background: linear-gradient(135deg, #ff3366, #ff9966);
    border-color: #e02e5a;
}

/* Job Application Section */
.job-application {
    background: #f8f9fa;
}

.application-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.application-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.application-info p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.application-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.application-benefit {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.application-benefit path {
    color: #ff3366;
    font-size: 1.2rem;
}

.application-benefit span {
    color: #666;
    font-weight: 500;
}

.application-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.application-form-container h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

/* File Upload Styling */
.file-upload-container {
    position: relative;
    margin-bottom: 0.5rem;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border: 2px dashed #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.file-upload-label:hover {
    border-color: #ff3366;
    background: #fff5f7;
}

.file-upload-label i {
    font-size: 2rem;
    color: #ff3366;
    margin-bottom: 0.5rem;
}

.file-upload-text {
    color: #666;
    font-weight: 500;
}

.file-upload-info {
    display: none;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: #e8f5e8;
    border-radius: 5px;
    border-left: 3px solid #28a745;
}

.file-upload-info.show {
    display: block;
}

.file-name {
    font-weight: 600;
    color: #333;
}

.file-size {
    color: #666;
    font-size: 0.9rem;
    margin-left: 1rem;
}

.form-help {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Alert Styles */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: none;
}

.alert.show {
    display: block;
}

.alert.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Back to Top Button Show Class */
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

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

.job-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.job-modal-content {
    background: white;
    border-radius: 15px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.job-modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e1e5e9;
    position: relative;
}

.job-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.job-modal-close:hover {
    background: #f8f9fa;
    color: #333;
}

.job-modal-body {
    padding: 2rem;
}

.job-requirements,
.job-responsibilities {
    margin-bottom: 2rem;
}

.job-requirements h4,
.job-responsibilities h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.job-requirements ul,
.job-responsibilities ul {
    list-style: none;
    padding: 0;
}

.job-requirements li,
.job-responsibilities li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: #666;
    line-height: 1.6;
}

.job-requirements li::before,
.job-responsibilities li::before {
    content: '✓';
    color: #ff3366;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}
.job-modal-skills{
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .careers-hero {
        padding: 100px 0 60px;
    }
    
    .careers-hero h1 {
        font-size: 2.5rem;
    }
    
    .careers-hero p {
        font-size: 1.1rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefit-card {
        padding: 2rem;
    }
    
    .jobs-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .jobs-grid {
        grid-template-columns: 1fr;
    }
    
    .application-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .application-form-container {
        padding: 2rem;
    }
    
    .job-actions {
        flex-direction: column;
    }
    .job-modal-skills{
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .careers-hero h1 {
        font-size: 2rem;
    }
    
    .careers-hero p {
        font-size: 1rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
    
    .job-card {
        padding: 1.5rem;
    }
    
    .application-form-container {
        padding: 1.5rem;
    }
    
    .job-modal-content {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }
    
    .job-modal-header,
    .job-modal-body {
        padding: 1.5rem;
    }

    .job-modal-skills{
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.job-card {
    animation: fadeInUp 0.6s ease forwards;
}

.job-card:nth-child(1) { animation-delay: 0.1s; }
.job-card:nth-child(2) { animation-delay: 0.2s; }
.job-card:nth-child(3) { animation-delay: 0.3s; }
.job-card:nth-child(4) { animation-delay: 0.4s; }
