/* ----------------------------------------------------------------------------------------
* Custom CSS for Careers Page
* Based on Proshield Template Color Scheme
* ---------------------------------------------------------------------------------------- */

/* Import Plus Jakarta Sans Font */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables - Proshield Color Scheme */
:root {
    /* Proshield Colors */
    --primary-color: #010535;
    --secondary-color: #F2F2F5;
    --text-color: #707070;
    --accent-color: #4D51AB;
    --accent-secondary-color: #55CEE3;
    --white-color: #FFFFFF;
    --divider-color: #F5F5F5;
    --dark-divider-color: rgba(255, 255, 255, 0.2);
    --error-color: rgb(230, 87, 87);
    
    /* Font */
    --default-font: "Plus Jakarta Sans", sans-serif;
    
    /* Additional derived colors */
    --gradient-primary: linear-gradient(90.15deg, var(--accent-color) 1.15%, var(--accent-secondary-color) 98.84%);
    --gradient-reverse: linear-gradient(90.15deg, var(--accent-secondary-color) 1.15%, var(--accent-color) 98.84%);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--default-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    background: var(--white-color);
    color: var(--text-color);
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar-track {
    background-color: var(--secondary-color);
    border-left: 1px solid var(--secondary-color);
}

::-webkit-scrollbar {
    width: 7px;
    background-color: var(--secondary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 600;
    line-height: 1.2em;
    color: var(--primary-color);
}

p {
    line-height: 1.7em;
    margin-bottom: 1.5em;
}

a {
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

/* Animated Tech Background */
.tech-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 75vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a1035 50%, #151a45 100%);
    z-index: -2;
}

.tech-background::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(90deg, rgba(77, 81, 171, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(77, 81, 171, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

.tech-background::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(77, 81, 171, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(85, 206, 227, 0.08) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Hero Section */
.hero {
    position: relative;
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid var(--dark-divider-color);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
        background: linear-gradient(135deg, rgb(7 7 10) 0%, #00000091 60%), linear-gradient(-45deg, rgba(85, 206, 227, 0.08) 0%, #38363669 50%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-family: var(--default-font);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-secondary-color);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero h1 {
    font-family: var(--default-font);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.hero-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

/* CTA Button */
/*.cta-button {
    display: inline-block;
    position: relative;
    padding: 1rem 3rem;
    background: var(--gradient-primary);
    background-size: 200% auto;
    color: var(--white-color);
    font-family: var(--default-font);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 100px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(77, 81, 171, 0.4);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.cta-button:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(77, 81, 171, 0.6);
}*/

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background: var(--white-color);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: var(--default-font);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 400;
}

/* Search Section */
.search-section {
    background: var(--secondary-color);
    border: 1px solid var(--divider-color);
    border-radius: 30px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 5px 20px rgba(1, 5, 53, 0.08);
}

.search-filters {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 1.5rem;
    align-items: end;
}

.filter-group label {
    display: block;
    font-family: var(--default-font);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: var(--white-color);
    border: 1px solid var(--divider-color);
    border-radius: 10px;
    color: var(--primary-color);
    font-family: var(--default-font);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(77, 81, 171, 0.15);
}

.search-button {
    padding: 0.9rem 2rem;
    background: var(--gradient-primary);
    background-size: 200% auto;
    border: none;
    border-radius: 10px;
    color: var(--white-color);
    font-family: var(--default-font);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-button:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(77, 81, 171, 0.4);
}

/* Job Listings */
.job-listings {
    display: grid;
    gap: 1.5rem;
}

.job-card {
    background: var(--white-color);
    border: 1px solid var(--divider-color);
    border-radius: 30px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(1, 5, 53, 0.06);
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(77, 81, 171, 0.05), transparent);
    transition: left 0.5s ease;
}

.job-card:hover::before {
    left: 100%;
}

.job-card:hover {
    border-color: var(--accent-color);
    transform: translateX(8px);
    box-shadow: 0 10px 30px rgba(77, 81, 171, 0.15);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.job-title-section h3 {
    font-family: var(--default-font);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.job-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.job-meta span::before {
    content: '●';
    color: var(--accent-color);
}

.job-type {
    background: rgba(77, 81, 171, 0.1);
    color: var(--accent-color);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-family: var(--default-font);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(77, 81, 171, 0.2);
}

.job-description {
    color: var(--text-color);
    line-height: 1.8;
    margin: 1.5rem 0;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--divider-color);
}

.job-date {
    font-size: 0.85rem;
    color: var(--text-color);
    font-family: var(--default-font);
}

.apply-link {
    color: var(--accent-color);
    text-decoration: none;
    font-family: var(--default-font);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.apply-link:hover {
    color: var(--accent-secondary-color);
    transform: translateX(5px);
}

.apply-link::after {
    content: '→';
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.apply-link:hover::after {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .search-filters {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 60vh;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .main-content {
        padding: 3rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .search-section {
        border-radius: 20px;
        padding: 2rem;
    }

    .job-card {
        border-radius: 20px;
    }

    .job-header {
        flex-direction: column;
        gap: 1rem;
    }

    .job-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}
