/* Career page styles */
body {
    overflow-y: auto;
    background-color: #f8f9fa;
    color: #333;
}

/* Hero section */
.career-hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: url('https://images.unsplash.com/photo-1497215842964-222b430dc094?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center;
    background-size: cover;
    margin-bottom: 60px;
}

.career-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.career-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    color: #fff;
}

.career-hero-content h1 {
    font-size: 54px;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: fadeInDown 1s ease-out;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to right, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.career-hero-content h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, transparent, #ff0000, transparent);
}

.career-hero-content p {
    font-size: 22px;
    margin-bottom: 35px;
    line-height: 1.7;
    animation: fadeInUp 1s ease-out 0.3s forwards;
    opacity: 0;
    font-weight: 300;
    letter-spacing: 1px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.6s forwards;
    opacity: 0;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

/* Main container */
.career-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

/* Section styling */
section {
    margin-bottom: 80px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 300;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.title-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff0000, transparent);
    margin: 0 auto;
}

/* Intro section */
.intro-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.intro-text {
    max-width: 800px;
    width: 100%;
}

.intro-text.centered {
    text-align: center;
}

.intro-text p {
    margin-bottom: 25px;
    line-height: 1.9;
    color: #333;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.intro-stats {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-item {
    background: linear-gradient(135deg, #fff 0%, #f8f8f8 100%);
    padding: 30px 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #ff0000;
    margin-bottom: 10px;
}

.stat-text {
    font-size: 16px;
    color: #666;
}

/* Benefits section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    color: #ff0000;
    font-size: 32px;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    background: #ff0000;
    color: #fff;
    transform: rotateY(180deg);
}

.benefit-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

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

/* Positions section */
.positions-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.position-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.position-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.position-header {
    padding: 20px;
    background: #f8f8f8;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.position-header h3 {
    font-size: 20px;
    color: #333;
    margin: 0;
}

.position-type {
    background: rgba(255, 0, 0, 0.1);
    color: #ff0000;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.position-details {
    padding: 20px;
}

.position-details p {
    margin-bottom: 10px;
    color: #666;
    line-height: 1.6;
}

.position-details p:last-child {
    margin-top: 20px;
    margin-bottom: 0;
}

.apply-button {
    display: block;
    text-align: center;
    padding: 15px;
    background: #f8f8f8;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-top: 1px solid #eee;
}

.apply-button:hover {
    background: #ff0000;
    color: #fff;
}

/* Testimonials section */
.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    height: 300px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-quote {
    color: #ff0000;
    font-size: 30px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #eee;
    margin-right: 20px;
}

.author-info h4 {
    font-size: 18px;
    margin: 0 0 5px;
    color: #333;
}

.author-info p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #ff0000;
    transform: scale(1.2);
}

/* Application form section */
.application-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.application-info {
    flex: 1;
    min-width: 300px;
}

.application-info h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
}

.process-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.process-steps li {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.process-steps li:last-child {
    margin-bottom: 0;
}

.process-steps li:not(:last-child):after {
    content: '';
    position: absolute;
    left: 20px;
    top: 50px;
    height: calc(100% - 20px);
    width: 2px;
    background: rgba(255, 0, 0, 0.2);
}

.step-number {
    width: 40px;
    height: 40px;
    background: #ff0000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    margin-right: 20px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.step-content {
    padding-top: 5px;
}

.step-content h4 {
    font-size: 18px;
    margin: 0 0 5px;
    color: #333;
}

.step-content p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.application-form {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    min-width: 250px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #ff0000;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

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

.form-group .file-input {
    display: none;
}

.file-upload-label {
    display: block;
    padding: 12px 15px;
    background: #f8f8f8;
    border: 1px dashed #ddd;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    background: #f0f0f0;
    border-color: #ccc;
}

.file-upload-label i {
    margin-right: 10px;
    color: #666;
}

.submit-btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.2);
    margin-top: 20px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}

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

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

/* Mobile responsiveness */
@media (max-width: 991px) {
    .career-hero-content h1 {
        font-size: 42px;
    }
    
    .career-hero-content p {
        font-size: 18px;
    }
    
    .intro-stats {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .career-hero-content h1 {
        font-size: 32px;
    }
    
    .career-hero-content p {
        font-size: 16px;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .intro-stats {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .career-hero-content h1 {
        font-size: 28px;
    }
    
    .career-hero-content p {
        font-size: 14px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-group {
        min-width: 100%;
    }
}
