/* ===================================
   Careers Page Styles
   =================================== */

/* Careers Hero Section */
.careers-hero {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

/* Hero Decorative Shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    top: -250px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    bottom: -150px;
    left: -50px;
    animation: float 15s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #f472b6, #ec4899);
    top: 50%;
    left: 50%;
    animation: float 18s ease-in-out infinite;
}

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

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Hero Title */
.careers-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Hero Subtitle */
.careers-subtitle {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 25px 30px;
    border-radius: 20px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
}

/* Hero Buttons */
.btn-hero-primary {
    background: white;
    color: #6366f1;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: #6366f1;
}

.btn-hero-secondary {
    background: transparent;
    color: white;
    padding: 16px 32px;
    border: 2px solid white;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: white;
    color: #6366f1;
    transform: translateY(-3px);
}

/* Hero Visual Cards */
.hero-visual {
    position: relative;
    height: 500px;
}

.visual-card {
    position: absolute;
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    z-index: 2;
}

.visual-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    flex-shrink: 0;
}

.card-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 5px 0;
}

.card-content p {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
}

.card-development {
    top: 50px;
    left: 0;
    animation: float 6s ease-in-out infinite;
}

.card-development .card-icon {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.card-design {
    top: 50px;
    right: 0;
    animation: float 6s ease-in-out infinite 1.5s;
}

.card-design .card-icon {
    background: linear-gradient(135deg, #ec4899, #d946ef);
}

.card-marketing {
    bottom: 120px;
    left: 50px;
    animation: float 6s ease-in-out infinite 3s;
}

.card-marketing .card-icon {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.card-innovation {
    bottom: 120px;
    right: 50px;
    animation: float 6s ease-in-out infinite 4.5s;
}

.card-innovation .card-icon {
    background: linear-gradient(135deg, #10b981, #34d399);
}

/* Hero Circles */
.hero-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 20s linear infinite;
}

.circle-2 {
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 30s linear infinite reverse;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Breadcrumb */
.hero-breadcrumb {
    margin-bottom: 30px;
}

.hero-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.hero-breadcrumb .breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
}

.hero-breadcrumb .breadcrumb-item a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.hero-breadcrumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}

.hero-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

/* Benefit Cards */
.benefit-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.benefit-card h3 {
    font-size: 1.25rem;
    color: #2d3748;
}

/* Job Accordion */
.job-accordion-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.job-accordion-item:hover {
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
}

.job-accordion-button {
    width: 100%;
    padding: 25px 30px;
    background: white;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.job-accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.job-accordion-button:not(.collapsed) .job-title,
.job-accordion-button:not(.collapsed) .job-type {
    color: white;
}

.job-title {
    font-size: 1.5rem;
    color: #2d3748;
    margin: 0;
}

.job-type {
    font-size: 0.9rem;
    color: #718096;
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.job-accordion-button:not(.collapsed) .toggle-icon {
    transform: rotate(180deg);
}

.job-accordion-body {
    padding: 30px;
    background: #f7fafc;
}

.job-requirements {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-requirements li {
    padding: 10px 0;
    font-size: 1rem;
    color: #4a5568;
}

/* Internship Cards */
.internship-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.internship-card:hover {
    transform: translateY(-5px);
    border-color: #667eea;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
}

.internship-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #667eea;
}

.internship-card h3 {
    font-size: 1.1rem;
    color: #2d3748;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 40px;
    bottom: 40px;
    width: 3px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
}

.timeline-item {
    position: relative;
    padding-left: 100px;
    margin-bottom: 50px;
}

.timeline-number {
    position: absolute;
    left: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.timeline-content {
    background: white;
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: #2d3748;
}

/* Life at Company Card */
.life-at-company-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px;
    border-radius: 20px;
    color: white;
}

.life-at-company-card h3 {
    color: white;
}

.highlight-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Application Form */
.application-form-card {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.career-form .form-control,
.career-form .form-select {
    padding: 12px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 1rem;
    height: auto;
}

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

.career-form .form-label {
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.divider {
    position: relative;
    text-align: center;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: #e2e8f0;
}

.divider span {
    background: white;
    padding: 0 20px;
    position: relative;
    color: #a0aec0;
    font-weight: 600;
}

.contact-link {
    display: inline-block;
    margin: 10px 20px;
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #764ba2;
    transform: translateX(5px);
}

/* Buttons */
.btn-primary-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 35px;
    border: none;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
}

/* Custom Select Dropdown */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select {
    position: relative;
    width: 100%;
    user-select: none;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    min-height: 48px;
}

.custom-select-trigger:hover {
    border-color: #cbd5e0;
}

.custom-select.active .custom-select-trigger {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.custom-select-value {
    color: #2d3748;
    flex: 1;
}

.custom-select-value.placeholder {
    color: #a0aec0;
}

.custom-select-arrow {
    font-size: 0.875rem;
    color: #667eea;
    transition: transform 0.3s ease;
}

.custom-select.active .custom-select-arrow {
    transform: rotate(180deg);
}

.custom-select-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 0;
    overflow: hidden;
}

.custom-select.active .custom-select-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 400px;
}

.custom-select-search {
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f7fafc;
    border-radius: 10px 10px 0 0;
}

.custom-select-search i {
    color: #667eea;
    font-size: 0.875rem;
}

.custom-select-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.9rem;
    color: #2d3748;
    padding: 4px 0;
}

.custom-select-search-input::placeholder {
    color: #a0aec0;
}

.custom-select-options {
    max-height: 280px;
    overflow-y: auto;
    padding: 8px 0;
}

.custom-select-options::-webkit-scrollbar {
    width: 6px;
}

.custom-select-options::-webkit-scrollbar-track {
    background: #f7fafc;
    border-radius: 10px;
}

.custom-select-options::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 10px;
}

.custom-select-options::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

.custom-select-option {
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    color: #2d3748;
    display: flex;
    align-items: center;
}

.custom-select-option:hover {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.05) 100%);
    padding-left: 20px;
}

.custom-select-option.selected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
}

.custom-select-option.selected i {
    color: white;
}

.custom-select-option.hidden {
    display: none;
}

.custom-select-option i {
    color: #667eea;
    font-size: 0.875rem;
}

.custom-select-option:first-child {
    color: #a0aec0;
    font-style: italic;
}

.custom-select-option:first-child:hover {
    background: #f7fafc;
    padding-left: 16px;
}

/* Custom Select - No Results */
.custom-select-no-results {
    padding: 20px;
    text-align: center;
    color: #a0aec0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 991px) {
    .careers-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-divider {
        display: none;
    }
    
    .stat-item {
        flex: 1 1 30%;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .visual-card {
        padding: 20px;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .card-content h4 {
        font-size: 1rem;
    }
    
    .card-content p {
        font-size: 0.8rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .timeline-item {
        padding-left: 80px;
    }
}

@media (max-width: 767px) {
    .careers-hero {
        padding: 100px 0 60px;
    }
    
    .careers-title {
        font-size: 2.5rem;
    }
    
    .careers-subtitle {
        font-size: 1rem;
    }
    
    .hero-badge {
        font-size: 0.85rem;
        padding: 8px 16px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    
    .stat-item {
        flex: 1 1 100%;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
    
    .hero-visual {
        display: none;
    }
    
    .shape-1,
    .shape-2,
    .shape-3 {
        opacity: 0.05;
    }
    
    .application-form-card {
        padding: 30px 20px;
    }
    
    .job-title {
        font-size: 1.2rem;
    }
    
    .timeline-item {
        padding-left: 70px;
        margin-bottom: 30px;
    }
    
    .timeline-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .timeline::before {
        left: 25px;
    }
}
