/*
 * IMPORTANT: For editing rules and coding guidelines, see AI_documents/Rules/Rules_for_the_AI.txt
 * For project overview and details, see AI_documents/Project_Overview_Doc.txt
 *
 * Production Directory: http://ainspire.ai/css/careers_page.css
 * Development Directory: http://localhost:8000/css/careers_page.css
 *
 * Used in careers page template
 * /templates/careers_page.php
 */

/* Careers Page Specific Styles */

.careers-main {
    position: relative;
    background: #000;
    color: #fff;
}

/* Hero Section */
.careers-hero {
    position: relative;
    min-height: 40vh;
    border-bottom: 0.2px solid #3b82f67d;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgb(59 130 246 / 43%) 0%, rgb(30 64 175 / 8%) 30%, rgb(37 99 235 / 5%) 60%, rgb(247 247 247 / 3%) 100%);
    overflow: hidden;
}

.careers-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.careers-hero-content {
    margin-top:40px;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 0 40px;
}

.careers-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #93c5fd 50%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.careers-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Vision & Values Section */
.careers-vision-section {
    position: relative;
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(37, 99, 235, 0.03) 100%);
    border-bottom: 0.2px solid #3b82f67d;
}

.careers-vision-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.careers-vision-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Value Propositions - Compact Badge Layout */
.value-propositions-compact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 1.5rem 0 2rem 0;
}

.value-badge { 
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, rgba(13, 34, 56, 0.6) 0%, rgba(23, 60, 123, 0.5) 50%, rgba(27, 58, 110, 0.6) 100%);
    padding: 10px 24px;
    border-radius: 24px;
    border: 1px solid rgba(59, 130, 246, 0.35);
    backdrop-filter: blur(20px);
    white-space: nowrap;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(59, 130, 246, 0.15);
    cursor: default;
}

.value-badge:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(18, 36, 66, 0.85) 0%, rgba(30, 64, 175, 0.75) 50%, rgba(18, 29, 52, 0.85) 100%);
    border-color: rgba(59, 130, 246, 0.6);
    color: #dbeafe;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3), inset 0 1px 0 rgba(59, 130, 246, 0.25);
}

.careers-vision-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.careers-vision-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.careers-vision-paragraph {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-align: left;
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    backdrop-filter: blur(10px);
}

/* Job Listings Section */
.careers-listings-section {
    padding: 5rem 0;
    border-bottom: 0.2px solid #3b82f67d;
}

.careers-listings-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.careers-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.careers-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.careers-section-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
}

/* Job Cards */
.careers-jobs-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.careers-job-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: 3rem;
    transition: all 0.3s ease;
}

.careers-job-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

/* Job Header */
.careers-job-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.careers-job-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.careers-job-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.careers-job-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.careers-job-location svg {
    color: rgba(59, 130, 246, 0.8);
}

.careers-job-type {
    padding: 0.4rem 1rem;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Job Description */
.careers-job-description {
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.careers-job-description h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.careers-job-description h3:first-child {
    margin-top: 0;
}

.careers-job-description p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.careers-job-description ul {
    margin-bottom: 1.5rem;
    margin-left: 1.5rem;
}

.careers-job-description li {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Job Footer with Buttons */
.careers-job-footer {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.careers-apply-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid rgba(59, 130, 246, 0.3);
}

.careers-apply-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
}

.careers-email-btn {
    padding: 1rem 2rem;
    background: rgba(59, 130, 246, 0.1);
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid rgba(59, 130, 246, 0.3);
}

.careers-email-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

/* Placeholder for no jobs */
.careers-placeholder {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.careers-placeholder h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.careers-placeholder p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

/* Responsive Design */

/* Tablet */
@media (max-width: 1024px) {
    .careers-vision-section {
        padding: 4rem 0;
    }

    .careers-vision-container {
        padding: 0 1.5rem;
    }

    .careers-vision-title {
        font-size: 2.2rem;
    }

    .careers-vision-paragraph {
        font-size: 1.1rem;
        padding: 1.75rem;
    }

    .value-badge {
        font-size: 1rem;
        padding: 10px 22px;
    }

    .value-propositions-compact {
        gap: 12px;
    }

    .careers-hero-title {
        font-size: 3rem;
    }

    .careers-listings-container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .careers-vision-section {
        padding: 3rem 0;
    }

    .careers-vision-container {
        padding: 0 1rem;
    }

    .careers-hero-content {
        padding: 0 20px;
    }

    .careers-hero-title {
        font-size: 2.5rem;
    }

    .careers-hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .careers-vision-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .careers-vision-text {
        gap: 1.5rem;
    }

    .careers-vision-paragraph {
        font-size: 1rem;
        line-height: 1.7;
        padding: 1.5rem;
        text-align: center;
    }

    .value-badge {
        font-size: 0.95rem;
        padding: 10px 20px;
        flex: 1 1 calc(50% - 8px);
        min-width: 140px;
        max-width: 250px;
    }

    .value-propositions-compact {
        gap: 10px;
        margin: 1rem 0 1.5rem 0;
    }

    .careers-listings-container {
        padding: 0 1rem;
    }

    .careers-section-title {
        font-size: 2rem;
    }

    .careers-section-description {
        font-size: 1.05rem;
    }

    .careers-job-card {
        padding: 2rem;
    }

    .careers-job-title {
        font-size: 1.6rem;
    }

    .careers-job-meta {
        gap: 1rem;
    }

    .careers-job-description h3 {
        font-size: 1.2rem;
    }

    .careers-job-description p,
    .careers-job-description li {
        font-size: 1rem;
    }

    .careers-job-footer {
        flex-direction: column;
    }

    .careers-apply-btn,
    .careers-email-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .careers-placeholder {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .careers-vision-section {
        padding: 2.5rem 0;
    }

    .careers-hero-title {
        font-size: 2rem;
    }

    .careers-vision-title {
        font-size: 1.8rem;
    }

    .careers-vision-paragraph {
        font-size: 0.95rem;
        padding: 1.25rem;
    }

    .value-badge {
        font-size: 0.9rem;
        padding: 8px 18px;
        flex: 1 1 calc(50% - 6px);
        min-width: 130px;
    }

    .value-propositions-compact {
        gap: 8px;
        margin: 0.75rem 0 1.25rem 0;
    }

    .careers-section-title {
        font-size: 1.8rem;
    }

    .careers-section-description {
        font-size: 1rem;
    }

    .careers-job-card {
        padding: 1.5rem;
    }

    .careers-job-title {
        font-size: 1.4rem;
    }

    .careers-job-description h3 {
        font-size: 1.1rem;
        margin-top: 1.5rem;
    }

    .careers-job-description p,
    .careers-job-description li {
        font-size: 0.95rem;
    }

    .careers-apply-btn,
    .careers-email-btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }

    .careers-placeholder {
        padding: 2rem 1rem;
    }

    .careers-placeholder h3 {
        font-size: 1.6rem;
    }

    .careers-placeholder p {
        font-size: 1rem;
    }
}

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

.careers-vision-section {
    animation: fadeInUp 0.6s ease forwards;
}
