/* Career Page CSS */
:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --accent: #e74c3c;
    --success: #2ecc71;
    --warning: #f39c12;
    --info: #1abc9c;
    --light: #ecf0f1;
    --dark: #2c3e50;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
    background-color: var(--primary);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
}

.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.section-title {
    position: relative;
    margin-bottom: 30px;
    font-weight: 600;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Enhanced Benefits Section (Why Work With Us) */
.benefits-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSg1MiwgMTUyLDIxOSwwLjAzKSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
    opacity: 0.3;
    pointer-events: none;
}

.benefit-card {
    border: none;
    border-radius: 25px;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    text-align: center;
    padding: 45px 35px;
    height: 100%;
    background: white;
    position: relative;
    transform: translateY(0);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: left 0.8s ease;
    z-index: 1;
    border-radius: 25px;
}

.benefit-card:hover::before {
    left: 100%;
}

.benefit-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 25px 60px rgba(52, 152, 219, 0.15);
}

.benefit-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--secondary), #0dd9fd);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    font-size: 2.5rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #0dd9fd, var(--secondary));
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.4);
}

.benefit-card h4 {
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.4rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.benefit-card:hover h4 {
    color: var(--secondary);
    transform: translateY(-5px);
}

.benefit-card p {
    color: #6c757d;
    line-height: 1.7;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.benefit-card:hover p {
    color: #495057;
    transform: translateY(2px);
}

/* Careers Section */
.careers-section {
    padding: 80px 0;
}

.job-card {
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: white;
    border-left: 4px solid var(--secondary);
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.job-card-primary {
    border-left-color: var(--secondary);
}

.job-card-success {
    border-left-color: var(--success);
}

.job-card-warning {
    border-left-color: var(--warning);
}

.job-meta-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.1rem;
}

.job-meta-icon.primary {
    background: rgba(52, 152, 219, 0.1);
    color: var(--secondary);
}

.job-meta-icon.success {
    background: rgba(46, 204, 113, 0.1);
    color: var(--success);
}

.job-meta-icon.warning {
    background: rgba(243, 156, 18, 0.1);
    color: var(--warning);
}

.skill-tag {
    display: inline-block;
    background: var(--light);
    color: var(--dark);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    margin-top: 50px;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

/* Enhanced Culture Section (Our Work Culture) */
.culture-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.culture-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.03) 0%, transparent 70%);
    animation: float 25s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.culture-section .container {
    position: relative;
    z-index: 1;
}

.culture-card {
    border: none;
    border-radius: 25px;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    text-align: center;
    padding: 45px 35px;
    height: 100%;
    background: white;
    position: relative;
    transform: translateY(0);
}

.culture-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: left 0.8s ease;
    z-index: 1;
    border-radius: 25px;
}

.culture-card:hover::before {
    left: 100%;
}

.culture-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 25px 60px rgba(52, 152, 219, 0.15);
}

.culture-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--secondary), #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 25px;
    color: white;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
}

.culture-card:hover .culture-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #2980b9, var(--secondary));
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.4);
}

.culture-card h4 {
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.4rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.culture-card:hover h4 {
    color: var(--secondary);
    transform: translateY(-5px);
}

.culture-card p {
    color: #6c757d;
    line-height: 1.7;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.culture-card:hover p {
    color: #495057;
    transform: translateY(2px);
}

/* Enhanced Animation classes for Benefits and Culture sections */
.benefits-section .fade-in,
.culture-section .fade-in {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.benefits-section .fade-in.visible,
.culture-section .fade-in.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Staggered animation delays for benefits */
.benefits-section .fade-in:nth-child(1) { transition-delay: 0.1s; }
.benefits-section .fade-in:nth-child(2) { transition-delay: 0.2s; }
.benefits-section .fade-in:nth-child(3) { transition-delay: 0.3s; }
.benefits-section .fade-in:nth-child(4) { transition-delay: 0.4s; }
.benefits-section .fade-in:nth-child(5) { transition-delay: 0.5s; }
.benefits-section .fade-in:nth-child(6) { transition-delay: 0.6s; }

/* Staggered animation delays for culture */
.culture-section .fade-in:nth-child(1) { transition-delay: 0.1s; }
.culture-section .fade-in:nth-child(2) { transition-delay: 0.2s; }
.culture-section .fade-in:nth-child(3) { transition-delay: 0.3s; }
.culture-section .fade-in:nth-child(4) { transition-delay: 0.4s; }
.culture-section .fade-in:nth-child(5) { transition-delay: 0.5s; }
.culture-section .fade-in:nth-child(6) { transition-delay: 0.6s; }

/* Floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    33% {
        transform: translateY(-20px);
    }
    66% {
        transform: translateY(-10px);
    }
}

/* Glow animation */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 15px 35px rgba(52, 152, 219, 0.08);
    }
    50% {
        box-shadow: 0 20px 45px rgba(52, 152, 219, 0.12);
    }
}

@keyframes cultureGlow {
    0%, 100% {
        box-shadow: 0 15px 35px rgba(52, 152, 219, 0.08);
    }
    50% {
        box-shadow: 0 20px 45px rgba(52, 152, 219, 0.12);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.benefit-glow {
    animation: glow 4s ease-in-out infinite;
}

.culture-glow {
    animation: cultureGlow 4s ease-in-out infinite;
}

.btn-primary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-success {
    background-color: var(--success);
    border-color: var(--success);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: #27ae60;
    border-color: #27ae60;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
    border-color: var(--secondary);
    color: var(--secondary);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--secondary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline-success {
    border-color: var(--success);
    color: var(--success);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-success:hover {
    background-color: var(--success);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.mb-6 {
    margin-bottom: 4rem !important;
}

.mt-6 {
    margin-top: 4rem !important;
}

.divider {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    margin: 2rem auto;
    width: 100px;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 70px 0 20px;
}