/* careers.css - Career opportunities page styles */

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 40px 20px;
}

/* Main Container */
.career-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 20px;
}

/* Career Card */
.career-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.career-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* Career Type Badge */
.career-type {
    display: inline-block;
    padding: 6px 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
}

/* Card Title */
.career-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2d3748;
    display: flex;
    align-items: center;
}

.career-card h3 i {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-right: 10px;
}

/* Description */
.career-card p {
    color: #64748b;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Details Section */
.career-card div p {
    display: flex;
    align-items: center;
    margin: 10px 0;
    color: #4a5568;
}

.career-card div p i {
    width: 25px;
    color: #667eea;
    margin-right: 10px;
    font-size: 1.1rem;
}

/* Key Responsibilities Section */
.career-card h4 {
    color: #2d3748;
    font-size: 1.2rem;
    margin: 20px 0 15px;
    position: relative;
    padding-bottom: 8px;
}

.career-card h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* Feature List */
.feature-list {
    list-style: none;
    margin: 15px 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    color: #4a5568;
    font-size: 0.95rem;
}

.feature-list li i {
    color: #667eea;
    margin-right: 12px;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 3px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Why Join Us Section */
.why-join-section {
    margin-top: 60px;
    text-align: center;
    background: white;
    border-radius: 30px;
    padding: 50px 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.why-join-section h3 {
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

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

.benefit-item {
    padding: 30px 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: white;
}

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

.benefit-item i {
    font-size: 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.benefit-item h4 {
    color: #2d3748;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.benefit-item p {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 20px 10px;
    }
    
    .career-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 10px;
    }
    
    .career-card {
        padding: 25px;
    }
    
    .career-card h3 {
        font-size: 1.3rem;
    }
    
    .why-join-section {
        padding: 30px 20px;
        margin-top: 40px;
    }
    
    .why-join-section h3 {
        font-size: 2rem;
    }
    
    .benefits-grid {
        gap: 20px;
    }
    
    .benefit-item {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .career-type {
        font-size: 0.75rem;
    }
    
    .career-card h3 {
        font-size: 1.2rem;
    }
    
    .feature-list li {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .why-join-section h3 {
        font-size: 1.8rem;
    }
    
    .benefit-item i {
        font-size: 2.5rem;
    }
    
    .benefit-item h4 {
        font-size: 1.2rem;
    }
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.career-card:nth-child(2) {
    animation-delay: 0.2s;
}

.career-card:nth-child(3) {
    animation-delay: 0.4s;
}

.career-card:nth-child(4) {
    animation-delay: 0.6s;
}

/* Hover Effects */
.career-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.career-card:hover::before {
    transform: scaleX(1);
}

/* Print Styles */
@media print {
    body {
        background: white;
        padding: 0;
    }
    
    .career-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .btn {
        display: none;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}