/* Career Page Styles */
.title-header h2 {
    font-size: 40px;
}

/* Hero Section */
.career-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 120px 0 80px 0;
    overflow: hidden;
}

.career-hero .container {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-content>h1 {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 25px;
    position: relative;
    animation: fadeIn 1s ease-in-out; 
}

.hero-content>h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 70px;
    height: 2px;
    background: var(--primary-color);
    z-index: -1;
    transition: all 0.3s ease;
    animation: underlineExpand 1s ease-out 0.5s both;
}

.hero-content>p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--light-text);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-in-out; 
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.career-hero .cta-button {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.career-hero .cta-button:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Hero Visual Elements */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}



@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes underlineExpand {
    0% {
        width: 0;
    }

    100% {
        width: 70px;
    }
}

/* Why Work Section */
.why-work {
    padding: 60px 0;
    background: #f8f9fa;
}

.why-work-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* 
.why-work-text .title-header {
    text-align: left;
}

.why-work-text .title-decoration{
    justify-content: flex-start;
} */

.why-work-text p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--light-text);
    text-indent: 2em;
}

.why-work-image {
    position: relative;
    height: 400px;
}

.office-image {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.office-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.office-image img:hover {
    transform: scale(1.05);
}

/* Job Openings Section */
.job-openings {
    padding: 60px 0;
}

.openings-header {
    text-align: center;
    margin-bottom: 60px;
}

.openings-header h2 {
    font-size: 36px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
}

.openings-header p {
    font-size: 18px;
    color: var(--light-text);
}

/* Job Status Message */
.job-status-message {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.status-content i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.status-content h3 {
    font-size: 23px;
    font-weight: 400;
    color: var(--light-text);
}

.status-content p {
    font-size: 16px;
    color: var(--light-text);
    margin-bottom: 30px;
    line-height: 1.6;
}

.submit-cv-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-cv-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Job Listings */
.job-listings {
    margin-top: 60px;
}

.filters {
    margin-bottom: 40px;
}

.filter-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 2px solid #e9ecef;
    color: var(--text-color);
    padding: 8px 20px;
    display: flex;
    align-items: center;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.job-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

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

.job-location {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.job-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.view-opening-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-opening-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* Application Process Section */
.application-process {
    padding: 80px 0;
    background: #f8f9fa;
}

.process-content {
    margin: 0 auto;
    text-align: center;
}

.process-title {
    font-size: 36px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 60px;
    position: relative;
}

.process-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
}

/* Timeline Process */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    z-index: 2;
}

.timeline-item.left {
    flex-direction: row;
    padding-right: 50%;
}

.timeline-item.right {
    flex-direction: row-reverse;
    padding-left: 50%;
}

.timeline-node {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: var(--shadow);
    border: 4px solid white;
    transition: all 0.3s ease;
    z-index: 3;
}

.timeline-node .layui-icon{
    font-size: 18px;
}

.timeline-item:hover .timeline-node {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: var(--shadow);
}

.timeline-content {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    max-width: 450px;
    position: relative;
}

.timeline-item.left .timeline-content {
    margin-right: 40px;
}

.timeline-item.right .timeline-content {
    margin-left: 40px;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.timeline-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
}

.timeline-content p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--light-text);
    margin: 0;
}


/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1f9968 0%, #408157 100%);
    padding: 100px 0;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assets/pic/video-3.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
}

.cta-content {
    position: relative;
    z-index: 9;
}

.cta-content h3 {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button .layui-icon {
    font-size: 12px;
}

.cta-button.primary {
    background: #ffffff;
    color: var(--primary-color);
}

.cta-button.primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.cta-button.secondary:hover {
    background: #ffffff;
    color: #1f9968;
    transform: translateY(-2px);
}


/* Responsive Design */
@media (max-width: 1024px) {
    .career-hero .container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .why-work-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-content>h1 {
        font-size: 40px;
    }

    .timeline-container {
        max-width: 100%;
    }

    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .career-hero {
        min-height: 400px;
        padding: 20px 0;
    }

    .hero-content>p {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .why-work,
    .job-openings,
    .application-process,
    .culture-values {
        padding: 40px 0;
    }

    .openings-header h2,
    .process-title,
    .culture-header h2 {
        font-size: 28px;
    }

    .job-status-message {
        padding: 40px 20px;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .timeline-line {
        left: 30px;
        transform: none;
    }

    .timeline-item {
        flex-direction: row !important;
        padding: 0 0 0 30px !important;
        margin-bottom: 20px;
    }

    .timeline-node {
        left: -10px;
        transform: translateY(-50%);
    }

    .timeline-item:hover .timeline-node {
        transform: translateY(-50%) scale(1.1);
    }

    .timeline-content {
        margin: 0 !important;
        max-width: 100%;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .filter-group {
        justify-content: center;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .filter-btn {
        flex-shrink: 0;
    }
    .hero-content>h1 {
        font-size: 26px;
    }

    .hero-visual {
        height: 260px;
    }

    .team-avatars {
        width: 250px;
        height: 250px;
    }

    .avatar {
        width: 60px;
        height: 60px;
    }

    .openings-header h2,
    .process-title,
    .culture-header h2 {
        font-size: 24px;
    }

    .timeline-content {
        padding: 25px 20px;
    }

    .timeline-node {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .hero-visual{
        order: 1;
    }

    .career-hero .container{
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .hero-content{
        max-width: 100%;
        order: 2;
    }

    .hero-content>h1::after{
        left: 50%;
        transform: translateX(-50%);
    }

    .career-hero .cta-button{
        justify-content: center;
        font-size: 14px;
        padding: 10px 20px;
        margin: 0 auto;
    }

    .title-header h2{
        text-align: center;
        font-size: 28px;
        line-height: 35px;
    }
    .title-decoration{
        justify-content: center;
    }
    .decoration-line{
        width: 40px;
        flex: none;
    }
    .decoration-dot{
        width: 10px;
        height: 10px;
    }
    .title-header{
        margin-bottom: 20px;
    }
    .title-header p{
        font-size: 15px;
        text-align: center;
        margin: 10px 0;
    }

    .why-work-text p{
        font-size: 15px;
    }

    .why-work-content{
        gap: 20px;
    }
    .status-content h3{
        font-size: 18px;
    }

    .job-listings{
        margin-top: 30px;
    }
    .filters{
        margin-bottom: 20px;
    }
    .filter-btn{
        font-size: 13px;
        padding: 5px 20px;
    }

    .timeline-line{
        left: 7px;
    }
    .timeline-container{
        padding:0;
    }
    .timeline-content h3{
        font-size: 18px;
    }
    .timeline-content p{
        font-size: 14px;
    }
    .timeline-node .layui-icon{
        font-size: 14px;
    }

    .cta-section{
        padding: 50px 0;
     }
     .cta-content h3{
        font-size: 22px;
        margin-bottom: 10px;
     }
     .cta-content p{
        font-size: 14px;
        margin-bottom: 15px;
     }
     .cta-button{
        padding: 5px 20px;
        font-size: 14px;
     }
     .cta-button .layui-icon{
        font-size: 9px;
     }
     .cta-buttons{
        gap: 15px;
     }
}